[sldev] [PATCH] changes I made to run snowglobe on Fedora 11 x86_64

Ralph Campbell ralphcampbell at sbcglobal.net
Wed Aug 5 20:44:31 PDT 2009

I was able to get snowglobe-src-viewer-1.0.2-r2451.tar.gz to compile
and run on a Fedora 11 x86_64 system with the following patches.

Fixed compiler warnings since I didn't know how to turn off gcc -Werror
in cmake.

Fixed viewer_manifest.py to copy secondlife-stripped to the right
location for x86_64 builds.

When I started snowglobe, I was able to log in and it popped up
a dialog box to accept the terms of usage. The usage agreement didn't
display and I traced this to LLSDXMLParser::Impl::parse() being used
on the text which defined "</head>" but didn't skip over it properly.
LLSDXMLParser::Impl::parse() doesn't seem like a general purpose XML
parser, just for reading saved configuration data. Since the parser
returned an error, the "I agree" checkbox was not enabled and I couldn't
make progress.  I hacked around the problem by temporarily making
the checkbox enabled by default.
Anyway, a patch is included to skip over unknown elements.

I edited tut-2008-11-30.tar.gz to include tut::result_type::skip since
it wasn't defined. I guess there must be a newer version of tut
I also edited the hash_map C++ file to not warn about future

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-warnings.patch
Type: text/x-patch
Size: 12703 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20090805/1221766f/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-manifest.patch
Type: text/x-patch
Size: 940 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20090805/1221766f/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-xml-parse.patch
Type: text/x-patch
Size: 780 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20090805/1221766f/attachment-0002.bin 

More information about the SLDev mailing list