installing octave 3.0.0 on a Mac Intel machine

View: New views
10 Messages — Rating Filter:   Alert me  

installing octave 3.0.0 on a Mac Intel machine

by Francis Poulin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I've recently tried building the latest version of octave on my mac  
intel 10.4.11 machine with some success.

First, when I tried to configure it I was getting an error about  
readline needing to be 4.2.  I thought this was strange so I  
installed a more recent version 5.2 in /usr/local/include/readline/.  
It still gave me the same message.  I found out that apparently on  
the mac readline is installed in /usr/include/readline/.  It might  
have been installed twice I didn't check before hand.  Anyhow, when I  
updated both locations the configure script ran.  I'm including a  
copy in case this is useful information.

Second, when I try make it doesn't seem to work.  I get the following  
messages.  Do I need to specify the library path to be something  
particular?

I've been using octave for years and even have used it in teaching as  
an alternative to matlab.  If I can get it working it would be  
something I would like to continue using in my classes.

Thanks,
Francis

/usr/bin/libtool: can't locate file for: -lcholmod
/usr/bin/libtool: file: -lcholmod is not an object file (not allowed  
in a library)
/usr/bin/libtool: can't locate file for: -lumfpack
/usr/bin/libtool: file: -lumfpack is not an object file (not allowed  
in a library)
/usr/bin/libtool: can't locate file for: -lamd
/usr/bin/libtool: file: -lamd is not an object file (not allowed in a  
library)
/usr/bin/libtool: can't locate file for: -lcamd
/usr/bin/libtool: file: -lcamd is not an object file (not allowed in  
a library)
/usr/bin/libtool: can't locate file for: -lcolamd
/usr/bin/libtool: file: -lcolamd is not an object file (not allowed  
in a library)
/usr/bin/libtool: can't locate file for: -lccolamd
/usr/bin/libtool: file: -lccolamd is not an object file (not allowed  
in a library)
/usr/bin/libtool: can't locate file for: -lcxsparse
/usr/bin/libtool: file: -lcxsparse is not an object file (not allowed  
in a library)
make[2]: *** [liboctave.dylib] Error 1
make[1]: *** [liboctave] Error 2
make: *** [all] Error 2




_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave

config.log (494K) Download Attachment

Re: installing octave 3.0.0 on a Mac Intel machine

by Ben Abbott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Francis Poulin wrote:
Hello,

I've recently tried building the latest version of octave on my mac  
intel 10.4.11 machine with some success.

First, when I tried to configure it I was getting an error about  
readline needing to be 4.2.  I thought this was strange so I  
installed a more recent version 5.2 in /usr/local/include/readline/.  
It still gave me the same message.  I found out that apparently on  
the mac readline is installed in /usr/include/readline/.  It might  
have been installed twice I didn't check before hand.  Anyhow, when I  
updated both locations the configure script ran.  I'm including a  
copy in case this is useful information.

Second, when I try make it doesn't seem to work.  I get the following  
messages.  Do I need to specify the library path to be something  
particular?

I've been using octave for years and even have used it in teaching as  
an alternative to matlab.  If I can get it working it would be  
something I would like to continue using in my classes.

Thanks,
Francis

/usr/bin/libtool: can't locate file for: -lcholmod
/usr/bin/libtool: file: -lcholmod is not an object file (not allowed  
in a library)
/usr/bin/libtool: can't locate file for: -lumfpack
/usr/bin/libtool: file: -lumfpack is not an object file (not allowed  
in a library)
/usr/bin/libtool: can't locate file for: -lamd
/usr/bin/libtool: file: -lamd is not an object file (not allowed in a  
library)
/usr/bin/libtool: can't locate file for: -lcamd
/usr/bin/libtool: file: -lcamd is not an object file (not allowed in  
a library)
/usr/bin/libtool: can't locate file for: -lcolamd
/usr/bin/libtool: file: -lcolamd is not an object file (not allowed  
in a library)
/usr/bin/libtool: can't locate file for: -lccolamd
/usr/bin/libtool: file: -lccolamd is not an object file (not allowed  
in a library)
/usr/bin/libtool: can't locate file for: -lcxsparse
/usr/bin/libtool: file: -lcxsparse is not an object file (not allowed  
in a library)
make[2]: *** [liboctave.dylib] Error 1
make[1]: *** [liboctave] Error 2
make: *** [all] Error 2
Those errors are related to suitesparse. Do you have that package installed?

Re: installing octave 3.0.0 on a Mac Intel machine

by Francis Poulin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I installed suitesparse using macports.  It didn't give me any errors and when I look in /opt/local/lib see there is a libcxsparse.a file which means that something was created.  Do you have any suggestions as to how I can test the suitesparse installation?  

The configure.log indicates that some of the sparse libraries are found but curl and qhull are not.  curl was installed separately but it's not found.   I'm not sure how big of a deal that is but I thought I would mention it just in case.

Those errors are related to suitesparse. Do you have that package installed?


Re: installing octave 3.0.0 on a Mac Intel machine

by Thomas Treichl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Francis Poulin schrieb:

