llmozlib (was: Re: [sldev] Linking fails with FL- (cannot find llmozlib))

Rob Lanphier robla at lindenlab.com
Thu Feb 22 23:30:29 PST 2007

Hi Signore

Thanks for sticking with it.  The /bin/sh->/bin/bash changes should
actually be submitted as a patch (or the incompatible bash-isms
eradicated so that /bin/sh is a legitimate thing to claim), so I'd
appreciate it if you actually filed a detailed bug report describing
that problem (and attached a patch), which should make it easier for you
and others the next time you embark on a fresh compile.

It'd be pretty cool if it were easier to disable llmozlib without the
need to comment out large swaths of the SConstruct file.  Any volunteers
to simplify this process?  The SConstruct file is Python, so the
addition of a boolean should be pretty straightforward if you can resist
the temptation to refactor it into subroutines (which it's probably due
for, imho, but don't take that to mean I'm volunteering to do it just yet).


On 2/22/07 6:47 PM, signore at autistiche.org wrote:
>> Meanwhile, playing with LL_LIBXUL_ENABLED and removing the moz libs
> >from the SConstruct linkline is currently a safe option.
>> - Tofu
> :)
> 1
> I commented out in indra/SConstruct these lines: 126-147 and 194-195.
> 2
> In indra/llcommon/llpreprocessor.h , as suggested here I changed
> to
> 3
> Since Ubuntu uses ‘dash’ instead of ‘bash’, someone suggested me
> changing
> #!/bin/sh
> to
> #!/bin/bash
> in these files:
> linden/indra/newview/linux_tools/launch_url.sh
> linden/indra/newview/linux_tools/launch_url.sh
> linden/indra/newview/linux_tools/wrapper.sh
> linden/indra/newview/linux_tools/package-client.sh
> linden/libraries/include/boost/pool/detail/pool_construct_simple.sh
> linden/libraries/include/boost/pool/detail/pool_construct.sh
> linden/libraries/i686-linux/include/apr-1/arch/unix/apr_arch_threadproc.h
> Result:
> I managed to compile the Second Life viewer on Linux, using the
> BUILD=releasefordownload scon option. I extracted the resulting
> tar.bz2 package and the FL viewer runs quite smoothly :)
> I'm writing what i made at
> https://wiki.secondlife.com/wiki/User:Signore_Iredell,
> should I move it to a new page in the wiki, maybe
> Compiling the viewer (Linux Ubuntu) ?
> bye,
> signore iredell
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070222/0ca1a7a6/signature.pgp

More information about the SLDev mailing list