Re: Package Install Errors

View: New views
4 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Package Install Errors

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

Please specify your platform (Windows-MinGW, MacOSX, Debian, etc.) and show you are get octave
binaries from the distribution or get them by building from sources.

BTW , for the question about of the octave-forge package is better to be done on the Mailing list of
Octave-Forge project.  The description about this, you can find the top page octave-forge homepage as

If you have questions regarding software downloaded from Octave-Forge, send a message to the
repository mailing list.    

https://lists.sourceforge.net/lists/listinfo/octave-dev

Please use the above when you ask the matter concerning to the octave-forge package from the next
post.

Regards

Tatsuro

--- Ron Crummett wrote:

> Hi -
>
> I'm trying to install a few packages under 3.2.0.  Some of the packages
> install fine, others give me an error like this one from the Linear Algebra
> Toolbox:
>
> >> pkg install linear-algebra-1.0.8.tar.gz
> couldn't create installation directory
> /usr/lib/octave/packages/3.2/linear-algebra-1.0.8 : Permission denied
> error: called from `pkg>copy_files' in file
> /usr/share/octave/3.2.0/m/pkg/pkg.m near line 1473, column 13
> error: called from:
> error:   /usr/share/octave/3.2.0/m/pkg/pkg.m at line 756, column 5
> error:   /usr/share/octave/3.2.0/m/pkg/pkg.m at line 287, column 7
>
> Again, I have installed some packages without problems, so I don't think
> it's an issue of permissions.  Has anyone else had this problem, or does
> anyone know what needs to change?  Thanks.
>
> -Ron
> > _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>


--------------------------------------
Thanks 10 years!  Yahoo! Shopping and Yahoo! Auctions
http://pr.mail.yahoo.co.jp/ec10years/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Package Install Errors

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> --- Ron Crummett wrote:
>
> > Hi -
> >
> > I'm trying to install a few packages under 3.2.0.  Some of the packages
> > install fine, others give me an error like this one from the Linear Algebra
> > Toolbox:
> >
> > >> pkg install linear-algebra-1.0.8.tar.gz
> > couldn't create installation directory
> > /usr/lib/octave/packages/3.2/linear-algebra-1.0.8 : Permission denied
> > error: called from `pkg>copy_files' in file
> > /usr/share/octave/3.2.0/m/pkg/pkg.m near line 1473, column 13
> > error: called from:
> > error:   /usr/share/octave/3.2.0/m/pkg/pkg.m at line 756, column 5
> > error:   /usr/share/octave/3.2.0/m/pkg/pkg.m at line 287, column 7
> >
> > Again, I have installed some packages without problems, so I don't think
> > it's an issue of permissions.  Has anyone else had this problem, or does
> > anyone know what needs to change?  Thanks.


The pkg install command use temporary directory to extract a package,  carry out configureation and
make binaries.

I suspect that your temporary directory does allow 'w' attribution.
Please type tmpnam at the octave prompt
octave>tmpnam

and get the name the temporary directory name

and confirm the attribution of the temporary directory
octave>ls -l (tmp diretoryname)/..    


Regards

Tatsuro

--------------------------------------
Thanks 10 years!  Yahoo! Shopping and Yahoo! Auctions
http://pr.mail.yahoo.co.jp/ec10years/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Package Install Errors

by Ron Crummett-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay -

In regards to the earlier question, I am running Ubuntu Jaunty.

2009/8/30 Tatsuro MATSUOKA <tmacchant@...>
 
The pkg install command use temporary directory to extract a package,  carry out configureation and
make binaries.

I suspect that your temporary directory does allow 'w' attribution.
Please type tmpnam at the octave prompt
octave>tmpnam

and get the name the temporary directory name

and confirm the attribution of the temporary directory
octave>ls -l (tmp diretoryname)/..
 >> tmpnam
ans = /tmp/oct-SZWwgP

>> ls -l /tmp/oct-SZWwgP/..
ls: cannot access /tmp/oct-SZWwgP/..: No such file or directory
error: ls: command exited abnormally with status 2
error: called from:
error:   /usr/share/octave/3.2.0/m/miscellaneous/ls.m at line 66, column 2

For what it's worth, every time I type tmpnam I get a different temporary directory.  Don't know if that helps or not, but I figure I'll mention it.

-Ron


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

Re: Package Install Errors

by John W. Eaton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 31-Aug-2009, Ron Crummett wrote:

| Okay -
|
| In regards to the earlier question, I am running Ubuntu Jaunty.
|
| 2009/8/30 Tatsuro MATSUOKA <tmacchant@...>
|
|
| > The pkg install command use temporary directory to extract a package,
| >  carry out configureation and
| > make binaries.
| >
| > I suspect that your temporary directory does allow 'w' attribution.
| > Please type tmpnam at the octave prompt
| > octave>tmpnam
| >
| > and get the name the temporary directory name
| >
| > and confirm the attribution of the temporary directory
| > octave>ls -l (tmp diretoryname)/..
| >
|  >> tmpnam
| ans = /tmp/oct-SZWwgP
|
| >> ls -l /tmp/oct-SZWwgP/..
| ls: cannot access /tmp/oct-SZWwgP/..: No such file or directory
| error: ls: command exited abnormally with status 2
| error: called from:
| error:   /usr/share/octave/3.2.0/m/miscellaneous/ls.m at line 66, column 2
|
| For what it's worth, every time I type tmpnam I get a different temporary
| directory.  Don't know if that helps or not, but I figure I'll mention it.

It's supposed to be a file name, not a directory name, and it should
be different each time.  It should not exist because tmpnam does not
create the file, it just generates a name.

jwe

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev