Subject: Unable to build Mosaic
To: None <current-users@netbsd.org>
From: Space Case <wormey@eskimo.com>
List: current-users
Date: 10/16/1998 21:56:21
Trying to build Mosaic in pkgsrc, libhtmlw/HTML.c fails to build because
MOTIF is not defined (even though USE_MOTIF is set to 'yes' in both the
package Makefile and /etc/mk.conf).  In trying to track down why this was
so, I looked at the config.log, and see numerous items like this:

configure:1866: cc -o conftest -O -Wno-uninitialized -Wno-uninitialized -I/usr/p
kg/include -I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftes
t.c -lX11  -lm  1>&5
ld: -lX11: no match
configure:1910: cc -o conftest -O -Wno-uninitialized -Wno-uninitialized -I/usr/p
kg/include -I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftes
t.c -lXpm  -lm  1>&5
ld: -lXpm: no match
configure:1954: cc -o conftest -O -Wno-uninitialized -Wno-uninitialized -I/usr/p
kg/include -I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftes
t.c -lICE  -lm  1>&5
ld: -lICE: no match
configure:1998: cc -o conftest -O -Wno-uninitialized -Wno-uninitialized -I/usr/p
kg/include -I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftes
t.c -lSM  -lm  1>&5
ld: -lSM: no match
configure:2086: cc -o conftest -O -Wno-uninitialized -Wno-uninitialized -I/usr/p
kg/include -I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftes
t.c -lXt  -lm  1>&5
ld: -lXt: no match
configure:2130: cc -o conftest -O -Wno-uninitialized -Wno-uninitialized -I/usr/p
kg/include -I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftes
t.c -lXmu  -lm  1>&5
ld: -lXmu: no match
configure:2174: cc -o conftest -O -Wno-uninitialized -Wno-uninitialized -I/usr/p
kg/include -I/usr/X11R6/include  -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib conftes
t.c -lXm  -lm  1>&5
ld: -lXm: no match


Any ideas on where to look to fix this?


FWIW, I initially installed this system from a snapshot built with egcs,
and it continued to be entirely egcs-built until I rebuilt the base
system with gcc a few days ago.  (Another thing I noted in doing this
is that libg++ is not built even when building with gcc.  Linking libstdc++
to libg++ make the things that want libg++ work OK.)  This problem with
Mosaic preceded the switchover by quite some time, so I don't think that
has anything to do with it.  But I've been wrong before...


And while I'm on this platform, has anybody noticed a problem lately,
where when it goes to register a package, that it spawns an endless
stream of 'make's, until it crashes the system?  This problem also
preceded the switchover to gcc.


Thanks,
~Steve

-- 
Steve Allen - wormey@eskimo.com   http://www.eskimo.com/~wormey/   ICQ 6709819

Faith is the quality that enables you to eat blackberry jam on a picnic
without looking to see whether the seeds move.

Contrary to popular belief, Unix is user friendly.  
It just happens to be selective about who it makes friends with.
	-Kyle Hearn  <kyle@intex.net>

The average woman would rather have beauty than brains, because the
average man can see better than he can think.