help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems installing optim on OSX 10.9 using MacPorts


From: Ben Abbott
Subject: Re: problems installing optim on OSX 10.9 using MacPorts
Date: Fri, 18 Jul 2014 16:36:59 -0400

On Jul 18, 2014, at 3:25 PM, Steven Dorsher <address@hidden> wrote:

> On Fri, Jul 18, 2014 at 1:34 PM, Ben Abbott <address@hidden> wrote:
> 
>> On Jul 18, 2014, at 2:07 PM, Ben Abbott <address@hidden> wrote:
>> 
>> > On Jul 18, 2014, at 1:25 PM, Steven Dorsher <address@hidden> wrote:
>> >
>> >> Hello again,
>> >>
>> >> In the last week since I asked my basic question about how to install 
>> >> optim on a Mac using MacPorts (sudo port install octave-optim), I had to 
>> >> reinstall my operating system. This broke MacPorts, so I had to uninstall 
>> >> MacPorts and reinstall it. Now I am trying to reinstall octave, including 
>> >> the optim package. However, it seems to be choking on installation of the 
>> >> general package. Here's the error message I'm getting:
>> >>
>> >> bash-3.2$ sudo port install octave-optim
>> >> --->  Computing dependencies for octave-optim
>> >> --->  Dependencies to be installed: octave-miscellaneous octave-general 
>> >> octave-struct
>> >> --->  Configuring octave-general
>> >> Error: org.macports.configure for port octave-general returned: configure 
>> >> failure: command execution failed
>> >> Error: Failed to install octave-general
>> >> Please see the log file for port octave-general for details:
>> >>
>> >> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave-general/octave-general/main.log
>> >> Error: The following dependencies were not installed: 
>> >> octave-miscellaneous octave-general octave-struct
>> >> To report a bug, follow the instructions in the guide:
>> >>    http://guide.macports.org/#project.tickets
>> >> Error: Processing of port octave-optim failed
>> >
>> > Please do as the error asks and report this to Fink.  If you don't want to 
>> > file a bug report, then use their maillist
>> >
>> >       http://www.finkproject.org/lists/fink-users.php
>> >
>> 
>> *** Correction ***
>> 
>> Please do as the error asks and report this to *Macports*.  You can file a 
>> bug report at the link below.
>> 
>>         https://trac.macports.org/wiki/Tickets
>> 
>> Ben
> 
> I reported it, but what's your take on why this other approach doesn't work?
> hg clone http://hg.code.sf.net/p/octave/optim octave-optim
> 
> (start octave)
> pkg install optim-1.3.1.tar

To build the package yourself, you may need to verify that you're using the 
same tool chain (compiler and libs) that was used when building Octave.  

That is why is it (should be) easier to have Macports build and install the 
package for you. Since the macport way isn't working for you, you can try 
installing the dependencies for optim and finally optim.

        pkg install -forge -local general
        pkg install -forge -local miscellaneous
        pkg install -forge -local struct
        pkg install -forge -local optim

Local installs will cause trouble if you have more than one version of Octave 
installed (because different versions of Octave can have a different binary 
interface).

Ben








reply via email to

[Prev in Thread] Current Thread [Next in Thread]