[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Package problem on mac octave
From: |
Adam Dershowitz |
Subject: |
Re: Package problem on mac octave |
Date: |
Wed, 20 Apr 2011 10:31:04 -0700 |
On Apr 20, 2011, at 10:07 AM, Julien Salort wrote:
> Le 20 avr. 2011 à 17:37, Adam Dershowitz a écrit :
>
>> Nope.
>> I went to make the change, only to find that you are correct that you had
>> made that change already. At least line 43 is already identical to what you
>> have below. Yet, I am still getting the same error.
>> Other ideas? I see that libgfortranbegin is in the package, but the warning
>> below suggests that it is not being found.
>
> The following workaround works on my Mac, although this is probably quite
> dirty.
>
> Edit the file: /Applications/Octave.app/Contents/Resources/bin/mkoctfile-3.4.0
> and search for "/tmp/deps-i386" and replace all by
> "/Applications/Octave.app/Contents/Resources"
>
> I'm interested if someone knows how to do things in a less ugly way !
> In a mean time, if you can confirm that this fixes the problem, maybe a new
> .app should be uploaded to sourceforge...
>
> Julien
Yes, that fixes the problem. It did give a bunch of warnings, because one of
the changes was to /private/Applications.... but it does seem to solve it.
Somewhat of a kludge, (octave now has to live in /Applications/ but good
enough)
Thanks much!
FYI, these are the warnings:
pkg install /Users/dersh/Desktop/Downloads/miscellaneous-1.0.11.tar.gz
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
waitbar.cc: In function ‘octave_value_list Fwaitbar(const octave_value_list&,
int)’:
waitbar.cc:126: warning: deprecated conversion from string constant to ‘char*’
waitbar.cc:147: warning: deprecated conversion from string constant to ‘char*’
waitbar.cc:148: warning: deprecated conversion from string constant to ‘char*’
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc' following
-L not found
ld: warning: directory
'/private/Applications/Octave.app/Contents/Resources/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found