Cool VL Viewer forum
http://sldev.free.fr/forum/

Build problem on Ubuntu 12.04.01
http://sldev.free.fr/forum/viewtopic.php?f=6&t=1107
Page 1 of 1

Author:  KittoFlora [ 2013-02-17 20:21:42 ]
Post subject:  Build problem on Ubuntu 12.04.01

Edit 2/19/12: The result of the following step BROKE 12.04.1 Xwindow system, so do not use these steps. Forget 12.04.1. Use 10.10.
---------------------------------------------------------------------------------------------------
I am trying to build from sources on Ubuntu 12.04.01 AMD64.
Source files: slviewer-src-cool_vl_viewer-126711.tar
Following directions in LinuxBuildHowto.txt
All goes well until....
Linking CXX shared library libmedia_plugin_webkit.so
[ 39%] Building CXX object llmessage/CMakeFiles/llmessage.dir/llxfer_mem.cpp.o
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lXrender
/usr/bin/ld: cannot find -lGL

These libraries are in /usr/lib/x86_64-linux-gnu/.... so there is some kind of library path
problem with this platform.
Can anyone suggest best place to fix this?

Author:  Henri Beauchamp [ 2013-02-17 20:42:59 ]
Post subject:  Re: Build problem on Ubuntu 12.04.01

You need the 32 bits library and devel packages... The viewer is a 32bits application.

Author:  KittoFlora [ 2013-02-17 21:28:30 ]
Post subject:  Re: Build problem on Ubuntu 12.04.01

$: sudo apt-get install ia32-libs
ia32-libs is already the newest version.

Which development packages?

Author:  KittoFlora [ 2013-02-17 21:38:39 ]
Post subject:  Re: Build problem on Ubuntu 12.04.01

I found one of them....
sudo apt-get install libxrender-dev:i386
fixes the lX11 and lXrender problems.
Now searching for lGL library

Author:  KittoFlora [ 2013-02-17 22:01:34 ]
Post subject:  Re: Build problem on Ubuntu 12.04.01

.. and 'cannot find -lGL' seems to be fixed by
sudo apt-get install libdrm-dev:i386
sudo apt-get install mesa-common-dev-lts-quantal:i386
sudo apt-get install libgl1-mesa-dev-lts-quantal:i386

Tnen we hit
linden/indra/llrender/llglheaders.h:287: fatal error: GL/glu.h: No such file or directory

/usr/include/GL/ exits but does not have glu.h in it. Investigating where that header comes from...

Author:  KittoFlora [ 2013-02-17 22:05:51 ]
Post subject:  Re: Build problem on Ubuntu 12.04.01

glu.h missing fixed by:
sudo apt-get install libglu1-mesa-dev:i386

Author:  g0rd0ngrfr33mailgr [ 2013-02-17 23:03:57 ]
Post subject:  Re: Build problem on Ubuntu 12.04.01

http://wiki.secondlife.com/wiki/Compili ... provide.29
:)

Author:  KittoFlora [ 2013-02-19 18:06:49 ]
Post subject:  Re: Build problem on Ubuntu 12.04.01

The apt-get steps I listed above resulted in the disabling of the Xwindow system in Ubuntu 12.04.1, therefore these steps are
*NOT RECOMMENDED*.
In G0rd's link above, search for "NOTE: If you are on Ubuntu 12.04 ("Precise") " where is talks about how 12.04.1 (Precise) does not yet have the packages and to link to Lucid packages.
For me this is getting to be all too much of a hack-job.
Xwindow could not be recovered by reinstalling original libraries. A re-install over-the-top of 12.04.1 resulted in a system with Xwindow, but no mouse, and all posted fixes for that problem failed.
So, i have reverted back to (good old) Ubuntu 10.10, which installed pretty smoothly, considering that Canonical is trying to bury it. All my 'fun stuff' is installed and working in 1 day. I previously used 10.10 for a year doing client and server design and compile, without significant issues.
To anyone compiling SL clients: From my pov Ubuntu 12.04.1 is NOT GOOD for such work. Stick to 10.10.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/