ports/86000: misc/libhome doesn't compile with postgresql support

oHmEr ohmer at epita.info
Mon Sep 12 01:30:07 UTC 2005


>Number:         86000
>Category:       ports
>Synopsis:       misc/libhome doesn't compile with postgresql support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 12 01:30:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     oHmEr
>Release:        5.4-STABLE
>Organization:
>Environment:
FreeBSD moe.cload.net 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Sep  9 18:45:25 CEST 2005     root at moe.cload.net:/usr/obj/usr/src/sys/MOE  i386
>Description:
the one line summary should be enough to understand the problem. here is the compiler error :

hparam.c: In function `home_init':
hparam.c:649: error: `len' undeclared (first use in this function)
>How-To-Repeat:
cd /usr/ports/misc/libhome
make config (only activate postgresql support)
make all
>Fix:
int len seems to be declared when WITH_PGSQL is defined so :

--- hparam.c.orig       Mon Sep 12 02:55:52 2005
+++ hparam.c    Mon Sep 12 02:55:06 2005
@@ -271,7 +271,7 @@
   int intag=1;
   FILE *f;
   char line[LINEMAX];
-#if WITH_LDAP || WITH_MYSQL
+#if WITH_LDAP || WITH_MYSQL || WITH_PGSQL
   int len = 0;
 #endif
 #if WITH_LDAP

then, fix the other compilation error which seems related to autotools :

hpgsql.c:38:22: libpq-fe.h: No such file or directory

or not because i'm probably wrong and there may be others.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list