Thu Oct 6 07:58:47 PDT 2005
- Previous message: [Slony1-general] Slony RPM issue
- Next message: [Slony1-general] Slony RPM issue
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Devrim, all I can think of: does the $(wildcard *.pl) $(wildcard *.pm) really expand to include slon-tools.pm ? It just strikes me that it is the only .pm file, and the only @@ symbols it contains are for PGBINDIR, so they're the only example of what's not being expanded. Is it possible throw a bogus line like: # make this perl -> @@PERL@@ or some such in to test if that gets expanded? Or reverse the wildcard order? I'm not set up to build slony from CVS yet... working on it now. Regards, Philip. On Thu, 6 Oct 2005 04:25 pm, Devrim GUNDUZ wrote: > Hi, > > On Wed, 5 Oct 2005, elein wrote: > > Generally a short sed (or perl if you like) script will fix > > these up. But it is really pretty obscure trail for people > > to find the exact problem. > > The problem arises here I think but I could not find it. This is a part or > tools/altperl/Makefile: > > @for file in $(wildcard *.pl) $(wildcard *.pm); do \ > tmpname=`echo $$file | $(SED) "s#\.p[lm]##"` ; \ > $(SED) -e "s#@@PERL@@#$(PERL)#;" \ > -e "s#@@SYSCONFDIR@@#$(sysconfdir)#;" \ > -e "s#@@PGLIBDIR@@#$(pglibdir)#;" \ > -e "s#@@PGBINDIR@@#$(pgbindir)#;" \ > -e "s#@@TOOLSBIN@@#$(toolsbin)#;" \ > $$file > $$tmpname; \ > chmod 755 $$tmpname; \ > done > > However only the @@PGBINDIR@@ in slon-tools.pm is left unchanged. Can > anyone see the reason? > > Regards, > -- > Devrim GUNDUZ > Kivi Bili?im Teknolojileri - http://www.kivi.com.tr > devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr > http://www.gunduz.org > ----------------- > Utiba Pty Ltd > This message has been scanned for viruses and > dangerous content by Utiba mail server and is > believed to be clean. -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ----------------- Utiba Pty Ltd This message has been scanned for viruses and dangerous content by Utiba mail server and is believed to be clean.
- Previous message: [Slony1-general] Slony RPM issue
- Next message: [Slony1-general] Slony RPM issue
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list