I _think_ this goes here. I sure as heck can't figure out what is going on. I am trying to get the DBD:pg module compiled so I can have access to Postgres through perl. It is not compiling correctly for me.
Any help would be appreciated. I included as much info as I could think of if you need more let me know.. Thanks Sean [localhost:~/Desktop/DBD-Pg-1.01] sean% perl Makefile.PL Configuring Pg Remember to actually read the README file ! OS: darwin Using DBI 1.20 installed in /Library/Perl/darwin/auto/DBI Checking if your kit is complete... Looks good Writing Makefile for DBD::Pg [localhost:~/Desktop/DBD-Pg-1.01] sean% make mkdir blib mkdir blib/lib mkdir blib/lib/DBD mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/DBD mkdir blib/arch/auto/DBD/Pg mkdir blib/lib/auto mkdir blib/lib/auto/DBD mkdir blib/lib/auto/DBD/Pg mkdir blib/man3 cp Pg.pm blib/lib/DBD/Pg.pm cp dbd-pg.pod blib/lib/DBD/dbd-pg.pod /usr/bin/perl -I/System/Library/Perl/darwin -I/System/Library/Perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/Library/Perl/ExtUtils/typemap Pg.xs > Pg.xsc && mv Pg.xsc Pg.c cc -c -I/Volumes/big/usr/local/pgsql/include/ -I/Library/Perl/darwin/auto/DBI -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"1.01\" -Dc cc: -flat_namespace: linker input file unused since linking not done cc -c -I/Volumes/big/usr/local/pgsql/include/ -I/Library/Perl/darwin/auto/DBI -g -pipe -pipe -fno-common -no-cpp-precomp -flat_namespace -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -O3 -DVERSION=\"1.01\" -Dc dbdimp.c: In function `dbd_st_execute': dbdimp.c:1118: warning: passing arg 2 of `Perl_sv_2pv' from incompatible pointer type cc: -flat_namespace: linker input file unused since linking not done Running Mkbootstrap for DBD::Pg () chmod 644 Pg.bs LD_RUN_PATH="/usr/local/pgsql/lib" cc -o blib/arch/auto/DBD/Pg/Pg.bundle -bundle -flat_namespace -undefined suppress Pg.o dbdimp.o -L/usr/local/pgsql/lib -lpq /usr/bin/ld: table of contents for archive: /usr/local/pgsql/lib/libpq.a is out of date; rerun ranlib(1) (can't load from it) make: *** [blib/arch/auto/DBD/Pg/Pg.bundle] Error 1 [localhost:~/Desktop/DBD-Pg-1.01] sean% MacOS X v10.1.1 DBI v1.20 DBD::pg -- 1.0.1 (actually i get about the same error in v1.00 and v.99 Postgres 7.1.3 ---- [localhost:local/pgsql/lib] sean% perl -v This is perl, v5.6.0 built for darwin Copyright 1987-2000, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5.0 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. [localhost:local/pgsql/lib] sean%
