From owner-freebsd-ports Sat Sep 22 9:50:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BD23237B425 for ; Sat, 22 Sep 2001 09:50:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8MGo0s78629; Sat, 22 Sep 2001 09:50:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 766C137B420 for ; Sat, 22 Sep 2001 09:45:34 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8MGjYK78220; Sat, 22 Sep 2001 09:45:34 -0700 (PDT) (envelope-from nobody) Message-Id: <200109221645.f8MGjYK78220@freefall.freebsd.org> Date: Sat, 22 Sep 2001 09:45:34 -0700 (PDT) From: Lukasz Nowak To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/30740: Problem while compiling p5-DBD-Pg Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30740 >Category: ports >Synopsis: Problem while compiling p5-DBD-Pg >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 22 09:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Lukasz Nowak >Release: 4.4 >Organization: - >Environment: FreeBSD topesz 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Thu Sep 20 17:54:31 CEST 2001 root@topesz:/usr/src/sys/compile/GOTHAM i386 >Description: There are some errors while compiling port p5-DBD-Pg. There is shoot: ===> Building for p5-DBD-Pg-1.01 cc -c -I/usr/local/include/pgsql -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI -O2 -pipe -march=pentiumpro -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\" -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE Pg.c In file included from Pg.xs:13: Pg.h:17: libpq-fe.h: No such file or directory In file included from /usr/libdata/perl/5.00503/mach/CORE/perlsdio.h:5, from /usr/libdata/perl/5.00503/mach/CORE/iperlsys.h:203, from /usr/libdata/perl/5.00503/mach/CORE/perl.h:325, from /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI/DBIXS.h:19, from Pg.h:39, from Pg.xs:13: /usr/include/stdio.h:164: warning: `BUFSIZ' redefined Pg.h:34: warning: this is the location of the previous definition In file included from Pg.h:41, from Pg.xs:13: dbdimp.h:22: syntax error before `PGconn' dbdimp.h:31: syntax error before `PGresult' *** Error code 1 Stop in /usr/ports/databases/p5-DBD-Pg/work/DBD-Pg-1.01. *** Error code 1 Well, in README for this port is written about setting POSTGRES_INCLUDE and POSTGRES_LIB. When I compiled it out of port tree and set this values propeply (*INC* to /usr/local/pgsql/include and *LIB to /usr/local/pgsql/lib) program installed correctly. >How-To-Repeat: cd /usr/ports/databases/p5-DBD-Pg && make install >Fix: Set POSTGRES_INCLUDE and POSTGRES_LIB to prop. values. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message