From peter@dataloss.nl  Tue Feb 26 16:20:15 2002
Return-Path: <peter@dataloss.nl>
Received: from useful.dataloss.nl (useful.dataloss.nl [62.250.7.47])
	by hub.freebsd.org (Postfix) with SMTP id 1F9FB37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 26 Feb 2002 16:20:14 -0800 (PST)
Received: (qmail 10065 invoked by uid 1001); 27 Feb 2002 00:20:12 -0000
Message-Id: <20020227002012.10064.qmail@useful.dataloss.nl>
Date: 27 Feb 2002 00:20:12 -0000
From: Peter van Dijk <peter@dataloss.nl>
Reply-To: Peter van Dijk <peter@dataloss.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: cdb port forgets uint32.h
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35364
>Category:       ports
>Synopsis:       cdb port forgets uint32.h
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 26 16:30:01 PST 2002
>Closed-Date:    Mon Feb 03 06:17:23 PST 2003
>Last-Modified:  Mon Feb 03 06:17:23 PST 2003
>Originator:     Peter van Dijk
>Release:        FreeBSD 4.4-RELEASE-p4 i386
>Organization:
-
>Environment:
System: FreeBSD useful.dataloss.nl 4.4-RELEASE-p4 FreeBSD 4.4-RELEASE-p4 #3: Fri Jan 25 01:34:19 CET 2002 root@useful.dataloss.nl:/home/usr2/obj/usr/src/sys/USEFUL i386

>Description:

The databases/cdb port nicely installs all cdb binaries, and also installs
libcdb.a into /usr/local/lib. This, ofcourse, needs cdb.h, which is also
installed into /usr/local/include. That, in turn, needs uint32.h, which
is not installed at all.

>How-To-Repeat:
Use /usr/local/include/cdb.h and /usr/local/lib/libcdb.a from an application
according to the specs at http://cr.yp.to/cdb/reading.html and wait for

cdb.h:6: uint32.h: No such file or directory

or similar

>Fix:

Also install uint32.h to /usr/local/include :)
>Release-Note:
>Audit-Trail:

From: Peter van Dijk <peter@dataloss.nl>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/35364: cdb port forgets uint32.h
Date: Wed, 27 Feb 2002 01:42:49 +0100

 In addition, any succesful compile with libcdb.a also requires unix.a
 and byte.a from the cdb package.
 
 I suggest that either these are also installed somewhere (perhaps in a
 subdir of /usr/local/lib?) or that libcdb.a and cdb.h are removed
 altogether, which would also be more fitting to
 <quote source="http://cr.yp.to/cdb.html">
 Packages that need to read cdb files should incorporate the necessary
 portions of the cdb library rather than relying on an external cdb
 library. 
 </quote>
 
 You make the decision. libcdb.a+cdb.h are useless without uint32.h,
 unix.a and byte.a, so either all these 3 need to be added, or
 libcdb.a+cdb.h need to be removed.
 
 Greetz, Peter
 -- 
 huk ~ kek
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Mon Feb 3 06:16:58 PST 2003 
State-Changed-Why:  
Commited, thanks! 
(removed the lib/ and include/ directories, added info for developers 
in pkg-descr) 


http://www.freebsd.org/cgi/query-pr.cgi?pr=35364 
>Unformatted:
