Subject: Re: Gnome, and ``Re: Use of `pkg_chk` ''
To: None <netbsd-users@netbsd.org>
From: Richard Grace <rgrace@aapt.com.au>
List: netbsd-users
Date: 06/19/2002 11:16:59
>>> "Jeremy C. Reed" <reed@reedmedia.net> 19/06/2002 10:59:39 >>>

> On Tue, 18 Jun 2002, Richard Grace wrote:
>=20
> > cc -I/usr/pkgsrc/misc/gnome-utils/work.i386/.buildlink/include -O2 =
-Wall
> > -Wunused -L/usr/pkgsrc/misc/gnome-utils/work.i386/.buildlink/lib
>=20
> I wonder if that includes ncurses library?

That's a good question.  I've got ncurses installed, in fact, that is one
of the packages that I've rebuilt a dozen times or more...

$ ls -l /usr/pkg/lib | grep curses
-rw-r--r--  1 root  wheel  162312 Jun 14 19:51 /usr/pkg/lib/libncurses++.a
-rwxr-xr-x  1 root  wheel     775 Jun 14 19:51 /usr/pkg/lib/libncurses++.la=

lrwxr-xr-x  1 root  wheel      19 Jun 14 19:51 /usr/pkg/lib/libncurses++.so=
 -> libncurses++.so.5.2
lrwxr-xr-x  1 root  wheel      19 Jun 14 19:51 /usr/pkg/lib/libncurses++.so=
.5 -> libncurses++.so.5.2
-rwxr-xr-x  1 root  wheel  212170 Jun 14 19:51 /usr/pkg/lib/libncurses++.so=
.5.2
-rw-r--r--  1 root  wheel  376432 Jun 14 19:51 /usr/pkg/lib/libncurses.a
-r--r--r--  1 root  wheel     736 Jun 14 19:51 /usr/pkg/lib/libncurses.la
lrwxr-xr-x  1 root  wheel      17 Jun 14 19:51 /usr/pkg/lib/libncurses.so =
-> libncurses.so.5.2
lrwxr-xr-x  1 root  wheel      17 Jun 14 19:51 /usr/pkg/lib/libncurses.so.5=
 -> libncurses.so.5.2
-r--r--r--  1 root  wheel  271766 Jun 14 19:51 /usr/pkg/lib/libncurses.so.5=
.2

But, it doesn't seem to be in the .buildlink directory:

# ls -l /usr/pkgsrc/misc/gnome-utils/work.i386/.buildlink/lib | grep =
curses
lrwxr-xr-x  1 root  wheel    20 Jun 19 11:06 libncurses.a -> /usr/lib/libcu=
rses.a
lrwxr-xr-x  1 root  wheel    21 Jun 19 11:06 libncurses.so -> /usr/lib/libc=
urses.so
lrwxr-xr-x  1 root  wheel    23 Jun 19 11:06 libncurses.so.3 -> /usr/lib/li=
bcurses.so.3
lrwxr-xr-x  1 root  wheel    25 Jun 19 11:06 libncurses.so.3.6 -> =
/usr/lib/libcurses.so.3.6
lrwxr-xr-x  1 root  wheel    23 Jun 19 11:06 libncurses.so.5 -> /usr/lib/li=
bcurses.so.5
lrwxr-xr-x  1 root  wheel    25 Jun 19 11:06 libncurses.so.5.0 -> =
/usr/lib/libcurses.so.5.0

> > checklist.o: In function `dialog_checklist':
> > checklist.o(.text+0x89f): undefined reference to `acs_map'
>=20
> This looks like ncurses (or libslang).
>=20
>    Jeremy C. Reed
>    http://www.reedmedia.net/=20

Well, that may explain why it's not building then.  But I don't understand
why it's not being picked up by the build process, since there are other
libraries included from /usr/pkg/lib - just not ncurses.  Is there a way =
to
figure out where the link is failing?

I've gone through and cleaned the entire pkgsrc directory and then done
a fresh cvs update, and even removed it an done a fresh cvs checkout.

*scratches head*

Richard.