help-octave
[Top][All Lists]
Advanced

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

Problem in installation of Package io


From: Farzad Torabi
Subject: Problem in installation of Package io
Date: Fri, 25 Oct 2019 06:21:23 +0200

I did strip it

Il ven 25 ott 2019, 04:45 Kai Torben Ohlhus <address@hidden> ha scritto:
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

reply via email to

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