Rafael Laboissiere wrote: > * David Bateman <[EMAIL PROTECTED]> [2008-03-27 12:41]: > > >> If we can do the same under mingw, cygwin and msvc, then I'd suggest the >> attached patch.. [snip] >> > > Thanks, your patch works on Debian for me, at least for the build/install. > However, I am stiil having a problem at run time: > > octave:1> test fixedpoint > error: can't perform indexing operations for <unknown type> type > octave:32 which fixed > fixed is the dynamically-linked function from the file > /usr/lib/octave/packages/fixed-0.7.5/x86_64-pc-linux-gnu-api-v32/fixed.oct > > It only works after I run: > > octave:3> source > ("/usr/lib/octave/packages/fixed-0.7.5/x86_64-pc-linux-gnu-api-v32/PKG_ADD") > > Is that normal? > No that not normal, though I don't have time to check that at the moment, I will later..
> BTW, there was another question I asked about PKG_ADD that went unanswered. > I am repeating it below, thanks, > > R. > > Rafael Laboissiere wrote: > >> 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"); >> They should already be on the path at that point.. Something very strange is happen there, though I haven't checked a pkg build in the last few days, I'll check later and see if I can generate the same issue. >> then the error disappears but I get: >> >> warning: autoload: `./fixed.oct' is not an absolute file name >> That error seems to indicated that this is not Octave 3.0.0 or later. >> Is there a way to get around these problems? >> > > > ------------------------------------------------------------------------- > 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 > > -- 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