Subject: Re: ncurses on OS X 10.3 ( darwin 7.0.0 )
To: Brad Volz <bradv@affectation.org>
From: Brad Volz <bradv@affectation.org>
List: tech-pkg
Date: 11/06/2003 00:13:13
On Nov 1, 2003, at 8:06 PM, Brad Volz wrote:

> I seem to have encountered an issue with ncurses on OS X 10.3.
>
> The error that I receive from bmake is --
>
> installing etip.h in /Volumes/UFS/usr/pkg/include
> install -c -o root -g wheel -m 444 
> /Volumes/UFS/usr/pkgsrc/devel/ncurses/work/nc
> urses-5.3/c++/demo.cc  
> /Volumes/UFS/usr/pkg/share/examples/ncurses++demo.cc
> gawk: cmd. line:1: warning: escape sequence `\/' treated as plain `/'
> gawk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'
> sh: line 1: lib/libform.dylib: No such file or directory
> sh: line 1: lib/libform.5.dylib: No such file or directory
> sh: line 1: lib/libmenu.dylib: No such file or directory
> sh: line 1: lib/libmenu.5.dylib: No such file or directory
> sh: line 1: lib/libncurses++.dylib: No such file or directory
> sh: line 1: lib/libncurses++.5.dylib: No such file or directory
> sh: line 1: lib/libncurses.dylib: No such file or directory
> sh: line 1: lib/libncurses.5.dylib: No such file or directory
> sh: line 1: lib/libpanel.dylib: No such file or directory
> sh: line 1: lib/libpanel.5.dylib: No such file or directory
> *** Error code 1

I have no clue what an appropriate fix for this would be, but the 
following is how I was able to get 'bmake install' to complete without 
errors.

Following a 'bmake' under pkgsrc/devel/ncurses,
/Volumes/UFS/usr/pkgsrc/devel/ncurses/work/ncurses-5.3/lib only seemed 
to be populated with the .la extension filenames.  However, there was a 
.libs directory also, where I was able to find all of the .dylib 
versions.

Basically, all that I did was to copy the .dylib versions into the the 
directory above it.  Following this, 'bmake install' completed and 
registered the package.

Not that this really helps though, as ld is unaware of the library's 
location.  I suppose that I could set DYLD_LIBRARY_PATH to 
/Volumes/UFS/usr/pkg/lib but I am hesitant to do so.


Brad