delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/12/19:32:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: mouse <mouse AT hp DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Fri, 12 Sep 2008 23:29:54 +0000
Subject: DBD::Pg-2.10.3 make error under cygwin
Message-ID: <659BC439DF11FC4EB0A0288BBF46B5B71F150DBB24@GVW0436EXB.americas.hpqcorp.net>
Accept-Language: en-US
acceptlanguage: en-US
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m8CNWSSr011879

  I am looking for assistance or tips with a make error from DBD::PG

  Running Windows XPSP3 with the latest cygwin install base

  I've added the cygwin packages;
Postgresql 8.2.9-1
postgresql-client 8.2.9-1
postgresql-devel 8.2.9-1
libpq5 8.2.9-1

  I've compiled
DBI-1.607

$ perl Makefile.PL
Configuring DBD::Pg 2.10.3
PostgreSQL version: 80209 (default port: 5432)
POSTGRES_HOME: (not set)
POSTGRES_INCLUDE: /usr/include
POSTGRES_LIB: /lib
OS: cygwin
Checking if your kit is complete...
Looks good
Using DBI 1.607 (for perl 5.010000 on cygwin-thread-multi-64int) installed in /u
sr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI/
Writing Makefile for DBD::Pg

$ make
cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm
cp Pg.pm blib/lib/DBD/Pg.pm
/usr/bin/perl.exe -p -e "s/~DRIVER~/Pg/g; s/^do\(/dontdo\(/" /usr/lib/perl5/site
_perl/5.10/i686-cygwin/auto/DBI/Driver.xst > Pg.xsi
/usr/bin/perl.exe /usr/lib/perl5/5.10/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5
.10/ExtUtils/typemap  Pg.xs > Pg.xsc && mv Pg.xsc Pg.c
gcc -c  -I/usr/include -I/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI -DPE
RL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/inc
lude -DPGLIBVERSION=80209 -DPGDEFPORT=5432 -DUSEIMPORTLIB -O3   -DVERSION=\"2.10
.3\" -DXS_VERSION=\"2.10.3\"  "-I/usr/lib/perl5/5.10/i686-cygwin/CORE"   Pg.c
gcc -c  -I/usr/include -I/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI -DPE
RL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/inc
lude -DPGLIBVERSION=80209 -DPGDEFPORT=5432 -DUSEIMPORTLIB -O3   -DVERSION=\"2.10
.3\" -DXS_VERSION=\"2.10.3\"  "-I/usr/lib/perl5/5.10/i686-cygwin/CORE"   dbdimp.
c
gcc -c  -I/usr/include -I/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI -DPE
RL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/inc
lude -DPGLIBVERSION=80209 -DPGDEFPORT=5432 -DUSEIMPORTLIB -O3   -DVERSION=\"2.10
.3\" -DXS_VERSION=\"2.10.3\"  "-I/usr/lib/perl5/5.10/i686-cygwin/CORE"   quote.c

gcc -c  -I/usr/include -I/usr/lib/perl5/site_perl/5.10/i686-cygwin/auto/DBI -DPE
RL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/inc
lude -DPGLIBVERSION=80209 -DPGDEFPORT=5432 -DUSEIMPORTLIB -O3   -DVERSION=\"2.10
.3\" -DXS_VERSION=\"2.10.3\"  "-I/usr/lib/perl5/5.10/i686-cygwin/CORE"   types.c

rm -f blib/arch/auto/DBD/Pg/Pg.dll
g++  --shared  -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,838
8608 -Wl,--enable-auto-image-base -L/usr/local/lib Pg.o dbdimp.o quote.o types.o
  -o blib/arch/auto/DBD/Pg/Pg.dll       \
          /usr/lib/perl5/5.10/i686-cygwin/CORE/libperl.dll.a -L/lib -lpq  \

chmod 755 blib/arch/auto/DBD/Pg/Pg.dll
test -s Pg.bs && cp Pg.bs blib/arch/auto/DBD/Pg/Pg.bs && \
          chmod 644 blib/arch/auto/DBD/Pg/Pg.bs
make: [blib/arch/auto/DBD/Pg/Pg.dll] Error 1 (ignored)





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019