> I installed suitesparse using macports.  It didn't give me any errors and
> when I look in /opt/local/lib see there is a libcxsparse.a file which means
> that something was created.  Do you have any suggestions as to how I can
> test the suitesparse installation?  
>
> The configure.log indicates that some of the sparse libraries are found but
> curl and qhull are not.  curl was installed separately but it's not found.  
> I'm not sure how big of a deal that is but I thought I would mention it just
> in case.
>
> Those errors are related to suitesparse. Do you have that package installed?

Hi Francis,

if you really want to build all dependencies of Octave on your own (because this
is quite a lot of work) and you also want to build Octave then you should have a
look at

   http://wiki.octave.org/wiki.pl?OctaveForMac

We have spent some time to explain how eg. SuiteSparse, curl, etc. have to be
installed before Octave can be build on a Mac - let's say we tried to explain
how to GNUify a Mac before building Octave ;-)

You know that you have several choices of installing various Octave version on a
Mac from Fink, HMUG, MacPorts, OctaveForge?

   Thomas
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave

Re: installing octave 3.0.0 on a Mac Intel machine

by Francis Poulin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the advice.  I used MacPorts to install octave and it gave me 2.9.15 and it seems to work.  Hopefully, they will update the version to 3.0.0 so I'll get to enjoy the new features.

Cheers,
Francis

You know that you have several choices of installing various Octave version on a
Mac from Fink, HMUG, MacPorts, OctaveForge?

   Thomas
_______________________________________________
Bug-octave mailing list
Bug-octave@octave.org
https://www.cae.wisc.edu/mailman/listinfo/bug-octave

Re: installing octave 3.0.0 on a Mac Intel machine

by Ben Abbott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Francis,

I use Fink, and have modified their octave.info file to build 3.0.0 (the official Fink release is still 2.9.15).

You might try the same with MacPorts octave.portfile.

You can look over the file at the link below.


You'll need to find in on your system and create one for 3.0.0. You'll need to understand how MacPorts upgrades packages to be sure you don't end up with a pair, or end up with other problems.

I'm not familiar with how MacPorts does its job. However, the changes required for the portfile look rather simple.

(1) Change 2.9.15 to 3.0.0
(2) Change the md5 checksum to match the 3.0.0 archive
(3) If you upgrade to Leopard, be sure to change the references to 10.4 to 10.5

If you're uncomfortable with such a task, stick to Thomas' advice. In any event, I won't be much help if you run into trouble.

Ben


On Jan 3, 2008, at 6:10 AM, Francis Poulin wrote:


Thanks for the advice.  I used MacPorts to install octave and it gave me
2.9.15 and it seems to work.  Hopefully, they will update the version to
3.0.0 so I'll get to enjoy the new features.

Cheers,
Francis




You know that you have several choices of installing various Octave
version on a
Mac from Fink, HMUG, MacPorts, OctaveForge?

  Thomas
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave



--
View this message in context: http://www.nabble.com/installing-octave-3.0.0-on-a-Mac-Intel-machine-tp14562484p14587451.html
Sent from the Octave - Bugs mailing list archive at Nabble.com.

_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave


_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave

Re: installing octave 3.0.0 on a Mac Intel machine

by Francis Poulin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the advice.

I'm not attached to Macports and I have installed fink.  Unfortunately, there is not a stable version of octave for the 10.4-intel processor.  This means that I can't even install and old version of octave using fink.  When I check out the fink packages I see that 3.0.0-1 is an unstable version of octave but it doesn't tell you how to install it. Since you've done it yourself could you explain how I might do this myself?  

Francis

Ben Abbott wrote:
I use Fink, and have modified their octave.info file to build 3.0.0  
(the official Fink release is still 2.9.15).

Re: installing octave 3.0.0 on a Mac Intel machine

by Ben Abbott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jan 4, 2008, at 4:43 AM, Francis Poulin wrote:

>
> Ben Abbott wrote:
>
>>
>> I use Fink, and have modified their octave.info file to build 3.0.0
>> (the official Fink release is still 2.9.15).
>>
>
> Thanks for the advice.
>
> I'm not attached to Macports and I have installed fink.  
> Unfortunately,
> there is not a stable version of octave for the 10.4-intel  
> processor.  This
> means that I can't even install and old version of octave using  
> fink.  When
> I check out the fink packages I see that 3.0.0-1 is an unstable  
> version of
> octave but it doesn't tell you how to install it. Since you've done it
> yourself could you explain how I might do this myself?
>
> Francis

Regarding Fink's qualification of stable/unstable, you can safely  
(imo) ignore its implied meaning. This qualification doesn't carry the  
same weight at it does with Debian.

To install unstable apps, you'll need to edit /sw/etc/fink.conf and  
add the unstable tree. The line in question is below

Trees: local/main stable/main stable/crypto unstable/main unstable/
crypto local/injected

If you don't already have the "local" part there, and don't have a  
desire to create your own package descriptions for Fink to build and  
install, you can leave those items out.

Ben


_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave

Re: installing octave 3.0.0 on a Mac Intel machine

