| From: | Jeremy Smith <jeremy(at)softmagic(dot)co(dot)uk> | 
|---|---|
| To: | pgsql-general(at)postgresql(dot)org | 
| Subject: | Error in building perl interface | 
| Date: | 2002-11-05 03:02:37 | 
| Message-ID: | 0A01B356-F06B-11D6-A5A5-00050277BAF4@softmagic.co.uk | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-general | 
System Mac running OSX 10.2.1 perl, v5.6.0 built for darwin
Trying to build the 7.2.3 Perl interface in src/interfaces/perl5
I first ran ./configure --with-perl.
Then I went into the src/interfaces/perl5 and ran perl Makefile,pl 
which seemed to work OK, but when I ran make it gave me the error 
message:
make[1]: *** No rule to make target `/Pg.pm', needed by `pm_to_blib'.  
Stop.
I have seen references to this before, but could not find an 
explanation?
output from make:
[Jeremy-Smiths-Computer:src/interfaces/perl5] jeremy% perl Makefile.pl
Checking if your kit is complete...
Looks good
Writing Makefile for Pg
[Jeremy-Smiths-Computer:src/interfaces/perl5] jeremy% make
make -C ../../../src/interfaces/libpq all
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o fe-auth.o fe-auth.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o fe-connect.o fe-connect.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o fe-exec.o fe-exec.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o fe-misc.o fe-misc.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o fe-print.o fe-print.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o fe-lobj.o fe-lobj.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o pqexpbuffer.o pqexpbuffer.c
rm -f dllist.c && ln -s ../../../src/backend/lib/dllist.c .
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o dllist.o dllist.c
rm -f md5.c && ln -s ../../../src/backend/libpq/md5.c .
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o md5.o md5.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -I. -I../../../src/include  -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o pqsignal.o pqsignal.c
ar cr libpq.a `lorder fe-auth.o fe-connect.o fe-exec.o fe-misc.o 
fe-print.o fe-lobj.o pqexpbuffer.o dllist.o md5.o pqsignal.o | tsort`
tsort: cycle in data
tsort: fe-connect.o
tsort: fe-exec.o
tsort: cycle in data
tsort: fe-auth.o
tsort: fe-connect.o
ranlib libpq.a
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
-Wmissing-declarations  -flat_namespace -bundle -undefined suppress 
fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o 
pqexpbuffer.o dllist.o md5.o pqsignal.o       -o libpq.so.2.2
rm -f libpq.so.2
ln -s libpq.so.2.2 libpq.so.2
rm -f libpq.so
ln -s libpq.so.2.2 libpq.so
make -f Makefile all VPATH=
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Pg
mkdir blib/lib/auto
mkdir blib/lib/auto/Pg
mkdir blib/man3
make[1]: *** No rule to make target `/Pg.pm', needed by `pm_to_blib'.  
Stop.
make: *** [all] Error 2
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sonia Sánchez Díaz | 2002-11-05 03:54:50 | About lower and uppercase | 
| Previous Message | Benjamin Scherrey | 2002-11-05 02:07:55 | Building Postgres under Cygwin |