[okl4-developer] Starting OKL4 development... success

David Mirabito davidm at ok-labs.com
Mon Jan 14 09:32:12 EST 2008


HI Geoff,
    To help you out with your immediate question, the build-system 
builds all object files, libraries and intermediary files in to the 
'build' directory, so to 'make clean' you can just
   
    rm -rf build
However hopefully SCons does a decent enough job of dependency checking 
that this should not be required very often.

It might be useful to note here that you can use BUILD_DIR=my/build/dir 
on the command line of a build to have it build somewhere else. This 
could be handy if, for instance you want to keep a couple of 
configurations around and don't want to wait for SCons to do a complete 
rebuild each time you switch back and forth.

As for python versions, 2.51 is OK. The issue seemed to be a bug in the 
Python 'struct' module, which was introduced in 2.5 and then 
subsequently fixed. It was a obvious error that crashed out to a 
backtrace, so if the build seems good, than chances are it is :)

Cheers,
   - David

Subcommander l0r3zz wrote:
> Sorry for being premature.
> I've solved my build problems on my own ;)
> I do still have the question of whether it is "safe" to use Python 2.51 as
> I'm doing,
> the build seems to have completed without incident.
>
> I'm not very familiar with the SCons way of building software, could someone
> point me to a "howto" that talks about how OK-Labs nicta has utilized it?
> My immediate question is how do I perform the equivalent of a "make clean" ?
>
>
>
> On Jan 13, 2008 12:07 PM, Subcommander l0r3zz <l0r3zz at gmail.com> wrote:
>
>   
>> On Jan 13, 2008 2:25 AM, Subcommander l0r3zz <l0r3zz at gmail.com> wrote:
>>
>>     
>>> Compiling under OpenSuSE 10.3 with the downloaded toolchain suggested
>>> for ia32_pc99.
>>> Problems with the build environment wanting distcc.
>>> Is there a more comprehensive "how to" for a nube to get their build
>>> environment up then just the README ?
>>>
>>> Checked the archives and couldn't find anything.
>>>
>>> Will start on qemu and then switch to VMware (with VT enabled ;)
>>>
>>>
>>> Thanks in advance.
>>>       
>>
>> I found this in the archives...
>>
>> The better guide is here
>>     
>>> http://portal.ok-labs.com/_assets/downloads/README.quickstart.txt
>>>
>>> I think build_system.rst is very old and it doesn't apply to OKL4.
>>>
>>>       
>> Must the Python version ABSOLUTELY be 2.4? I have 2.51 installed under
>> OpenSuSE 10.3 and I fudged the sym link.
>> Could this cause problems? (Actually my immediate problem is how to get it
>> to NOT use distcc ;)
>>
>>
>>
>>
>>     
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>   




More information about the Developer mailing list