Subject: Re: Gnome, and ``Re: Use of `pkg_chk` ''
To: Jeremy C. Reed <reed@reedmedia.net>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: netbsd-users
Date: 06/19/2002 03:15:42
>>>>> "Jeremy" == Jeremy C Reed <reed@reedmedia.net> writes:

    Jeremy> On Tue, 18 Jun 2002, Richard Grace wrote:
    >> cc -I/usr/pkgsrc/misc/gnome-utils/work.i386/.buildlink/include -O2 -Wall
    >> -Wunused -L/usr/pkgsrc/misc/gnome-utils/work.i386/.buildlink/lib

    Jeremy> I wonder if that includes ncurses library?

    >> -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
    >> -o gdialog checklist.o dialog.o guage.o inputbox.o menubox.o mouse.o
    >> msgbox.o rc.o textbox.o util.o yesno.o -L/usr/X11R6/lib
    >> -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgnomeui
    >> -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext
    >> -lX11 -lgnome -lgnomesupport -lesd -lossaudio -laudiofile -lm -lglib
    >> -lintl -lgtkxmhtml -lXpm -ljpeg -lpng -lz -lSM -lICE -lgtk -lgdk
    >> -lgmodule -lglib -lintl -lXi -lXext -lX11 -lm
    >> -L/usr/pkgsrc/misc/gnome-utils/work.i386/.buildlink/lib -lintl
    >> -L/usr/local/lib -lncurses -lcrypt -lm
    >> -L/usr/pkgsrc/misc/gnome-utils/work.i386/.buildlink/lib -lintl
    >> /usr/pkgsrc/misc/gnome-utils/work.i386/.buildlink/lib/libgtkxmhtml.so:
    >> warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()

    >> checklist.o: In function `dialog_checklist':
    >> checklist.o(.text+0x89f): undefined reference to `acs_map'

    Jeremy> This looks like ncurses (or libslang).

One of the gnome parts tries to use ncurses if it's present/installed,
leading to the above undefined reference (why?). A work a round is to
deinstall ncurses for the gnome built, so it's not used anyway.

Markus.