delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/13/16:22:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48CC2206.3040106@x-ray.at>
Date: Sat, 13 Sep 2008 22:26:46 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: DBD::Pg-2.10.3 make error under cygwin
References: <659BC439DF11FC4EB0A0288BBF46B5B71F150DBB24 AT GVW0436EXB DOT americas DOT hpqcorp DOT net>
In-Reply-To: <659BC439DF11FC4EB0A0288BBF46B5B71F150DBB24@GVW0436EXB.americas.hpqcorp.net>
X-IsSubscribed: yes
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

mouse schrieb:
>   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)

Yes, everything okay until now. Where's the error?

make: [blib/arch/auto/DBD/Pg/Pg.dll] Error 1 (ignored) is not error, it 
is ignored, because test -s Pg.bs failed.

To test it you must start and prepare your database.
-- 
Reini Urban
http://phpwiki.org/  http://murbreak.at/

--
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