well, did the one I sent you work? That was done with
MACOSX_DEPLOYMENT_TARGET set to 10.5?
On Sep 8, 2009, at 4:14 PM, Colin Aspin wrote:
> That's OK, I'll use lehuakona until you've sort it out. Let me
> know and I'll happily test it all again.
>
> COlin
>
> On Sep 8, 2009, at 2:01 PM, tim.jenness wrote:
>
>> Oh dear.
>>
>> The system that we used to build nanahope is now Snow Leopard.
>> We'll need to do the build on a different machine (probably a
>> laptop somewhere - might take a few days to sort out).
>>
>> Alternatively, if you can check out the nanahope branch and just
>> rebuild figaro that would also work (after deleting /star/lib/
>> libfig* first). You have all the build tools in /star/buildsupport.
>> All you'd need extra would be the HPC gfortran compiler.
>>
>> Tim
>>
>> On Sep 8, 2009, at 1:37 PM, Colin Aspin wrote:
>>
>>> Hi Brad, Tim,
>>>
>>> Did what you said and no, it doesn't work on Leopard. I get:
>>>
>>> [caa@nox ~]% dir /star/bin/figaro/figaro*
>>> -rw-r--r--@ 1 caa staff 164309 Jul 27 13:53 /star/bin/figaro/
>>> figaro1.ifc
>>> -rw-r--r--@ 1 caa staff 69635 Jul 27 13:53 /star/bin/figaro/
>>> figaro2.ifc
>>> -rw-r--r--@ 1 caa staff 46028 Jul 27 13:53 /star/bin/figaro/
>>> figaro3.ifc
>>> -rw-r--r--@ 1 caa staff 53627 Jul 27 13:53 /star/bin/figaro/
>>> figaro4.ifc
>>> -rw-r--r--@ 1 caa staff 42162 Jul 27 13:53 /star/bin/figaro/
>>> figaro5.ifc
>>> -rwxr-xr-x@ 1 caa staff 24243 Jul 27 13:53 /star/bin/figaro/
>>> figaro.sh*
>>> -rwxr-xr-x@ 1 caa staff 18398 Jul 27 13:53 /star/bin/figaro/
>>> figaro.icl*
>>> -rwxr-xr-x@ 1 caa staff 20421 Jul 27 13:53 /star/bin/figaro/
>>> figaro.csh*
>>> -rwxr-xr-x 1 caa staff 736272 Sep 8 13:05 /star/bin/figaro/
>>> figaro1*
>>> -rwxr-xr-x 1 caa staff 770880 Sep 8 13:05 /star/bin/figaro/
>>> figaro2*
>>> -rwxr-xr-x 1 caa staff 572312 Sep 8 13:05 /star/bin/figaro/
>>> figaro3*
>>> -rwxr-xr-x 1 caa staff 1027152 Sep 8 13:05 /star/bin/figaro/
>>> figaro5*
>>> -rwxr-xr-x 1 caa staff 734528 Sep 8 13:05 /star/bin/figaro/
>>> figaro4*
>>> [caa@nox ~]% scross
>>> dyld: unknown required load command 0x80000022
>>> Trace/BPT trap
>>> [caa@nox ~]% ls -ld /star
>>> lrwxr-xr-x 1 caa admin 25 Sep 8 13:35 /star -> /Users/caa/star-
>>> nanahope/
>>>
>>> cheers,
>>> Colin
>>>
>>> On Sep 8, 2009, at 1:20 PM, Brad Cavanagh wrote:
>>>
>>>> On Sep 8, 2009, at 1:06 PM, tim.jenness wrote:
>>>>
>>>>> So it seems that this is a real problem since libfig is
>>>>> installed as a shared library but libjty is not. libfig has a
>>>>> load of symbols required from libjty. Now this works usually
>>>>> because you build the figaro1 binary and link against libfig
>>>>> that is installed and the libjty that isn't. On my Leopard
>>>>> system it seems that the lazy loader finally realises that
>>>>> jty_subcont is not available.
>>>>>
>>>>> Other systems ignore the problem because on linux, for example,
>>>>> libfig is a static library and so gets ignored at runtime
>>>>> despite it being unusable. On Leopard it built as a shared
>>>>> library and I'm not sure why that happens.
>>>>>
>>>>> In this case fig_cross.o needs jty_subcont.
>>>>>
>>>>> I've rebuilt figaro, including jty in the install and now
>>>>> everything is fine. This is on snow leopard though and oddly the
>>>>> figaro installed libraries are now all static instead of dynamic
>>>>> (so everything works regardless). Brad can package up the figaro
>>>>> binaries. I hope they work for you on leopard.
>>>>
>>>> The patch is available at http://starlink.jach.hawaii.edu/patches/nanahope/starlink-nanahope-figaro-OSX-Intel-64bit.tar.gz
>>>>
>>>> When you unzip it it'll create star-nanahope/bin/figaro/figaroN
>>>> binaries. Copy these into your $STARLINK_DIR/bin/figaro
>>>> directory, overwriting the files already there.
>>>>
>>>> Let us know if the patch works for you, Colin, and I'll make an
>>>> announcement for the patch if it does.
>>>>
>>>> Cheers,
>>>> Brad.
>>
>> --
>> Tim Jenness
--
Tim Jenness
|