Re: [HACKERS] contrib compilation probs

2003-08-14 Thread Kevin Brown
Peter Eisentraut wrote: > Tom Lane writes: > > > I was afraid it was something like that. Can we leave the directory > > structure as-is and just make the .o (and .d) files get built in the > > upper directory, that is > > gcc ... -o english_stem.o snowball/english_stem.c > > That will fail

Re: [HACKERS] contrib compilation probs

2003-08-04 Thread Christopher Kings-Lynne
> > That will fail for a more basic reason: not all compilers support the -o > > option. > > I added sub-Makefiles. Christopher, try now, pls. Works perfectly. Thanks. Chris ---(end of broadcast)--- TIP 8: explain analyze is your friend

Re: [HACKERS] contrib compilation probs

2003-08-04 Thread Teodor Sigaev
Peter Eisentraut wrote: Tom Lane writes: I was afraid it was something like that. Can we leave the directory structure as-is and just make the .o (and .d) files get built in the upper directory, that is gcc ... -o english_stem.o snowball/english_stem.c That will fail for a more basic

Re: [HACKERS] contrib compilation probs

2003-08-01 Thread Peter Eisentraut
Tom Lane writes: > I was afraid it was something like that. Can we leave the directory > structure as-is and just make the .o (and .d) files get built in the > upper directory, that is > gcc ... -o english_stem.o snowball/english_stem.c That will fail for a more basic reason: not all compi

Re: [HACKERS] contrib compilation probs

2003-08-01 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > These files are created when --enable-depend is on. The problem appears > to be that the Makefile is trying to create files in a directory not its > own. You cannot do that; it creates all kinds of problems in complex > installation setups. I was af

Re: [HACKERS] contrib compilation probs

2003-08-01 Thread Peter Eisentraut
Tom Lane writes: > > gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPI > > C -I. -I. -I./snowball -I./ispell -I./wordparser -I../../src/include -c -o > > snowball/english_stem.o snowball/english_stem.c -MMD > > cp: snowball/english_stem.d: No such file or directory > >

Re: [HACKERS] contrib compilation probs

2003-07-31 Thread Christopher Kings-Lynne
> > Hmmm...looks like on my system english_stem.d is created in the tsearch2 > > dir, NOT in the snowball subdir. > > I see no english_stem.d at all. I speculate that this is a temp file > created during the gcc run, and that your gcc driver is brain-damaged > about compiling files that aren't in

Re: [HACKERS] contrib compilation probs

2003-07-31 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPI > > -I. -I. -I./snowball -I./ispell -I./wordparser -I../../src/include -c -o > snowball/english_stem.o snowball/english_stem.c -MMD > cp: snowball/english_stem.d:

Re: [HACKERS] contrib compilation probs

2003-07-31 Thread Christopher Kings-Lynne
> > gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -DPI > > -I. -I. -I./snowball -I./ispell -I./wordparser -I../../src/include -c -o > > snowball/english_stem.o snowball/english_stem.c -MMD > > cp: snowball/english_stem.d: No such file or directory > > gmake[1]: *** [snow

Re: [HACKERS] contrib compilation probs

2003-07-31 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > I didn't see any probs with the ones you fixed, but I see this: > prs_dcfg.c: In function `parse_cfgdict': > prs_dcfg.c:65: warning: int format, different type arg (arg 2) > prs_dcfg.c:78: warning: int format, different type arg (arg 2) > prs

Re: [HACKERS] contrib compilation probs

2003-07-31 Thread Christopher Kings-Lynne
> Fixed, I think. Give it another try. I didn't see any probs with the ones you fixed, but I see this: gmake[1]: Entering directory `/home/chriskl/pgsql-temp/contrib/tsearch2' sed 's,DATA_PATH,/home/chriskl/local/share/postgresql,g' < tsearch.sql._in > tsearch2.sql.in sed 's,MODULE_PATHNAME,$lib

Re: [HACKERS] contrib compilation probs

2003-07-31 Thread Tom Lane
"Christopher Kings-Lynne" <[EMAIL PROTECTED]> writes: > I just tried compiling all contribs on freebsd/alpha, and I saw these > issues: Fixed, I think. Give it another try. regards, tom lane ---(end of broadcast)--- TIP 6:

[HACKERS] contrib compilation probs

2003-07-23 Thread Christopher Kings-Lynne
I just tried compiling all contribs on freebsd/alpha, and I saw these issues: gmake[1]: Entering directory `/home/chriskl/pgsql-temp/contrib/pgstattuple' sed 's,MODULE_PATHNAME,$libdir/pgstattuple,g' pgstattuple.sql.in >pgstattuple.sql gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarati