I have postgres 7.2.1
perl -v says:
This is perl, v5.6.1 built for i386-linux
Copyright 1987-2001, 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 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.
perl -V says:
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.2,
archname=i386-linux uname='linux grommet 2.4.2 #1 smp sun feb 25 16:33:33 pst 2001 i686
unknown ' config_args='-de -Dprefix=/usr -Darchname=i386-linux
-Dprivlib=/usr/lib/perl5 -Darchlib=/usr/lib/perl5/i386-linux
-Dsitelib=/usr/lib/perl5/site_perl
-Dsitearch=/usr/lib/perl5/site_perl/i386-linux' hint=recommended, useposix=true, d_sigaction=define
usethreads=undefuse5005threads=undef useithreads=undef
usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef
use64bitall=undefuselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='',gccversion='2.95.3 20010315 (release)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4,
nvtype='double',nvsize=8, Off_t='off_t',
lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags ='
-L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl-ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.2.so, so=so, useshrplib=false, libperl=libperl.a Dynamic
Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared
-L/usr/local/lib'
Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Apr
112001 22:57:30 @INC: /usr/lib/perl5/i386-linux /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux
/usr/lib/perl5/site_perl /usr/lib/perl5/site_perl
version 1.8.0 of pgsql_perl5
Slackware linux 8.0
I have successfully installed postgresql (./configure without parameters)
in src/interfaces/perl5 (no root user) i have run perl Makefile.PL
when i run make i obtain:
bash-2.05$ make
make -C ../../../src/interfaces/libpq all
make[1]: Entering directory `/tmp/postgresql-7.2.1/src/interfaces/libpq'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/postgresql-7.2.1/src/interfaces/libpq'
make -f Makefile all VPATH=
make[1]: Entering directory `/tmp/postgresql-7.2.1/src/interfaces/perl5'
make[1]: *** No rule to make target `/Pg.pm', needed by `pm_to_blib'. Stop.
make[1]: Leaving directory `/tmp/postgresql-7.2.1/src/interfaces/perl5'
make: *** [all] Error 2
what can i do ?
Thanks
Franco Carinato