Help With Linux Build

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Help With Linux Build

Rob Halverson
I think I may have bitten off more than I can chew.  I'm trying to build
Opticks on an old Apple G5 - pre-Intel chip meaning big endian - with
Debian 7.4 in place of OSX.  I can't install from the deb binary on the
website - I'm thinking because of the 'endianiality' issue.  So, I'm
trying to build from source.  I used the retrieve-dependencies.py script
without incident (I think).  When I ran the build.py script, it errored
out with some python errors.  I tried explicitly pointing the script to
the python 2.7 interpreter in my file structure, but the same errors
popped up.  I did point the Build.py script to the dependencies using
the -d switch in the command line.  I'd be happy to send a file with
what I'm seeing, but I wanted to first see if there was something
intuitively obvious I was missing.  Any help would be greatly appreciated.

Rob

------------------------------------------------------------------------------
_______________________________________________
Opticks-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opticks-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Help With Linux Build

tclarke
Administrator
Opticks is unlikely to work on this machine. You would need to make a number of changes to the source code and build system to deal with the endian changes. I also don't think the graphics card will support a recent enough version of OpenGL  (portions of the application require OpenGL 3.2 or later with the GL_ARG_explicit_atrib_location extension).

If you still want to attempt to get it working, you should look in the SConstruct files (one in application and one in application/PlugIns/src) and adjust compiler settings, etc. You'll also need to change the Linux section in application/Interfaces/AppConfig.h   You'll also want to search all the source code for "LINUX" preprocessor blocks to ensure there are no endian assumptions in those (we try and use the ENDIAN defines for this but there's a lot of legacy code from 10+ years so there may be some leftover sections not using this). Also grep for "x86_64" which is how we define the platform when accessing dependencies. You'll need to rebuild the third party dependencies ("./dependencies.py source" should download all the source tars) I'd suggest building just the core and nothing in application/PlugIns/src until you get the app starting, then build just the PlugInSampler projects to test out plugin loading.

----------------------
Trevor R.H. Clarke
Software Engineer, Ball Aerospace
(937)320-7087


> -----Original Message-----
> From: Rob Halverson [mailto:[hidden email]]
> Sent: Saturday, March 29, 2014 5:25 PM
> To: [hidden email]
> Subject: [Opticks-users] Help With Linux Build
>
> I think I may have bitten off more than I can chew.  I'm trying to build
> Opticks on an old Apple G5 - pre-Intel chip meaning big endian - with
> Debian 7.4 in place of OSX.  I can't install from the deb binary on the
> website - I'm thinking because of the 'endianiality' issue.  So, I'm
> trying to build from source.  I used the retrieve-dependencies.py script
> without incident (I think).  When I ran the build.py script, it errored
> out with some python errors.  I tried explicitly pointing the script to
> the python 2.7 interpreter in my file structure, but the same errors
> popped up.  I did point the Build.py script to the dependencies using
> the -d switch in the command line.  I'd be happy to send a file with
> what I'm seeing, but I wanted to first see if there was something
> intuitively obvious I was missing.  Any help would be greatly appreciated.
>
> Rob
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Opticks-users mailing list
> [hidden email]
> https://urldefense.proofpoint.com/v1/url?u=https://lists.sourceforge.net/l
> ists/listinfo/opticks-
> users&k=1GMYaKjmAz8SrwAdnQ9klA%3D%3D%0A&r=Ho639Wn0LQPE3P8Sn
> MqwUA%3D%3D%0A&m=srEnE0ifRmzll3tHjRb4aLHJUBzWOYHKf7RaRLmoBo
> Y%3D%0A&s=543430e560a596da2e44b123100f3f6ae96a4eecb98df97b9a4d6b
> e8244b0cbc



This message and any enclosures are intended only for the addressee.  Please
notify the sender by email if you are not the intended recipient.  If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful.  Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.

------------------------------------------------------------------------------
_______________________________________________
Opticks-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opticks-users
Loading...