User:Dzonatas Sol

From Second Life Wiki
Jump to navigation Jump to search


"Your Viewer; Your Imagination"

JIRA @ Dzonux.net - Issue tracker for related open-source developments:


Snowglobe: Debian Lenny/Squeeze AMD 64

Here are my notes about the compilation experience:

Squeeze comes with cmake 2.6.0, but the experimental version is required:

sudo apt-get install -t sid cmake

Specific cmake builds wouldn't be needed if an universal binary was used, instead.

Downloaded and unpacked Snowglobe source (1.2.4.3008). Not gonna worry about git/hg/svn matters for this annotation.

Downloaded related files as specified in doc/asset_urls.txt: MD5, ART, LIBS_LINUXI386 (for any text/.h files, or cross-compilation to m32)

$ cd indra
$ ./develop.py --standalone -m64 configure
$ cd viewer-linux-x86_64-relwithdebinfo
$ make

Issues:

  • SNOW-240 At this time there is no jsoncpp debian package, so configure fails on this. Downloaded and compiled from sources noted in jira issue. Copied include files to /usr/local/include and libs to /usr/local/lib for temporary fix.
  • SNOW-360 build error: 'skip' is not a member of 'tut::test_result' (see jira for questions and recommended patch)
  • SNOW-285 build error: llqtwebkit.h: No such file or directory -- Despite this being a dependency, it should have made the configure fail like above in SNOW-240. The configure failure message could point to a wiki page to resolve the dependency (like an extra deb package for Debian).
  • Somewhere in the attempts to build llqtwebkit, the /usr/lib/libGL.so file got deleted. I can pinpoint here because other programs worked (X, wine, monovida, etc) up until that moment. Very strange for that to happen, yet not totally unexpected (from other people's experience with qt-webkit). The NVidia drivers that have Xgl support didn't have a deb package, so qt-webkit thought it could overwrite the GL files. Blind installs, like this, is exactly what the Debian-Way tries to avoid, which would also avoid issues like this.

...to be continued.

View the issues Dzonatas Sol has filed at jira.secondlife.com