Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 13:53:16 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        David Fleck <david.fleck@mchsi.com>
Cc:        ports@freebsd.org
Subject:   Re: build failure in astro/celestia port
Message-ID:  <200401251353.16546.kstewart@owt.com>
In-Reply-To: <20040125151549.V59212@grond.sourballs.org>
References:  <20040124200236.M59212@grond.sourballs.org> <200401251109.16747.kstewart@owt.com> <20040125151549.V59212@grond.sourballs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 25 January 2004 01:27 pm, David Fleck wrote:
> First off, thanks very much for taking the time and effort to test
> this on your system.
>
> I tracked the problem down, sort of.   The real key was this error in
> the
>
> config.log:
> > /usr/X11R6/lib/libglut.so: undefined reference to
> > `XmuLookupStandardColormap'
>
> compilation of the test program linking libglut.so was failing
> because of this, not because of any problems with libglut.
>
> 'XmuLookupStandardColormap' is in libXmu.so, and yet the config log
> showed that the configure script was not adding '-lXmu' to the
> compilation line.
>
> I don't know why that is, as it appears in the configure script:
> 3753:   LIBS="$X_PRE_LIBS $LIBS $X_LIBS -lXmu -lXi -lXext -lX11 -lm
> $X_EXTRA_LIBS"
>
> and yet if I echo out the LIBS variable , it contains -lXi and the
> rest of the libraries, but not -lXmu.
>
> I modified the configure script to force the addition of -lXmu, and
> everything works fine.  As this was not required on your machine, it
> must be a quirk of my machine/environment, rather than a port issue.

That may be true about quirks on my machine but I figure a failure on 
yours is more important than a success on mine. The success on mine 
just gives you a clue to look at your system more closely. 

I had a similar problem with arts and libvorbis. After upgrading 
libvorbis, artsd wouldn't run until I force upgraded it but I haven't 
got anyone's attention yet :).

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401251353.16546.kstewart>