Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f4BDKrA61824 for ; Fri, 11 May 2001 09:20:53 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from relay.ppc.pims.org ([194.78.114.67]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f48GsMA56958 for ; Tue, 8 May 2001 12:54:22 -0400 (EDT) (envelope-from huffman@ppc.pims.org) Received: from ppc.pims.org ([194.78.114.19]) by relay.ppc.pims.org (Netscape Messaging Server 4.15) with ESMTP id GD10AI00.CD1 for ; Tue, 8 May 2001 18:54:18 +0200 Message-ID: <3AF82453.A408B71@ppc.pims.org> Date: Tue, 08 May 2001 18:52:35 +0200 From: "Allan C Huffman" X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Pg.pm Install RedHat7.0 Help Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/57 X-Sequence-Number: 1398 Hello Everyone, I'd like to say first of all that PostgreSQL is a terrific database. Been using it under Solaris with Perl and Java and it runs great! I have a little problem with Linux RedHat 7.0. I can't seem to get Pg.pm to compile. As the README says I'm making it under the postgres super user account. (I had to change the ownership of /usr/local to postgres though!) DBI installed with no errors, but DBD does the following. You will note that I explicitly put in the /usr/local/DBD-Pg-0.98 references so that the compile would find Pg.c but to no avail.... Thanks for your time and help, Sincerely, Allan in Belgium _________________________________________________________________________ [postgres@inventory www]$ env PWD=/home/www POSTGRES_INCLUDE=/usr/local/pgsql/lib:/usr/local/DBD-Pg-0.98:/usr/local/pgsql/inc lude QTDIR=/usr/lib/qt-2.2.0 MANPATH=:/usr/local/pgsql/man:/usr/local/pgsql/man LESSOPEN=|/usr/bin/lesspipe.sh %s KDEDIR=/usr USER=postgres LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: MACHTYPE=i386-redhat-linux-gnu POSTGRES_LIB=/usr/local/pgsql/lib:/usr/local/DBD-Pg-0.98:/usr/local/pgsql/includeMAIL=/var/spool/mail/www INPUTRC=/etc/inputrc BASH_ENV=/home/www/.bashrc LANG=en_US COLORTERM= DISPLAY=:0 LOGNAME=postgres SHLVL=5 SHELL=/bin/bash USERNAME= HOSTTYPE=i386 OSTYPE=linux-gnu HISTSIZE=1000 HOME=/home/postgres TERM=xterm PGDATA=/usr/local/pgsql/data PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/pgsql/include:/usr/local/pgsql/bin:./:/usr/local/DBD-Pg-0.98 _=/usr/bin/env [postgres@inventory www]$ cd /usr/local/DBD* [postgres@inventory DBD-Pg-0.98]$ make gcc -c -I/usr/local/pgsql/lib:/usr/local/pgsql/include -I/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/DBI -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" -fpic -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE Pg.c In file included from Pg.xs:13: Pg.h:17:22: libpq-fe.h: No such file or directory make: *** [Pg.o] Error 1 [postgres@inventory DBD-Pg-0.98]$