Обсуждение: 7.1 on Darwin --with-plperl
I'm having a small problem compiling PostgreSQL 7.1 on Darwin (Mac OS X
10.0.1), if anybody has an idea how to solve it I would be most
appreciative. Thanks! brian@megapump.com
tar -xvzf postgresql-7.1.tar.gz
cd postgresql-7.1
./configure --with-perl
gnumake
--------------------------------------------------
<SNIP>
plperl_installdir='/usr/local/pgsql/lib' \
EXTRA_INCLUDES='-I../../../src/include' \
perl Makefile.PL
Writing Makefile for plperl
gnumake -f Makefile all
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/plperl
mkdir blib/lib/auto
mkdir blib/lib/auto/plperl
cc -c -I../../../src/include -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -I/System/Library/Perl/darwin/CORE plperl.c
../../../src/include/catalog/pg_type.h:172: stray '\' in program
../../../src/include/catalog/pg_type.h:176: stray '\' in program
../../../src/include/catalog/pg_type.h:180: stray '\' in program
<SNIP>
../../../src/include/catalog/pg_type.h:405: stray '\' in program
../../../src/include/catalog/pg_type.h:408: stray '\' in program
../../../src/include/catalog/pg_type.h:413: stray '\' in program
/System/Library/Perl/darwin/CORE/perl.h:2027: warning: redefinition of
macro DEBUG
../../../src/include/utils/elog.h:23: warning: this is the location of
the previous definition
cc -c -I../../../src/include -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -I/System/Library/Perl/darwin/CORE eloglvl.c
/usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl
/System/Library/Perl/ExtUtils/xsubpp -typemap
/System/Library/Perl/ExtUtils/typemap SPI.xs > SPI.xsc && mv SPI.xsc
SPI.c
cc -c -I../../../src/include -g -pipe -pipe -fno-common
-DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"0.10\"
-DXS_VERSION=\"0.10\" -I/System/Library/Perl/darwin/CORE SPI.c
../../../src/include/catalog/pg_type.h:172: stray '\' in program
../../../src/include/catalog/pg_type.h:176: stray '\' in program
../../../src/include/catalog/pg_type.h:180: stray '\' in program
<SNIP>
../../../src/include/catalog/pg_type.h:405: stray '\' in program
../../../src/include/catalog/pg_type.h:408: stray '\' in program
../../../src/include/catalog/pg_type.h:413: stray '\' in program
/System/Library/Perl/darwin/CORE/perl.h:2027: warning: redefinition of
macro DEBUG
../../../src/include/utils/elog.h:23: warning: this is the location of
the previous definition
Running Mkbootstrap for plperl ()
chmod 644 plperl.bs
LD_RUN_PATH="" cc -o blib/arch/auto/plperl/plperl.bundle -bundle
-undefined suppress plperl.o eloglvl.o SPI.o
/System/Library/Perl/darwin/auto/Opcode/Opcode.bundle
-L/System/Library/Perl/darwin/CORE -lperl
/usr/bin/ld: /System/Library/Perl/darwin/auto/Opcode/Opcode.bundle is
input for the dynamic link editor, is not relocatable by the static link
editor again
gnumake[4]: *** [blib/arch/auto/plperl/plperl.bundle] Error 1
gnumake[3]: *** [all] Error 2
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
Hi I am trying to get the latest copy of the source from cvs, unfortunately the main web-site seems to be going through some changes. The link to the cvs information seems to be broken on the main site, and all of the mirrors. Can someone tell me the cvsroot, user, and password to get a copy of the source from the respository? Dave