-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/1/12 2:17 PM, OYEDAPO OLUFEMI wrote:
> Please find the newly generated log file attached.
> 
> I think i should let you know as well that i have Xcode 4 for os x 
> lion installed. I can compile c++ source code from the terminal 
> (and also on Xcode IDE) that is why i feel the gcc/g++ compiler is 
> ok.
> 
> James
> 
> 

We found the problem.  Let's go back to the mailing list now:

configure:2171: checking for gcc
configure:2198: result: /usr/bin/gcc-4.2
configure:2427: checking for C compiler version
configure:2436: /usr/bin/gcc-4.2 --version >&5
./configure: line 2438: /usr/bin/gcc-4.2: No such file or directory


You have compilers, true.  What you _don't_ have is /usr/bin/gcc-4.2.
 Octave.app was built on a system where that is present.
Unfortunately, that's not the case on OS X systems with Xcode 4.2.

Unless someone here as a better idea, I suggest editing

/Applications/Octave.app/Contents/Resources/bin/mkoctfile-3.4.0

(e.g. control-click on Octave in your Applications folder, and select
'Show Package Contents' to get to mkoctfile-3.4.0).  Then change any
instances of '/usr/bin/gcc-4.2' to '/usr/bin/gcc', and instances of
'/usr/bin/g++-4.2' to '/usr/bin/g++', and save the file.

I can't guarantee that this will allow you to install _every_ package,
however.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8pmugACgkQB8UpO3rKjQ9IUQCffmC1IRsGL2aU+N6LgvMBlzGV
lsMAn2tCkCTAZupjRoiC7D5ePopx2It5
=gD0N
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to