* 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).

-- 
Rafael
-------------------------------------------------------------------------
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