Error in building perl interface - Mailing list pgsql-general

From Jeremy Smith
Subject Error in building perl interface
Date
Msg-id 0A01B356-F06B-11D6-A5A5-00050277BAF4@softmagic.co.uk
Whole thread Raw
List 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


pgsql-general by date:

Previous
From: Benjamin Scherrey
Date:
Subject: Building Postgres under Cygwin
Next
From: Sonia Sánchez Díaz
Date:
Subject: About lower and uppercase