On 08.09.2011, at 18:03, Jordi Burguet Castell wrote:

> Hi,
> 
> I finished compiling and installing octave from svn (3.5.0+), but now
> I can't figure out how to install the packages from octave-forge that
> I also got from their svn repository.
> 
> Things I've tried:
> 
> * octave-forge/main/control/devel$ octave < makefile_all.m
> /usr/bin/ld: cannot find vecLib: No such file or directory
> collect2: ld returned 1 exit status
> /usr/bin/ld: cannot find vecLib: No such file or directory
> collect2: ld returned 1 exit status
> /usr/bin/ld: cannot find vecLib: No such file or directory
> collect2: ld returned 1 exit status
> /usr/bin/ld: cannot find vecLib: No such file or directory
> collect2: ld returned 1 exit status
> 
> * cd octave-forge/main/signal/src && make
> (it works[1], but then no package is produced, only a lot of .oct files)
> 
> * $ octave
> octave:1> remez
> error: `remez' undefined near line 1 column 1
> octave:1> pkg build /home/jordi/downloads/octave-forge/main/signal 
> mypkg.tar.gz
> terminate called after throwing an instance of 'std::out_of_range'
>  what():  basic_string::at
> panic: Aborted -- stopping myself...
> Aborted
> 
> I couldn't find any doc online or in the repository about how to do it...
> 
> Cheers,
> Jordi
> 
> 
> [1] it compiled, but only after I changed in octave's source
> 
> --- a/src/mkoctfile.in        Tue Sep 06 18:01:04 2011 -0400
> +++ b/src/mkoctfile.in        Thu Sep 08 18:03:22 2011 +0200
> @@ -100,8 +100,8 @@
> : ${FLIBS=%OCTAVE_CONF_FLIBS%}
> : ${OCTAVE_LINK_DEPS=%OCTAVE_CONF_OCTAVE_LINK_DEPS%}
> : ${OCTAVE_LINK_DEPS=%OCTAVE_CONF_OCTAVE_LINK_OPTS%}
> -: ${OCT_LINK_DEPS=%OCTAVE_CONF_MKOCTFILE_OCT_LINK_DEPS%}
> -: ${OCT_LINK_DEPS=%OCTAVE_CONF_MKOCTFILE_OCT_LINK_OPTS%}
> +: ${OCT_LINK_DEPS=%OCTAVE_CONF_OCT_LINK_DEPS%}
> +: ${OCT_LINK_DEPS=%OCTAVE_CONF_OCT_LINK_OPTS%}
> : ${LD_CXX=%OCTAVE_CONF_LD_CXX%}
> : ${LDFLAGS=%OCTAVE_CONF_LDFLAGS%}
> : ${LD_STATIC_FLAG=%OCTAVE_CONF_LD_STATIC_FLAG%}

Hi Jordi

Regarding the control package, the normal way of installing it is simply
pkg install -forge control

Alternatively, you can download the latest SVN revision from this link:
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/control/?view=tar

Afterwards, remove the leading "octave-" from the filename and install it by
pkg install control*

The error about vecLib is caused by the option "-Wl,-framework" "-Wl,vecLib" 
that I use for some of my developer makefiles on Mac OS X and MacPorts. If you 
want to use these developer makefiles, simply remove "-Wl,-framework" 
"-Wl,vecLib" from all makefiles called by makefile_all. Note that they only 
generate the oct-files such that you need to include some paths as described in 
the header of the makefiles.

BTW: All the stuff inside the control/devel/ folder is only of interest if you 
want to work on the control package and is not included in "normal" 
installations by "pkg install".

Regards
Lukas


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to