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

next in thread | previous in thread | raw e-mail | index | archive | help
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.


--
David Fleck
david.fleck@mchsi.com



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