[sldev] missing
Dana Fagerstrom
Dana.Fagerstrom at Sun.COM
Fri Apr 27 08:30:33 PDT 2007
Thanks for the reply Rob.
It turned out that I was missing updates from 1.15.0.2 in my merged
copy. In particular, I was missing skins/textures/textures.xml which of
course maps file names to their "funky numeric names". I missed those
changes when I did the merge since I only concentrated on the .cpp and
.h files. The proof that the viewer runs under Solaris x86 is shown by
the attached screen image :)
As for changes to support Solaris, there are only a few files that need
to be touched:
SConstruct
llwindow/llgl.cpp
llvfs/llvfs.cpp
newview/lluserauth.cpp
newview/llviewermenu.cpp
newview/llviewerjointmesh.cpp
newview/viewer.cpp
newview/llviewerwindow.cpp
llmath/llmath.h
llmath/lluuid.cpp
llaudio/audioengine.cpp
llcommon/timing.h
llcommon/lltimer.cpp
llcommon/llstring.h
llcommon/llsys.cpp
llcommon/llpreprocessor.h
llcommon/llthread.cpp
llcommon/llhash.h
llcommon/stdtypes.h
llcommon/llfasttimer.cpp
llcommon/llapr.h
llcommon/llsdutil.cpp
llrender/llagpmempoolnv.cpp
llrender/llimagegl.cpp
llrender/llfont.cpp
llmessage/message.h
llmessage/llpumpio.h
I also had to change the variable named "sun" to "Sun" in a couple files
since "sun" is a #define in one of the Solaris headers or defined by the
compiler. That means a minor change to newview/llvosky.cpp and
newview/lldrawpoolsky.cpp. We might be able to get around this using
#undef sun, in a few places but that may get too messy.
As soon as my testing is done, I'll put together a set of patches. If
you have a preferred "diff" you'd like run, just let me know what the
incantation is and I'll use it.
I've also created a solaris_tools directory which holds what you'd
expect. However, instead of building a tar of the distribution, my
package-client.sh builds a Solaris pkg based on the manifest and my
wrapper.sh ensures the wrapper will run no matter where the package is
installed.
Also, I have yet to start on the SPARC port and that will begin as soon
as the Solaris x86 and x64 builds are done. As I said in a prior email,
Solaris SPARC does not supply a "mesa" GL library. I had some
preliminary luck getting 1.13.x.x to build using the Darwin branches. I
just need to focus on the appropriate support and dive in.
I need to acknowledge Siva, Sivakumar.Shanmugasundaram at Sun.COM. Without
his initial efforts this port would have taken me a lot longer to get
done. Siva thanks again for blogging! I would never had known your
1.13.x.x port was available.
Thanks again,
D
> As to why you're getting the duplicate image problem, I don't know.
> Maybe try nuking your cache?
>
> Please submit whatever patches are needed to make sure Second Life ports
> cleanly to Solaris. I can't guarantee we'll be able to accept them, but
> we'll need to see what the delta is to have that conversation. We'll
> need a contributor agreement from you before accepting large changes.
>
> All of the information you'll need to get started is here:
> http://secondlife.com/developers/opensource/submitting
>
> Thanks
> Rob
>
> On 4/27/07 2:33 AM, Dana Fagerstrom wrote:
>> Folks,
>>
>> I've gotten a Solaris x86 build of 1.15.0.2 to compile cleanly and am
>> now starting the testing phase.
>>
>> Any idea why the viewer is reporting that it can't load
>> inv_item_object_multi.tga? Here's the excerpt from the log:
>>
>> 2007-04-27T09:23:57Z INFO: LLViewerImageList::doPreloadImages:
>> Preloading images...
>> 2007-04-27T09:23:57Z WARNING: getString: Invalid string control
>> inv_item_object_multi.tga
>> 2007-04-27T09:23:57Z WARNING: LLViewerImageList::getImageFromFile:
>> Unable to find image inv_item_object_multi.tga in gViewerArt
>> 2007-04-27T09:24:02Z INFO: decodeAllImages() took 5.01244 seconds.
>> 2007-04-27T09:24:02Z
>> i686-sunos5-client-releasefordownload/newview/llviewerimagelist.cpp(606)
>> : error
>> 2007-04-27T09:24:02Z ERROR: LLViewerImageList::addImage: Image with ID
>> d2114404-dd59-4a4d-8e6c-49359e91bbf0 already in list
>>
>> Is this the reason why the viewer starts and immediately exits or do I
>> have yet another problem?
>>
>> On another note, I'd love to see the changes to support Solaris
>> wrapped back into the master source tree. This would save me a ton of
>> time when I need to update the source. Yes, opensecondlife.org has a
>> svn repository but the copy there is not kept recent and this 1.15.0.2
>> requirement forced me to pull the source from the wiki site and start
>> from scratch. I can supply the diffs and my solaris_tools directory.
>>
>> Thanks,
>> Dana
>>
>>
>
>
--
=====================================================================
Dana Fagerstrom Phone: 877.851.6343
Sun Services Fax: 877.851.6343
400 Atrium Dr. Email: dana.fagerstrom at Sun.COM
Somerset, NJ 08873 SneakerNet: USMT01
=====================================================================
Pressure - It can turn a lump of coal into a flawless diamond,
and an average person into a perfect basketcase.
-- www.despair.com
=====================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: secondlife.png
Type: image/png
Size: 1522779 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070427/49d76705/secondlife-0001.png
More information about the SLDev
mailing list