Rafael Laboissiere wrote:
> * dbateman <[EMAIL PROTECTED]> [2008-03-22 05:49]:
>
>   
>> Ólafur Jens Sigurðsson wrote:
>>     
>>> Hey .. it seems that the fixed package fails to build on debian with
>>> the following error messages:
>>>
>>>       
>> I believe its fixed in the SVN. This was a failed attempt for a fix for the
>> cygwin/mingw platform that had other consequences..
>>     
>
> It is only partially fixed in SVN.  Build of fixed.oct still fails because
> it tries to link against -L. -loctave_fixed, but no liboctave_fixed.so was
> built (this is because LIBEXT = dll).  The first patch attached below
> (extlib-so.diff) fixes this.
>  
> However, build still fails because liboctave_fixed.so is not really a shared
> library.  The second patch fixes this (link-shared-lib.diff, dunno whether
> it is portable to non-Linux OS'es).
>
> It still does not work, because liboctave_fixed.so is not installed into
> /usr/lib/octave/3.0.0/.  I am doing this by hand in the Debian package.
>
> I am having trouble to install this package using the version of pkg.m
> currently on tip of the hg repository.  This version allows installing from
> the unpacked directory (not from the tarball).  The problems are caused by
> the presence of PKG_ADD at the top dir.  When I issue "pkg install .",
> octave complains with:
>
>     error: `fullfile' undefined near line 1 column 22
>
> If I add the following to the top of PKG_ADD:
>
>     addpath (genpath ("/usr/lib/octave/3.0.0/oct"), "-begin");
>     addpath (genpath ("/usr/share/octave/3.0.0/m"), "-begin");
>
> then the error disappears but I get:
>
>     warning: autoload: `./fixed.oct' is not an absolute file name
>
> Is there a way to get around these problems?    
>
> Finally, it would be great to remove Makeconf, config.log, and config.status
> from the tarball, at least in a *clean rule in src/Makefile.  The third
> patch attached below does this (mister-proper.diff).
>
>   
I'm tempted to give up on this method of creating an external library of
the fixed package and linking the oct-files to it.. I did this to all
windows platforms to access the symbols of the fixed package and allow
the use of the fixed type within other oct-files on windows.. This is
not needed for linux, or MacOS.

I'll take a look at it and see what I can do..

D.


-- 
David Bateman                                [EMAIL PROTECTED]
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to