Author |
Message |
KittoFlora
Joined: 2013-01-20 04:44:04 Posts: 12
|
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?
Last edited by KittoFlora on 2013-02-19 18:08:53, edited 1 time in total.
|
2013-02-17 20:21:42 |
|
 |
Henri Beauchamp
Joined: 2009-03-17 18:42:51 Posts: 6066
|
You need the 32 bits library and devel packages... The viewer is a 32bits application.
|
2013-02-17 20:42:59 |
|
 |
KittoFlora
Joined: 2013-01-20 04:44:04 Posts: 12
|
$: sudo apt-get install ia32-libs ia32-libs is already the newest version.
Which development packages?
|
2013-02-17 21:28:30 |
|
 |
KittoFlora
Joined: 2013-01-20 04:44:04 Posts: 12
|
I found one of them.... sudo apt-get install libxrender-dev:i386 fixes the lX11 and lXrender problems. Now searching for lGL library
|
2013-02-17 21:38:39 |
|
 |
KittoFlora
Joined: 2013-01-20 04:44:04 Posts: 12
|
.. 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...
|
2013-02-17 22:01:34 |
|
 |
KittoFlora
Joined: 2013-01-20 04:44:04 Posts: 12
|
glu.h missing fixed by: sudo apt-get install libglu1-mesa-dev:i386
|
2013-02-17 22:05:51 |
|
 |
g0rd0ngrfr33mailgr
Joined: 2011-09-27 11:18:31 Posts: 251
|
|
2013-02-17 23:03:57 |
|
 |
KittoFlora
Joined: 2013-01-20 04:44:04 Posts: 12
|
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.
|
2013-02-19 18:06:49 |
|
|