On 12/28/13 11:41 AM, Paulo de Souza Mendes wrote:
> Dear all,
>
> I am trying to install the octave package odepkg with no success. I have
> very little experience with all this, and so I would be very grateful if
> someone points out what I am doing wrong and how I should proceed.
>
> It seems that I need octave364-dev installed, but for some reason I
> didn't manage to have both octave and octave364-dev installed at the
> same time. Next I describe my attempt in detail.
>
> After downloading odepkg-0.8.4.tar, my first step in this attempt was,
> within octave:
>
> pkg install ~/Downloads/odepkg-0.8.4.tar
>
> I got:
>
> sh: /sw/bin/mkoctfile-3.6.4: No such file or directory
> warning: unable to find mkoctfile in expected location:
> '/sw/bin/mkoctfile-3.6.4'
> warning: mkoctfile exited with failure status
> .
> .
> .
> checking for mkoctfile... /sw/bin/mkoctfile-3.6.4
> error: called from 'pkg>configure_make' in file
> /sw/share/octave/3.6.4/m/pkg/pkg.m near line 1373, column 9
> error: called from:
> error:   /sw/share/octave/3.6.4/m/pkg/pkg.m at line 827, column 5
> error:   /sw/share/octave/3.6.4/m/pkg/pkg.m at line 383, column 9
>
> I googled this problem and got the impression that I need to install
> octave364-dev. To this end, I tried:
>
> fink install octave364-dev
>
> and got:
>
> Password:
> Information about 8222 packages read in 0 seconds.
> The following package will be installed or updated:
>   octave364-dev
> The following 2 additional packages will be installed:
>   octave364 octave364-shlibs
> Do you want to continue? [Y/n] y
> Reading buildlock packages...
> Could not resolve inconsistent dependencies!
>
> Fink isn't sure how to install the above packages safely. You may be
> able to fix things by running:
>
>    fink scanpackages
>    sudo apt-get update
>    sudo apt-get install octave364-dev=3.6.4-9 octave364-shlibs=3.6.4-9
> octave364=3.6.4-9
>
> Failed: Fink::SysState: Could not resolve inconsistent dependencies
>
>
> I followed the suggestion given in the error message above:
>
> fink scanpackages
>
> Password:
> Updating the list of locally available binary packages.
> Scanning dists/local/main/binary-darwin-x86_64
> Scanning dists/stable/main/binary-darwin-x86_64
>
> sudo apt-get update
>
> Reading Package Lists... Done
> Building Dependency Tree... Done
>
> sudo apt-get install octave364-dev=3.6.4-9 octave364-shlibs=3.6.4-9
> octave364=3.6.4-9
>
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be REMOVED:
>    octave-atlas octave364-atlas octave364-atlas-shlibs
> The following NEW packages will be installed:
>    octave364 octave364-dev octave364-shlibs
> 0 packages upgraded, 3 newly installed, 3 to remove and 0  not upgraded.
> Need to get 0B/10.6MB of archives. After unpacking 3301kB will be used.
> Do you want to continue? [Y/n]
> (Reading database ... 53044 files and directories currently installed.)
> Removing octave-atlas ...
> install-info(octave.info): deleting entry `* Octave: (octave) ...'
> Removing octave364-atlas ...
> Removing octave364-atlas-shlibs ...
> Selecting previously deselected package octave364-shlibs.
> (Reading database ... 51914 files and directories currently installed.)
> Unpacking octave364-shlibs (from
> .../octave364-shlibs_3.6.4-9_darwin-x86_64.deb) ...
> Selecting previously deselected package octave364.
> Unpacking octave364 (from .../octave364_3.6.4-9_darwin-x86_64.deb) ...
> Selecting previously deselected package octave364-dev.
> Unpacking octave364-dev (from
> .../octave364-dev_3.6.4-9_darwin-x86_64.deb) ...
> Setting up octave364-shlibs (3.6.4-9) ...
>
> Setting up octave364 (3.6.4-9) ...
>
> Setting up octave364-dev (3.6.4-9) ...
> Clearing dependency_libs of .la files being installed
>
> Everything went fine, except that the octave has been removed. I
> proceeded to reinstall it:
>
> fink install octave-atlas
>
> Password:
> Information about 8222 packages read in 1 seconds.
> The following package will be installed or updated:
>   octave-atlas
> The following 2 additional packages will be installed:
>   octave364-atlas octave364-atlas-shlibs
> Do you want to continue? [Y/n]
> Reading buildlock packages...
> Could not resolve inconsistent dependencies!
>
> Fink isn't sure how to install the above packages safely. You may be
> able to fix things by running:
>
>    fink scanpackages
>    sudo apt-get update
>    sudo apt-get install octave-atlas=3.6.4-9
> octave364-atlas-shlibs=3.6.4-9 octave364-atlas=3.6.4-9
>
> Failed: Fink::SysState: Could not resolve inconsistent dependencies
>
> I.e. I got an error message analogous to the one I got when tried to
> install octave364-dev through fink. Again I followed the suggestion
> given in the error message:
>
> fink scanpackages
>
> Updating the list of locally available binary packages.
> Scanning dists/local/main/binary-darwin-x86_64
> Scanning dists/stable/main/binary-darwin-x86_64
>
> sudo apt-get update
>
> Reading Package Lists... Done
> Building Dependency Tree... Done
>
> sudo apt-get install octave-atlas=3.6.4-9 octave364-atlas-shlibs=3.6.4-9
> octave364-atlas=3.6.4-9
>
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be REMOVED:
>    octave364 octave364-dev octave364-shlibs
> The following NEW packages will be installed:
>    octave-atlas octave364-atlas octave364-atlas-shlibs
> 0 packages upgraded, 3 newly installed, 3 to remove and 0  not upgraded.
> Need to get 0B/10.6MB of archives. After unpacking 3301kB will be freed.
> Do you want to continue? [Y/n]
> (Reading database ... 53797 files and directories currently installed.)
> Removing octave364-dev ...
> Removing octave364 ...
> Removing octave364-shlibs ...
> Selecting previously deselected package octave364-atlas-shlibs.
> (Reading database ... 51914 files and directories currently installed.)
> Unpacking octave364-atlas-shlibs (from
> .../octave364-atlas-shlibs_3.6.4-9_darwin-x86_64.deb) ...
> Selecting previously deselected package octave364-atlas.
> Unpacking octave364-atlas (from
> .../octave364-atlas_3.6.4-9_darwin-x86_64.deb) ...
> Selecting previously deselected package octave-atlas.
> Unpacking octave-atlas (from .../octave-atlas_3.6.4-9_darwin-x86_64.deb) ...
> Setting up octave364-atlas-shlibs (3.6.4-9) ...
>
> Setting up octave364-atlas (3.6.4-9) ...
>
> Setting up octave-atlas (3.6.4-9) ...
> * Octave: (octave). Interactive language for numerical computations.
> install-info(/sw/share/info/octave.info): no section specified for new
> entry, placing at end
>
> That is, I now have octave back, but octave364-dev is gone... In
> summary, I do not know how to get out of this loop, and any help will be
> very welcome.
>
> Best,
>
> Paulo
>
>

You'd want octave364-atlas-dev given the output above.  But why are you 
building odepkg manually?  Fink provides one.  Try "fink install 
odepkg-atlas-oct364".

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to