From help-octave-request at bevo dot che dot wisc dot edu Fri Jun 27 10:48:38 2003 Subject: Octave-2.1.49 and Apple GCC 3.3 From: Fumihiro CHIBA To: help-octave at bevo dot che dot wisc dot edu Cc: Fumihiro CHIBA Date: Sat, 28 Jun 2003 00:48:09 +0900 Hi, GCC 3.3 for Mac OS X is published as developer tools by Apple on 24 June. Using GCC 3.3, I succeeded in the installation of Octave-2.1.49 on Mac OS X 10.2.6. So, I report on the Installation of Octave-2.1.49 using GCC 3.3. Plan of the installation: 1. Install "December 2002 Mac OS X Developer Tools", if necessary. 2. Install "Dec 2002 gcc Updater" ( as GCC 3.3) , if necessary. ( You can get them from http://www.apple.com/developer/ ) In order to get developer tools, you need registration as developer at http://www.apple.com/developer/ 3. Install g77 , if necessary. (For example, g77 is obtained from Fink. http://sourceforge.net/projects/fink/ This g77 is for GCC 3.1. But there may be no problem.) 4. Install libraries Readline, dejaGNU and gperf, if necessary. (refer to http://homepage.mac.com/chibaf/math/macosx/install/option.html ) You can also obtain them from Fink. http://sourceforge.net/projects/fink/ 5. Install fftw-2.1.5 and ATLAS, if necessary. 6. Install Octave-2.1.49 6.1 do the command: setenv FLIBS '-L/sw/lib/ -lg2c' 6.2 do the command: ./configure The configure command digs fftw-2.1.5 and ATLAS automatically without option. 6.3 Edit octave-2.1.49/config.h. Change "/* #undef HAVE_DYLD_API */" to "#define HAVE_DYLD_API 1". 6.4 make (,If configure ends with no error) 6.5 sudo make install (,If make ends with no error) On details of the above procedure, refer to http://homepage.mac.com/chibaf/math/macosx/install/ Fumihiro CHIBA Tokorozawa, Saitama, Japan ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------