Obsessive MathsFreak wrote: >> Ok, I just download the same version of the package as you and ran the >> same command on the same version of octave, with the same messages.. >> However, there was no error and the package installed correctly. >> Confirmed by running "pkg list".. I therefore believe you have >> misinterpreted the messages from the -verbose flag and assumed that the >> package was installed check for a directory >> "~/octave/integration-1.0.4", or wherever you've set your prefix to for >> the user, to confirm in addition the the return of the "pkg list" command.. >> >> >> >> D. >> > That directory an the files are present, but the files themselves are > not being picked up by octave. I'm getting things like. > > error: `quadc' undefined near line 2 column 1 > > "help quadc.m" returns > > help: `quadc.m' not found > ...etc > > And similarly for all other functions. > > I don't know how octave detects these files so I don't know how to fixed this. > > Run "pkg list", you'll see a line like
integration | 1.0.4 | /usr/share/octave/packages/integration-1.0.4 and for the image package you'll see image *| 1.0.5 | /usr/share/octave/packages/image-1.0.5 Notice the "*" character? That means the package is both installed and loaded.. A package can be installed and not loaded and that makes sense for functions that change the behavior of core octave functions such as the NaN package. You can either 1) type "pkg load integration" to load the package. You'll need to do this each time you run octave 2) or, reinstall with pkg -auto install integration-1.0.4.tar.gz to force the package to be auto installed All of this is explained in the manual. Type "doc pkg" in octave for more details. 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev