Editing Create a MacOS X App Bundle Using MacPorts
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 302: | Line 302: | ||
*** Same for octave_confgure-3.7.0+ | *** Same for octave_confgure-3.7.0+ | ||
*** Over-ride the built-in octave_configure_info and use an m-file version that replaces the original MacPorts prefix with the OCTAVE_HOME environment variable set by the bundle. | *** Over-ride the built-in octave_configure_info and use an m-file version that replaces the original MacPorts prefix with the OCTAVE_HOME environment variable set by the bundle. | ||
*** The bundled mkoctfile references the gcc4.4 libraries instead of the gcc4. | *** The bundled mkoctfile references the gcc4.4 libraries instead of the gcc4.5 libraries that are actually bundled. This needs to be corrected. | ||
** With the above changes [http://www.gnu.org/software/octave/doc/interpreter/Getting-Started-with-Oct_002dFiles.html {{Codeline|mkoctfile helloworld.cc}}] fails with the error below. This is likely due to the {{Codeline|Octave-3.7.0+.app/Contents/Resources/bin/octave}} script over-riding the build environment variables normally set by {{Codeline|mkoctfile}}. | ** With the above changes [http://www.gnu.org/software/octave/doc/interpreter/Getting-Started-with-Oct_002dFiles.html {{Codeline|mkoctfile helloworld.cc}}] fails with the error below. This is likely due to the {{Codeline|Octave-3.7.0+.app/Contents/Resources/bin/octave}} script over-riding the build environment variables normally set by {{Codeline|mkoctfile}}. | ||
*** Rely on {{Codeline|mkoctfile}} to setup the oct-file build environment (i.e. don't set any of it up in the {{Codeline|.../Octave-3.7.0+.app/Contents/Resources/bin/octave}} script. | *** Rely on {{Codeline|mkoctfile}} to setup the oct-file build environment (i.e. don't set any of it up in the {{Codeline|.../Octave-3.7.0+.app/Contents/Resources/bin/octave}} script. | ||
Line 311: | Line 311: | ||
collect2: ld returned 1 exit status | collect2: ld returned 1 exit status | ||
"/Applications/Octave-3.7.0+.app/Contents/Resources/bin/g++-mp-4. | "/Applications/Octave-3.7.0+.app/Contents/Resources/bin/g++-mp-4.5" \ | ||
-c -I"/Applications/Octave-3.7.0+.app/Contents/Resources/include/curl" \ | -c -I"/Applications/Octave-3.7.0+.app/Contents/Resources/include/curl" \ | ||
-I"/Applications/Octave-3.7.0+.app/Contents/Resources/include/readline" -fPIC \ | -I"/Applications/Octave-3.7.0+.app/Contents/Resources/include/readline" -fPIC \ | ||
Line 321: | Line 321: | ||
helloworld.cc -o helloworld.o | helloworld.cc -o helloworld.o | ||
"/Applications/Octave-3.7.0+.app/Contents/Resources/bin/g++-mp-4. | "/Applications/Octave-3.7.0+.app/Contents/Resources/bin/g++-mp-4.5" -bundle -bundle_loader \ | ||
"/Applications/Octave-3.7.0+.app/Contents/Resources/bin/octave-3.7.0+" -o helloworld.oct helloworld.o \ | "/Applications/Octave-3.7.0+.app/Contents/Resources/bin/octave-3.7.0+" -o helloworld.oct helloworld.o \ | ||
-L"/Applications/Octave-3.7.0+.app/Contents/Resources/lib/octave/3.7.0+" \ | -L"/Applications/Octave-3.7.0+.app/Contents/Resources/lib/octave/3.7.0+" \ |