Subject: Re: Netatalk 2.0.2 configure looking for DB library version in vain
To: Daniel R. Killoran,Ph.D. <drkilloran@speakeasy.net>
From: Daniel R. Killoran,Ph.D. <drkilloran@speakeasy.net>
List: tech-pkg
Date: 04/07/2005 16:13:17
On Apr 4, 2005, at 9:03 AM, Daniel R. Killoran,Ph.D. wrote:

>
>> On Mar 31, 2005, at 5:18 PM, Louis Guillaume wrote:
>>
>>
>>> It's not really clear yet how far you got using pkgsrc, and what 
>>> exactly you tried before, so I'll try to explain the way I would do 
>>> it.
>>>
>>> Read through to the end first, because I've put some ideas for 
>>> building binary packages further down that you'd have to do first...
>>>
>>> 1. Get the latest pkgsrc...
>>>
>>> $ cd /usr
>>> $ export CVSROOT=:pserver:anoncvs@anoncvs.netbsd.org:/cvsroot
>>> $ cvs login
>>>   < type "anoncvs" for the password >
>>> $ cvs checkout -r pkgsrc-2005Q1 -P pkgsrc
>>>   < will take a while >
>>>
>>> ... Now you will have the latest stable pkgsrc in /usr/pkgsrc
>>>
>
>

Ok, I did this (after deleting pkgsrc in its entirety, to avoid 
conflicts), and again attempted to build netatalk from scratch.
It ran for two days, mostly building dependencies, and then stopped 
thus:

creating db_upgrade
/bin/sh ./libtool --mode=execute true db_upgrade
/bin/sh ./libtool --mode=compile cc -c -I. -I../dist/.. -O2 
../dist/../db_verify/db_verify.c
  cc -c -I. -I../dist/.. -O2 ../dist/../db_verify/db_verify.c  -fPIC 
-DPIC -o .libs/db_verify.o
  cc -c -I. -I../dist/.. -O2 ../dist/../db_verify/db_verify.c -o 
db_verify.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link cc -O2 -o db_verify -Wl,-R/usr/pkg/lib  
db_verify.lo util_cache.lo u
til_sig.lo libdb4-4.3.la
cc -O2 -o .libs/db_verify -Wl,-R/usr/pkg/lib .libs/db_verify.o 
.libs/util_cache.o .libs/util_sig.o
   ./.libs/libdb4-4.3.so 
-L/home/pkgsrc/databases/db4/work/.buildlink/lib  -Wl,--rpath 
-Wl,/usr/pkg
/lib
creating db_verify
/bin/sh ./libtool --mode=execute true db_verify
=> Unwrapping files-to-be-installed.
===> Installing for db4-4.3.27nb1
===> db4-4.0.14 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete db4-4.0.14" and "/usr/bin/make reinstall" to upgrade 
properly
***  - "/usr/bin/make update" to rebuild the package and all of its 
dependencies
***  - "/usr/bin/make replace" to replace only the package without 
re-linking
***    dependencies, risking various problems.
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/databases/db4
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/databases/db4
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/databases/db4
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/databases/db4
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/net/netatalk
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/net/netatalk
MacIIvx#

(This was in "make" of netatalk)

DRK