Hello, When installing packages on the OS X 3.4.3 binary release, I find that mkoctfile fails to correctly construct the required LDFLAGS. Here is a sample attempt (note that the path to the Octave.app directory is /Applications/octave/Octave.app)
octave-3.4.0:1> getenv('LDFLAGS') ans = -L/Applications/octave/Octave.app/Contents/Resources/lib -L/Applications/octave/Octave.app/Contents/Resources/lib/octave-3.4.0 octave-3.4.0:2> cd octave/packages octave-3.4.0:3> pkg install -verbose -global struct-1.0.9.tar.gz mkoctfile: stripping disabled on this platform ld: warning: directory '/Applications/Octave.app/Contents/Resources/lib' following -L not found ld: warning: directory '/Applications/Octave.app/Contents/Resources/lib/gcc/i686-apple-darwin9/4.2.1' following -L not found ld: warning: directory '/Applications/Octave.app/Contents/Resources/lib/gcc' following -L not found ld: warning: directory '/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin9/4.2.1' following -L not found ld: warning: directory '/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following -L not found ld: warning: directory '/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin9/4.2.1/../../..' following -L not found ld: library not found for -lgfortranbegin collect2: ld returned 1 exit status (All of the ld -L flags have the wrong paths, even though the getenv('LDFLAGS') seems correct.) Is there a corrective action I can take? My mac runs OS 10.6.8 and I'm using the Xcode developer tools. Thanks. -- View this message in context: http://gnu-octave-repository.2306053.n4.nabble.com/LD-flag-problems-prevent-pkg-installation-OS-X-v3-4-3-binary-tp4341528p4341528.html Sent from the octave-dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev