On 08.09.2011, at 23:59, Jordi Burguet Castell wrote:

> Hi Lukas,
> 
> On Thu, Sep 8, 2011 at 6:29 PM, Lukas Reichlin <lukas.reich...@gmail.com> 
> wrote:
>> 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
> 
> I just learned about it, thanks!
> 
> 
>> 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*
> 
> That's great, but how can I create my own octave-control.tar.gz so as
> to use the one with my changes? Or what is the standard way to develop
> and test within the octave-forge packages?

There's the file /devel/RELEASE_PACKAGE that I use to create the tar.gz file. 
The commands are those listed on
http://octave.sourceforge.net/developers.html

I don't know of any standard way, but I added my svn working copy to the octave 
path so I keep my machines in sync easily and I don't have to reinstall the 
entire control package each time I change a single oct-file.

>> 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".
> 
> Aha, good to know!
> 
> Thanks!
> Jordi

Regards
Lukas


------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to