by Francis Poulin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I did what you suggested (without the local/injected option) and tried installing octave-3.0.0-1 using
fink on two different intel macs running 10.4.  It worked on my laptop but not my imac.  This I find
strange.  When I scroll through the output on my imac, the failure,  I see this

Octave successfully built.  Now choose from the following:

   ./run-octave    - to run in place to test before installing
   make check      - to run the tests
   make install    - to install

 make check
make -f octMakefile check
make -C test check
./build_sparse_tests.sh
../run-octave --norc --silent --no-history ./fntests.m .

This seems to indicate that it was successfully built, which is good news.  When I glance through
the checks I see this Error

making ov-int8.df from ov-int8.cc
mv: rename ov-int8.df-t to ov-int8.df: No such file or directory
make[2]: *** [ov-int8.df] Error 1
making install in scripts
making install in audio

On my laptop, there were still other checks going on.  It would appear to me, a non-expert, that for some reason a check didn't work and because of that it didn't continue with the installation.  Is that about right?

One difficulty with fink is that it puts everything in /sw/src/fink.build/root-octave-3.0.0-1/..
and then deletes it so you can't look at the log files to get a hard copy.  

I tried to reinstall it in fink and it doesn't like it because it thinks that it's done.  

Might this be an octave problem?

Any advice as to how I can get fink to make, not check, and install?
Ben Abbott wrote:
Regarding Fink's qualification of stable/unstable, you can safely  
(imo) ignore its implied meaning. This qualification doesn't carry the  
same weight at it does with Debian.

To install unstable apps, you'll need to edit /sw/etc/fink.conf and  
add the unstable tree. The line in question is below

Trees: local/main stable/main stable/crypto unstable/main unstable/
crypto local/injected

If you don't already have the "local" part there, and don't have a  
desire to create your own package descriptions for Fink to build and  
install, you can leave those items out.

Ben


_______________________________________________
Bug-octave mailing list
Bug-octave@octave.org
https://www.cae.wisc.edu/mailman/listinfo/bug-octave

Re: installing octave 3.0.0 on a Mac Intel machine

by Ben Abbott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Francis,

If the "make check" is the problem, you can try editing the  
octave.info file and removing the line "make check" from the build  
script.

Ben

On Jan 4, 2008, at 10:50 PM, Francis Poulin wrote:

>
> I did what you suggested (without the local/injected option) and tried
> installing octave-3.0.0-1 using
> fink on two different intel macs running 10.4.  It worked on my  
> laptop but
> not my imac.  This I find
> strange.  When I scroll through the output on my imac, the failure,  
> I see
> this
>
> Octave successfully built.  Now choose from the following:
>
>   ./run-octave    - to run in place to test before installing
>   make check      - to run the tests
>   make install    - to install
>
> make check
> make -f octMakefile check
> make -C test check
> ./build_sparse_tests.sh
> ../run-octave --norc --silent --no-history ./fntests.m .
>
> This seems to indicate that it was successfully built, which is good  
> news.
> When I glance through
> the checks I see this Error
>
> making ov-int8.df from ov-int8.cc
> mv: rename ov-int8.df-t to ov-int8.df: No such file or directory
> make[2]: *** [ov-int8.df] Error 1
> making install in scripts
> making install in audio
>
> On my laptop, there were still other checks going on.  It would  
> appear to
> me, a non-expert, that for some reason a check didn't work and  
> because of
> that it didn't continue with the installation.  Is that about right?
>
> One difficulty with fink is that it puts everything in
> /sw/src/fink.build/root-octave-3.0.0-1/..
> and then deletes it so you can't look at the log files to get a hard  
> copy.
>
> I tried to reinstall it in fink and it doesn't like it because it  
> thinks
> that it's done.
>
> Might this be an octave problem?
>
> Any advice as to how I can get fink to make, not check, and install?
>
> Ben Abbott wrote:
>>
>> Regarding Fink's qualification of stable/unstable, you can safely
>> (imo) ignore its implied meaning. This qualification doesn't carry  
>> the
>> same weight at it does with Debian.
>>
>> To install unstable apps, you'll need to edit /sw/etc/fink.conf and
>> add the unstable tree. The line in question is below
>>
>> Trees: local/main stable/main stable/crypto unstable/main unstable/
>> crypto local/injected
>>
>> If you don't already have the "local" part there, and don't have a
>> desire to create your own package descriptions for Fink to build and
>> install, you can leave those items out.
>>
>> Ben
>>
>>
>> _______________________________________________
>> Bug-octave mailing list
>> Bug-octave@...
>> https://www.cae.wisc.edu/mailman/listinfo/bug-octave
>>
>>
>
> --
> View this message in context: http://www.nabble.com/installing-octave-3.0.0-on-a-Mac-Intel-machine-tp14562484p14617933.html
> Sent from the Octave - Bugs mailing list archive at Nabble.com.
>
> _______________________________________________
> Bug-octave mailing list
> Bug-octave@...
> https://www.cae.wisc.edu/mailman/listinfo/bug-octave

_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave