On Thu, 12 Jan 2006, Martin Costabel wrote:

Viv Kendon wrote:
On Wed, 11 Jan 2006, Martin Costabel wrote:
[]
In the octave configure file I find tests for <Mach-O/dyld.h>. This does not exist, but there is /usr/include/mach-o/dyld.h. On my system, this is
[]
This is a big fat bug in the octave sources. I don't know where they got this "Mach-O" from. It has never existed.

Funnily enough, they have a ChangeLog entry

 2003-06-16  Per Persson <[EMAIL PROTECTED]>
    * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h.

They just didn't yet get around to fixing this in configure, too :-)

You can test if things work better if you make a symlink in /usr/include from Mach-O to mach-o.

I did this on both my systems (on the server after installing the 10.4.4 update). Octave and octave-forge both build and install fine, and work (so far as the first few examples go, have not had a chance to try more).

I did the test on my system, moved /usr/include/mach-o out of the way and rebuilt octave. This gives me the same symptoms that you have been seeing. So it seems that the code that they are using when Mach-O/dyld.h is not found (using dlopen etc) is not working.

I am CCing the octave maintainer now, because octave-forge seems to be an innocent victim in this affair.

Huge thanks for finding this and the fix! I can now go back to trying to learn octave and make it do something useful...

-- Viv
------------------------------------------------
Dr Viv Kendon               [EMAIL PROTECTED]
Quantum Information           tel: 0113 343 3858
Physics & Astronomy          University of Leeds
         http://quantum.leeds.ac.uk/~viv


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to