Kurt Roeckx writes:
> Package: openscenegraph
> Version: 0.9.9-2
> Severity: important
>
> Hi,
>
> Your package is failing to build with the following error:
> g++ -O2 -L/usr/X11R6/lib64 -L../..//lib/Linux
> -L/usr/src/openscenegraph-0.9.9/OpenThreads/lib/Linux -Wl,-soname
> -Wl,libProducer.so.1 -pthread -shared InputArea.o VisualChooser.o
> RenderSurface.o KeyboardMouse.o Keyboard.o Trackball.o RenderSurface_X11.o
> RenderSurface_Win32.o RenderSurface_OSX_CGL.o RenderSurface_OSX_AGL.o
> Window3D.o Camera.o CameraGroup.o CameraConfig.o Timer.o Version.o
> ConfigLexer.o ConfigParser.o WGLExtensions.o -lGL -lXmu
> -lX11 -lOpenThreads -lpthread -o libProducer.so
> /usr/bin/ld: cannot find -lXmu
> collect2: ld returned 1 exit status
>
> It's using -L/usr/X11R6/lib64, which is wrong, atleast on
> Debian. It should be using /usr/X11R6/lib instead, as
> that is where the libs are.
>
> There seems to be a patch.diff in the source tree which is
> supposed to fix it, but it looks like it's not applied.
For some reason this chunk was missed. I fixed it.
> The same problem happens when you build this on an amd64
> in an i386 chroot. You should be using dpkg-architecture
> to get the correct arch for which you are building.
OpenSceneGraph has its own idea of what an architecture
is. Home made makefile system. Cleanly done but different conventions.
> PS: It's build depending on giflib-dev which is a virtual pakage
> provided by libungif4-dev and giflib3g-dev. May I suggest you
> you build depend on libungif4-dev | giflib-dev so it always takes
> the same package? Now it can end up getting linked to an other
> version depending on the arch.
I did as you suggest.
Thanks for the bug report. Unfortunately it reached me a few
minutes after I uploaded a new version fixing blocking compilation
errors (assembly code and/or breaking gcc-3.3) on most architectures.
Cheers,
--
Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
http://www.fsffrance.org/ http://www.dachary.org/loic/gpg.txt
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]