Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2001 09:45:34 -0700 (PDT)
From:      Lukasz Nowak <Lukasz.Nowak@ankom.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/30740: Problem while compiling p5-DBD-Pg
Message-ID:  <200109221645.f8MGjYK78220@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109221645.f8MGjYK78220>