Subject: Double paths in pcre?
To: None <tech-pkg@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 01/09/2005 11:55:18
Hello,

Anyone know what's causing this:

gcc -pipe -O2 -I. -o dftables dftables.o 
-L/Volumes/local/pkgsrc/devel/pcre/work/.buildlink/pkgsrc/devel/pcre/work/.buildlink/lib
ld: warning -L: directory name 
(/Volumes/local/pkgsrc/devel/pcre/work/.buildlink/pkgsrc/devel/pcre/work/.buildlink/pkgsrc/devel/pcre/work/.buildlink/lib) 
does not exist
ld: warning -L: directory name 
(/Volumes/local/pkgsrc/devel/pcre/work/.buildlink/pkgsrc/devel/pcre/work/.buildlink/lib) 
does not exist

This is a Mac OS X 10.3.7 machine with pkgsrc from a couple of days ago. 
/Volumes/local is a separate partition that's formatted as UFS, and 
localbase is set to /usr/local/ (which is a symlink to /Volumes/local). 
/usr/pkgsrc/ is also symlinked to /Volumes/local/pkgsrc.

Any ideas why the double paths?
/Volumes/local/pkgsrc/devel/pcre/work/.buildlink/pkgsrc/devel/pcre/work/.buildlink/lib

Eventually, pcre fails with:

  ld: warning -L: directory name 
(/Volumes/local/pkgsrc/devel/pcre/work/.buildlink/pkgsrc/devel/pcre/work/.buildlink/lib) 
does not exist
ld: can't locate file for: -lpcre
*** Error code 1

Stop.
bmake: stopped in /Volumes/local/pkgsrc/devel/pcre/work/pcre-5.0

Thanks,
John Klos