Hi Johannes,

On Sun, Mar 7, 2010 at 4:45 PM, Schaefer Johannes
<johannes.schae...@ipk.fraunhofer.de> wrote:
> hi guys,
>
> i am trying to compile opensg 1.8 (the newest cvs version) under snow 
> leopard. unfortunately there seams to be no easy way to do this.
> scons ends with a syntax error:
> $./scons -h
> /Users/Johannes/OpenSG/SConsLocal/scons-local-0.96.1/SCons/Sig/MD5.py:41: 
> DeprecationWarning: the md5 module is deprecated; use hashlib instead
>  md5 = imp.load_module('md5', file, name, desc)
> scons: Reading SConscript files ...
> /Users/Johannes/OpenSG/SConsLocal/scons-local-0.96.1/SCons/Platform/posix.py:37:
>  DeprecationWarning: The popen2 module is deprecated.  Use the subprocess 
> module.
>  import popen2
>  File 
> "/Users/Johannes/OpenSG/SConsLocal/scons-local-0.96.1/SCons/Tool/gas.py", 
> line 36
>
>    import as
>
>            ^
>
> SyntaxError: invalid syntax

I suppose Snow Leopard comes with Python 2.5 or 2.6, it seems you've
run into the same problem as Jose recently. The scons script supplied
with OpenSG 1.x unfortunately doesn't work with anything later than
Python 2.4, unfortunately.

> using configure & make the compiler stopps because of missing a 64bit version 
> of carbon (i guess).

I've only built in it on Leopard, but I don't think the
OSGCarbonWindow stuff is strictly necessary, plus there seem to be a
CocoaWindow lib aswell (I unfortunately don't remember which one is
used on my OSX box) -- are you sure the rest (Base, System, etc.)
builds successfully? If so, you may try to call ./configure with the
"--without-WindowCarbon" (or similar) flag and see if that helps.

HTH,

        Ákos

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to