On 11/24/13 1:57 PM, marieme imene wrote:
> Hello and thanks for caring,
> I'm using Mac os Lion 10.7.5. This is what I got when I tried the commands:
>
> Scanning package description files..........
> Information about 8752 packages read in 13 seconds.
> The following package will be rebuilt:
>   optim-atlas-oct362
> Setting runtime build-lock...
> dpkg-deb -b
> /sw2/src/fink.build/root-fink-buildlock-optim-atlas-oct362-1.2.2-2
> /sw2/src/fink.build
> dpkg-deb : construction du paquet «
> fink-buildlock-optim-atlas-oct362-1.2.2-2 » dans «
> /sw2/src/fink.build/fink-buildlock-optim-atlas-oct362-1.2.2-2_2013.11.24-22.51.16_darwin-x86_64.deb
> ».
> Installing build-lock package...
> /sw2/bin/dpkg-lockwait -i
> /sw2/src/fink.build/fink-buildlock-optim-atlas-oct362-1.2.2-2_2013.11.24-22.51.16_darwin-x86_64.deb
>
> Selecting previously deselected package
> fink-buildlock-optim-atlas-oct362-1.2.2-2.
> (Reading database ... 54111 files and directories currently installed.)
> Unpacking fink-buildlock-optim-atlas-oct362-1.2.2-2 (from
> .../fink-buildlock-optim-atlas-oct362-1.2.2-2_2013.11.24-22.51.16_darwin-x86_64.deb)
> ...
> Setting up fink-buildlock-optim-atlas-oct362-1.2.2-2
> (2013.11.24-22.51.16) ...
>
> env LANG=C LC_ALL=C /sw2/bin/tar  --no-same-owner --no-same-permissions
> -xf /sw2/src/optim-1.2.2.tar.gz
> /tmp/fink.r6xdF
> #!/bin/sh -ev
> export OCTAVE=/sw2/bin/octave-3.6.2
> pkgsrc=optim-1.2.2
>
> ##### Invariant stuff begins here #####
> /sw2/share/fink-octave-scripts/octave-forge-patch.sh optim 1.2.2 3.6.2
> /sw2/src/fink.build/optim-atlas-oct362-1.2.2-2/optim-1.2.2
> /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/sw2 $pkgsrc
> #!/bin/sh -ev
> if [ $UID -ne 0 ]
> then
>          echo "$1 cannot be built with --build-as-nobody"
>          exit 1
> fi
> octvers=$3
> subst1="s,@PKG@,$1,g"
> subst2="s,@PKGVERS@,$2,g"
> subst3="s,@OCTVERS@,$octvers,g"
> subst4="s,@BUILDDIR@,$4,g"
> subst5="s,@INSTDIR@,$5,g"
> subst6="s,@PKGSRC@,$6,g"
> for scriptfile in octave-forge-install.sh octave-forge-inst \
>                                    octave-forge-postinst.sh
> octave-forge-postinst \
>                                    octave-forge-prerm.sh
> octave-forge-prerm; do
>          sed -e $subst1 -e $subst2 -e $subst3 -e $subst4 -e $subst5
> /sw2/share/fink-octave-scripts/$scriptfile.in > $scriptfile
>          chmod a+x $scriptfile
> done
> if [[ "$octvers" > "3.4.0" ]] ; then
>
> oc_shell_script="/sw2/share/fink-octave-scripts/octave-forge-compile-3.4.3.sh.in"
>
>
> oc_oct_script="/sw2/share/fink-octave-scripts/octave-forge-comp-3.4.3.in"
> else
>
> oc_shell_script="/sw2/share/fink-octave-scripts/octave-forge-compile-3.0.5.sh.in"
>
>
> oc_oct_script="/sw2/share/fink-octave-scripts/octave-forge-comp-3.0.5.in"
> fi
> sed -e $subst1 -e $subst3 -e $subst4 -e $subst6 $oc_shell_script >
> octave-forge-compile.sh
> sed -e $subst1 -e $subst3 -e $subst6 $oc_oct_script > octave-forge-comp
> sed -e $subst3 -e $subst4
> /sw2/share/fink-octave-scripts/genmkoctfile.sh.in > genmkoctfile.sh
> chmod a+x octave-forge-comp*
> chmod a+x genmkoctfile.sh
> ./octave-forge-compile.sh
> #!/bin/sh -ev
> # repack tarball, since octave-3.4.0+ appears not to want to install
> # from directories
> cd ..
> tar -cf optim.tar optim-1.2.2
> mkdir -p bld/share/octave/3.6.2/packages bld/lib/octave/3.6.2/packages
> `which xvfb-run`
> /sw2/src/fink.build/optim-atlas-oct362-1.2.2-2/optim-1.2.2/octave-forge-comp
>
> which xvfb-run
> GNU Octave, version 3.6.2
> Copyright (C) 2012 John W. Eaton and others.
> This is free software; see the source code for copying conditions.
> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
> FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
>
> Octave was configured for "x86_64-apple-darwin".
>
> Additional information about Octave is available at http://www.octave.org.
>
> Please contribute if you find this software useful.
> For more information, visit http://www.octave.org/help-wanted.html
>
> Read http://www.octave.org/bugs.html to learn how to submit bug reports.
>
> For information about changes from previous versions, type `news'.
>
> warning: X11 DISPLAY environment variable not set
> executing commands from /sw2/share/octave/site/m/startup/octaverc ... done.
> executing commands from /sw2/share/octave/3.6.2/m/startup/octaverc ...
> done.
>
> ans =
> /sw2/src/fink.build/optim-atlas-oct362-1.2.2-2/bld/share/octave/3.6.2/packages
>
> mkdir (/var/tmp/oct-pFsBIr)
> untar (./optim.tar, /var/tmp/oct-pFsBIr)
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> samin.cc:477:1: warning: control may reach end of non-void function
> [-Wreturn-type]
> }
> ^
> 1 warning generated.
> mkoctfile: stripping disabled on this platform
> LFLAGS="-L/sw2/lib/octave/3.6.2 -L/sw2/lib -ltatlas -ltatlas"
> /sw2/bin/mkoctfile-3.6.2 -s __bfgsmin.cc
> LFLAGS="-L/sw2/lib/octave/3.6.2 -L/sw2/lib -ltatlas -ltatlas"
> /sw2/bin/mkoctfile-3.6.2 -s numgradient.cc
> LFLAGS="-L/sw2/lib/octave/3.6.2 -L/sw2/lib -ltatlas -ltatlas"
> /sw2/bin/mkoctfile-3.6.2 -s numhessian.cc
> LFLAGS="-L/sw2/lib/octave/3.6.2 -L/sw2/lib -ltatlas -ltatlas"
> /sw2/bin/mkoctfile-3.6.2 -s samin.cc
> LFLAGS="-L/sw2/lib/octave/3.6.2 -L/sw2/lib -ltatlas -ltatlas"
> /sw2/bin/mkoctfile-3.6.2 -s __disna_optim__.cc
> copyfile /var/tmp/oct-pFsBIr/optim-1.2.2/src/__bfgsmin.oct
> /var/tmp/oct-pFsBIr/optim-1.2.2/src/__disna_optim__.oct
> /var/tmp/oct-pFsBIr/optim-1.2.2/src/numgradient.oct
> /var/tmp/oct-pFsBIr/optim-1.2.2/src/numhessian.oct
> /var/tmp/oct-pFsBIr/optim-1.2.2/src/samin.oct
> /var/tmp/oct-pFsBIr/optim-1.2.2/inst/x86_64-apple-darwin-api-v48+
> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_1'
> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_2'
> warning: gen_doc_cache: unusable help text found in file 'test_d2_min_3'
> /var/tmp/octave-help-hVcd9z:64: must be after `@deftypefn' to use
> `@deftypefnx'
> /var/tmp/octave-help-hVcd9z:72: must be after `@deftypefn' to use
> `@deftypefnx'
> /var/tmp/octave-help-hVcd9z:85: must be after `@deftypefn' to use
> `@deftypefnx'
> For information about changes from previous versions of the optim
> package, run 'news ("optim")'.
> /bin/rm -rf /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2
> /bin/mkdir -p /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/sw2
> /bin/mkdir -p /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/DEBIAN
> /usr/sbin/chown -R root:admin
> /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2
> ./octave-forge-install.sh
> #!/bin/sh -ev
> cd /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/sw2
> cp -r
> /sw2/src/fink.build/optim-atlas-oct362-1.2.2-2/optim-1.2.2/../bld/{share,lib}
> .
> `which xvfb-run`
> /sw2/src/fink.build/optim-atlas-oct362-1.2.2-2/optim-1.2.2/octave-forge-inst
>
> which xvfb-run
> warning: X11 DISPLAY environment variable not set
> mv share/octave/3.6.2/octave_packages
> share/octave/3.6.2/packages/optim-1.2.2/.
> mkdir -p share/octave/3.6.2/optim
> # copy postinst/prerm scripts
> cp
> /sw2/src/fink.build/optim-atlas-oct362-1.2.2-2/optim-1.2.2/octave-forge-{prerm,postinst,prerm.sh,postinst.sh}
> /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/sw2/share/octave/3.6.2/optim
>
> /bin/rm -f
> /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/sw2/info/dir
> /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/sw2/info/dir.old
> /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/sw2/share/info/dir
> /sw2/src/fink.build/root-optim-atlas-oct362-1.2.2-2/sw2/share/info/dir.old
> Writing control file...
> Writing package script postinst...
> Writing package script prerm...
> Writing md5sums file...
> env LANG=C LC_ALL=C dpkg-deb -b root-optim-atlas-oct362-1.2.2-2
> /sw2/fink/10.7/stable/main/binary-darwin-x86_64/sci
> dpkg-deb: building package `optim-atlas-oct362' in
> `/sw2/fink/10.7/stable/main/binary-darwin-x86_64/sci/optim-atlas-oct362_1.2.2-2_darwin-x86_64.deb'.
>
> Removing runtime build-lock...
> Removing build-lock package...
> /sw2/bin/dpkg-lockwait -r fink-buildlock-optim-atlas-oct362-1.2.2-2
> (Reading database ... 54112 files and directories currently installed.)
> Removing fink-buildlock-optim-atlas-oct362-1.2.2-2 ...
> Reading buildlock packages...
> /sw2/bin/dpkg-lockwait -i
> /sw2/fink/dists/stable/main/binary-darwin-x86_64/sci/optim-atlas-oct362_1.2.2-2_darwin-x86_64.deb
>
> (Reading database ... 54111 files and directories currently installed.)
> Preparing to replace optim-atlas-oct362 1.2.2-2 (using
> .../optim-atlas-oct362_1.2.2-2_darwin-x86_64.deb) ...
> Unregistering optim package with Octave-3.6.2...
> Done.
> Unpacking replacement optim-atlas-oct362 ...
> Setting up optim-atlas-oct362 (1.2.2-2) ...
> Registering optim package with Octave-3.6.2...Done.
>
> Updating the list of locally available binary packages.
> Scanning dists/stable/main/binary-darwin-x86_64
> Changed package:
> dists/stable/main/binary-darwin-x86_64/sci/optim-atlas-oct362_1.2.2-2_darwin-x86_64.deb
>
> 89-156-6-239:~ mariemeimeneelghezal$ fink install octave-atlas362
> Information about 8752 packages read in 1 seconds.
> Failed: no package found for specification 'octave-atlas362'!
>
> Thanks again!
> Le 24 nov. 2013 à 22:51, Alexander Hansen-2 [via Fink] a écrit :
>
>  > fink install octave-atlas362
>
>


Oh, sorry, my fault there.  I meant to have you try to run "fink install 
optim-atlas-oct362" , but the rebuild took care of that.

Check your "pkg list" in octave.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to