I found three instances for ../gcc-4.2 and ../g++-4.2 and i have
changed them. I guess i have to run the command "pkg install -forge
miscellaneous" again from octave terminal. Do you think uninstalling
Xcode and getting gcc/g++ compilers separately, then download Octave and
start the installation afresh will help?
On the contrary can i install
Ubuntu to run parallel (Vmachine?) so i can run octave on that platform.
My concern is that i still have issues pending with it++ which is also
having problem, because i cannot link it++ library with the g++ ( i mean
c++ library).
i await your advice; thanks for the great help.
James
On Wed, 01 Feb 2012 15:04:56 -0500, Alexander Hansen wrote:
>
-----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/ [1]
> -----BEGIN PGP SIGNATURE-----
>
Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/ [2]
>
>
iEYEARECAAYFAk8pmugACgkQB8UpO3rKjQ9IUQCffmC1IRsGL2aU+N6LgvMBlzGV
>
lsMAn2tCkCTAZupjRoiC7D5ePopx2It5
> =gD0N
> -----END PGP SIGNATURE-----
Links:
------
[1] http://finkakh.wordpress.com/
[2]
http://enigmail.mozdev.org/
------------------------------------------------------------------------------
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