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
> > 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
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
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
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
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
> >
> > 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
"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:
> >
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
"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
> 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
"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:
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
13 matches
Mail list logo