[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: installing pkg under octave!
From: |
Tatsuro MATSUOKA |
Subject: |
Re: installing pkg under octave! |
Date: |
Mon, 11 Dec 2017 18:02:26 +0900 (JST) |
Octave 4.2.1 for windows has pre-build netcdf package if you install
octave-forge packages.
Please type
>> pkg list netcdf
and see the result
In my case
>> pkg list netcdf
Package Name | Version | Installation directory
--------------+---------+-----------------------
netcdf | 1.0.11 |
C:\Octave\OCTAVE~1.1\share\octave\packages\netcdf-1.0.11
To activate netcdf package, you have execute
>> pkg load netcdf
Tatsuro
----- Original Message -----
>From: Oliver Heimlich <address@hidden>
>To: Ashraf Mousa <address@hidden>
>Cc: "address@hidden" <address@hidden>
>Date: 2017/12/11, Mon 16:53
>Subject: Re: installing pkg under octave!
>
>
>Nice to hear.
>
>Happy hacking!
>
>
>Am 11. Dezember 2017 08:40:14 MEZ schrieb Ashraf Mousa <address@hidden>:
>Dear Oliver
>>The problem is solved after I changed the permissions on the temp dir.
>>Cheers
>>
>>Prof. Ashraf ElKutb Mousa
>>Prof. of Geodesy, Senior Geodesist
>>Crustal Movement lab
>>Geodynamic Dept.
>>National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>Mob. : +002-01061087313
>>Tel (home): +002-22-5187001
>>Tel (Work): +002-22-5541100 (ext. 347)
>>Fax (Work): +002-22-5548020
>>
>>
>>
>>On Monday, December 11, 2017 9:10 AM, Ashraf Mousa <address@hidden> wrote:
>>
>>
>>
>>Dear Oliver
>>Thanks alot for your kind support.
>>I have did as you said
>>and this is what I get:
>>>> dbstop unpack 233
>>ans = 233
>>>> pkg install -local -forge netcdf
>>stopped in C:\Octave\OCTAVE~1.1\share\octave\4.2.1\m\miscellaneous\unpack.m
>>at line 233
>>233: s = stat (dir);
>>debug>
>>
>>
>>Please let me know how to debug (i.e. what are the command
>>Cheers
>>Ashraf
>>
>>Prof. Ashraf ElKutb Mousa
>>Prof. of Geodesy, Senior Geodesist
>>Crustal Movement lab
>>Geodynamic Dept.
>>National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>Mob. : +002-01061087313
>>Tel (home): +002-22-5187001
>>Tel (Work): +002-22-5541100 (ext. 347)
>>Fax (Work): +002-22-5548020
>>
>>
>>
>>On Sunday, December 10, 2017 2:12 PM, Oliver Heimlich <address@hidden> wrote:
>>
>>
>>
>>Dear Ashraf,
>>
>>the command that you used should have worked perfectly. I have tested it
>>on Windows 7, but it worked on my machine. I have no Windows 10
>>environment to check with.
>>
>>It looks like Octave has no permission to write into your own users
>>temporary directory, which seems strange. Do you run Octave with
>>elevated privileges?
>>
>>You could debug step-by-step through your package installation process
>>to find the root cause. Please try:
>>
>>>> dbstop unpack 233 # place a break point before the error
>>>> pkg install -local -forge netcdf
>>
>>Package installation will then halt right before the error. Please debug
>>step-by-step and verify in Windows Explorer whether creation of the
>>temporary directory has happened (with mkdir) and then check the folder
>>permissions of the temporary directory. This will help us to identify
>>the problem.
>>
>>Best
>>Oliver
>>
>>
>>
>>
>>
>>On 10.12.2017 11:53, Ashraf Mousa wrote:
>>> Dear Oliver
>>> I have tried the following command:
>>> pkg install -local -forge netcdf
>>>
>>> However I get the same error about permision
>>> *C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-nJLy6R: Permission de*
>>> *nied*
>>> *error: called from*
>>> * unpack at line 244 column 5*
>>> * untar at line 47 column 5*
>>> * install at line 81 column 9*
>>> * pkg at line 394 column 9*
>>> *
>>> *
>>> *Did I used a wrong command?*
>>> *Shall I re-install octave using admin?*
>>> *Any other ideas.*
>>> *Thanks alot*
>>> *Cheers*
>>>
>>> Prof. Ashraf ElKutb Mousa
>>> Prof. of Geodesy, Senior Geodesist
>>> Crustal Movement lab
>>> Geodynamic Dept.
>>> National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>> Mob. : +002-01061087313
>>> Tel (home): +002-22-5187001
>>> Tel (Work): +002-22-5541100 (ext. 347)
>>> Fax (Work): +002-22-5548020
>>>
>>>
>>> On Wednesday, December 6, 2017 5:03 PM, Oliver Heimlich
>>> <address@hidden> wrote:
>>>
>>>
>>> Hi,
>>>
>>> I can't check in detail whether this causes your issue right now. On
>>> Windows the most frequent issue is that the normal user account can't
>>> install packages globally.
>>>
>>> Please try pkg install with the -local option, which installs the
>>> package in your user profile, which should not fail because of file
>>> system permissions.
>>>
>>> HTH
>>> Oliver Heimlich
>>>
>>>
>>> Am 6. Dezember 2017 12:54:13 MEZ schrieb Ashraf Mousa
>>> <address@hidden>:
>>>
>>> Dear octave users
>>> I am running windows 10 64 bit.
>>> I installed octave 4.2.1 with no problem.
>>> My problem is that I can not update pkgs nor installing new ones.
>>> Here are examples of what I get :
>>> 1- command (pkg install -forge netcdf)
>>> C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-YmhPqa: Permission denied
>>> error: called from
>>> unpack at line 244 column 5
>>> untar at line 47 column 5
>>> install at line 81 column 9
>>> pkg at line 394 column 9
>>> 2- command (pkg install netcdf-1.0.11.tar.gz)
>>> [Note that I used this command after downloading the pkg manually
>>> and I changed the dir to where I put the downloaded file]
>>> C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-UiIKXz: Permission denied
>>> error: called from
>>> unpack at line 244 column 5
>>> untar at line 47 column 5
>>> install at line 81 column 9
>>> pkg at line 394 column 9
>>> 3- command (pkg update)
>>> C:\Users\DR3230~1.ASH\AppData\Local\Temp\oct-EzApRv: Permission denied
>>> error: called from
>>> unpack at line 244 column 5
>>> untar at line 47 column 5
>>> install at line 81 column 9
>>> pkg at line 394 column 9
>>> pkg at line 552 column 11
>>>
>>> Hope to receive some detailed help
>>> best regards
>>> Yours
>>>
>>> Prof. Ashraf ElKutb Mousa
>>> Prof. of Geodesy, Senior Geodesist
>>> Crustal Movement lab
>>> Geodynamic Dept.
>>> National Research Institute of Astronomy and Geophysics, Helwan, Cairo
>>> Mob. : +002-01061087313
>>> Tel (home): +002-22-5187001
>>> Tel (Work): +002-22-5541100 (ext. 347)
>>> Fax (Work): +002-22-5548020
>>>
>>>
>>>
>>
>>
>>
>>
>>
>_______________________________________________
>Help-octave mailing list
>address@hidden
>https://lists.gnu.org/mailman/listinfo/help-octave
>
>
>