help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in installation of Package io


From: Farzad Torabi
Subject: Re: Problem in installation of Package io
Date: Fri, 25 Oct 2019 09:39:47 +0200

By the way , I should add 2 points :


1- I don't know which are all the folders Octave uses: you said :

My impression is, that your temp directory has insufficient permissions
"error: cannot run C++ compiled programs".  Make sure that all
directories you use (including the Octave directory) have read, write,
and execution permissions (right-click > Security tab).


How can I know a list of all folders I should change permissions to?


2- actually, this folder I had in the error, has disappeared from my Temp, regardless that here was stripped. but I searched for it to change permission, so I feel that I should change the permissions to the whole Temp folder.

Another strange observation is your temp path itself:

   /c/Users/AppData/Local/Temp/oct-HSr7HX/io-2.4.13/src

Virus-free. www.avast.com

On Fri, Oct 25, 2019 at 4:45 AM Kai Torben Ohlhus <address@hidden> wrote:
On 10/25/19 6:15 AM, Farzad Torabi wrote:
> Hi All
>
> I am not succeeding in installing io package on a win 7 system , where I
> get these errors trying to install , what is the cause and the solution ?
>
> />> pkg install io-2.4.13.tar.gz
> configure: error: in `/c/Users/AppData/Local/Temp/oct-HSr7HX/io-2.4.13/src':
> configure: error: cannot run C++ compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> configure: loading site script /usr/local/etc/config.site
> checking for mkoctfile...
> C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-5.1.0.exe
> checking for octave-config...
> C:/Octave/OCTAVE~1.0/mingw64/bin/octave-config-5.1.0.exe
> checking whether the C++ compiler works... yes
> checking for C++ compiler default output file name... a.exe
> checking for suffix of executables... .exe
> checking whether we are cross compiling...
> pkg: error running the configure script for io.
> error: called from
>     configure_make at line 82 column 9
>     install at line 184 column 7
>     pkg at line 441 column 9/
>
> --
> SeyedFarzad Torabi


On my Win10 machine I managed to install the new io-2.4.13 from tar.gz
and via "pkg install -forge io".  I have no Win7 system to experiment.

My impression is, that your temp directory has insufficient permissions
"error: cannot run C++ compiled programs".  Make sure that all
directories you use (including the Octave directory) have read, write,
and execution permissions (right-click > Security tab).

Another strange observation is your temp path itself:

   /c/Users/AppData/Local/Temp/oct-HSr7HX/io-2.4.13/src

Where is the username?

   /c/Users/kai/AppData/Local/Temp/oct-HSr7HX/io-2.4.13/src

in my case.  Maybe there is some bad configuration on your system or did
you strip it for public display?

HTH,
Kai


--
SeyedFarzad Torabi
Master of Mech. Eng.
Politecnico Di Milano
LinkedIn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]