|
From: | A Scotte Hodel |
Subject: | Re: Octave on Mac |
Date: | Thu, 12 May 2005 23:43:19 -0500 |
The "magic" was waiting for me in the fink install files for octave-forge.
Three things to do: (1) set SH_LDFLAGS to -lhdf5 when making octave forge. (2) patch /extra/MacOSX/Makefile : -sndplay: OFSndPLay.cc +sndplay: OFSndPlay.cc mkdir -p bin - CC -ObjC -o bin/ofsndplay OFSndPLay.cc -framework Cocoa + cc -ObjC -o bin/ofsndplay OFSndPlay.cc -framework Cocoa(3) Patch main/image/pngread.cc (This is where I got the error from png.h) Apparently the order of octave/oct.h and png.h make a difference in the compile
-#include <octave/oct.h> #include "png.h" - +#include <octave/oct.h> + typedef struct { int width; On May 12, 2005, at 3:17 PM, Joe Koski wrote:
If you're using Fink for the Fortran compiler, removing /sw from the pathwon't help get the build done. I use the binary g77-3.4.2 compiler fromhttp://hpc.sourceforge.net/ for my Fortran compiler. It has worked well for me. There is also a binary installation of octave-2.1.69 with octave-forgeat the same site. That's what I used before I built octave-2.1.64 and 2.1.69. Joe on 5/12/05 10:03 AM, A Hodel at address@hidden wrote:Thanks, Joe. I'll give that a try when I get home. (Using the home machine for test installation) On May 12, 2005, at 10:41 AM, Joe Koski wrote:I'm no expert on the arcane world of make files, but my take is that some remnants of Fink are confusing ./configure when it looks to see where everything is before the build process. Can you take /sw out of your path temporarily by temporarily changing .bash_profile (or whatever), and see if that doesn't allow ./configure to find the Mac native alternatives rather than the Fink versions of things? My 2.1.69 built on my machine under OS X 10.3.8 without problems, and I have octaves-2.1.57 and -2.1.64 still installed on my Mac. Joe KoskiA Scottedward Hodel, PhD, Associate Professor Dept. Electrical and Computer Engineering, 200 Broun Hall Auburn University, AL 36849-5201 (334) 844-1854 Fax: (34) 844-1809 http://www.eng.auburn.edu/~hodelas
------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |