Problem installing package io-2.4.10.tar.gz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem installing package io-2.4.10.tar.gz

Gary Dilay
I am having a problem installing package io-2.4.10.tar.gz on my Windows 10 PC. I am using octave 4.2.1 configured for x86_64-w64-mingw32. I have tried using the command "pkg install io-2.4.10.tar.gz" and the command "pkg install -forge io", but I get error messages in both cases as shown below.

                                                                                                            
>> pkg install io-2.4.10.tar.gz
configure: error: in `/tmp/oct-fh2Elh/io-2.4.10/src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
checking for mkoctfile... D:/Octave-4.2.1/octave-4.2.1/bin/mkoctfile-4.2.1.exe
checking for octave-config... D:/Octave-4.2.1/octave-4.2.1/bin/octave-config-4.2.1.exe
checking whether the C++ compiler works... no
pkg: error running the configure script for io.
error: called from
    configure_make at line 78 column 9
    install at line 192 column 7
    pkg at line 394 column 9
>>

>> pkg install -forge io
configure: error: in `/tmp/oct-Y8rzMM/io-2.4.10/src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
checking for mkoctfile... D:/Octave-4.2.1/octave-4.2.1/bin/mkoctfile-4.2.1.exe
checking for octave-config... D:/Octave-4.2.1/octave-4.2.1/bin/octave-config-4.2.1.exe
checking whether the C++ compiler works... no
pkg: error running the configure script for io.
error: called from
    configure_make at line 78 column 9
    install at line 192 column 7
    pkg at line 394 column 9
>>

Can you help me install package io-2.4.10.tar.gz?

Thank you.



-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing package io-2.4.10.tar.gz

PhilipNienhuis
Gary Dilay wrote

> I am having a problem installing package io-2.4.10.tar.gz on my Windows 10
> PC. I am using octave 4.2.1 configured for x86_64-w64-mingw32. I have
> tried
> using the command "pkg install io-2.4.10.tar.gz" and the command "pkg
> install -forge io", but I get error messages in both cases as shown below.
>
>
>
>>> pkg install io-2.4.10.tar.gz
> configure: error: in `/tmp/oct-fh2Elh/io-2.4.10/src':
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details
> checking for mkoctfile...
> D:/Octave-4.2.1/octave-4.2.1/bin/mkoctfile-4.2.1.exe
> checking for octave-config...
> D:/Octave-4.2.1/octave-4.2.1/bin/octave-config-4.2.1.exe
> checking whether the C++ compiler works... no
> pkg: error running the configure script for io.
> error: called from
>     configure_make at line 78 column 9
>     install at line 192 column 7
>     pkg at line 394 column 9
>>>
>
>>> pkg install -forge io
> configure: error: in `/tmp/oct-Y8rzMM/io-2.4.10/src':
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details
> checking for mkoctfile...
> D:/Octave-4.2.1/octave-4.2.1/bin/mkoctfile-4.2.1.exe
> checking for octave-config...
> D:/Octave-4.2.1/octave-4.2.1/bin/octave-config-4.2.1.exe
> checking whether the C++ compiler works... no
> pkg: error running the configure script for io.
> error: called from
>     configure_make at line 78 column 9
>     install at line 192 column 7
>     pkg at line 394 column 9
>>>
>
> Can you help me install package io-2.4.10.tar.gz?

It works for me with the Octave dev version (Octave-4.3.0+), but maybe for
4.2.1 it is different (although I doubt it). Oh and on Win10 it may also be
different - I tested on Windows 7.

Did you try to uninstall Octave and reinstall it? From the log, where it
says "checking whether the C++ compiler works... no" it looks like the build
tools have malfunctions.

Philip




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing package io-2.4.10.tar.gz

PhilipNienhuis
PhilipNienhuis wrote

> Gary Dilay wrote
>> I am having a problem installing package io-2.4.10.tar.gz on my Windows
>> 10
>> PC. I am using octave 4.2.1 configured for x86_64-w64-mingw32. I have
>> tried
>> using the command "pkg install io-2.4.10.tar.gz" and the command "pkg
>> install -forge io", but I get error messages in both cases as shown
>> below.
>>
>>
>>
>>>> pkg install io-2.4.10.tar.gz
>> configure: error: in `/tmp/oct-fh2Elh/io-2.4.10/src':
>> configure: error: C++ compiler cannot create executables
>> See `config.log' for more details
>> checking for mkoctfile...
>> D:/Octave-4.2.1/octave-4.2.1/bin/mkoctfile-4.2.1.exe
>> checking for octave-config...
>> D:/Octave-4.2.1/octave-4.2.1/bin/octave-config-4.2.1.exe
>> checking whether the C++ compiler works... no
>> pkg: error running the configure script for io.
>> error: called from
>>     configure_make at line 78 column 9
>>     install at line 192 column 7
>>     pkg at line 394 column 9
>>>>
>>
>>>> pkg install -forge io
>> configure: error: in `/tmp/oct-Y8rzMM/io-2.4.10/src':
>> configure: error: C++ compiler cannot create executables
>> See `config.log' for more details
>> checking for mkoctfile...
>> D:/Octave-4.2.1/octave-4.2.1/bin/mkoctfile-4.2.1.exe
>> checking for octave-config...
>> D:/Octave-4.2.1/octave-4.2.1/bin/octave-config-4.2.1.exe
>> checking whether the C++ compiler works... no
>> pkg: error running the configure script for io.
>> error: called from
>>     configure_make at line 78 column 9
>>     install at line 192 column 7
>>     pkg at line 394 column 9
>>>>
>>
>> Can you help me install package io-2.4.10.tar.gz?
>
> It works for me with the Octave dev version (Octave-4.3.0+), but maybe for
> 4.2.1 it is different (although I doubt it). Oh and on Win10 it may also
> be
> different - I tested on Windows 7.
>
> Did you try to uninstall Octave and reinstall it? From the log, where it
> says "checking whether the C++ compiler works... no" it looks like the
> build
> tools have malfunctions.

It also works on my Win10 box.
Again my guess is that you'd better reinstall Octave.

Philip



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing package io-2.4.10.tar.gz

Marius Schamschula-5
In reply to this post by Gary Dilay


On Feb 5, 2018, at 10:49 AM, Gary Dilay <[hidden email]> wrote:

I am having a problem installing package io-2.4.10.tar.gz on my Windows 10 PC. I am using octave 4.2.1 configured for x86_64-w64-mingw32. I have tried using the command "pkg install io-2.4.10.tar.gz" and the command "pkg install -forge io", but I get error messages in both cases as shown below.

                                                                                                            
>> pkg install io-2.4.10.tar.gz
configure: error: in `/tmp/oct-fh2Elh/io-2.4.10/src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
checking for mkoctfile... D:/Octave-4.2.1/octave-4.2.1/bin/mkoctfile-4.2.1.exe
checking for octave-config... D:/Octave-4.2.1/octave-4.2.1/bin/octave-config-4.2.1.exe
checking whether the C++ compiler works... no
pkg: error running the configure script for io.
error: called from
    configure_make at line 78 column 9
    install at line 192 column 7
    pkg at line 394 column 9
>>

>> pkg install -forge io
configure: error: in `/tmp/oct-Y8rzMM/io-2.4.10/src':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
checking for mkoctfile... D:/Octave-4.2.1/octave-4.2.1/bin/mkoctfile-4.2.1.exe
checking for octave-config... D:/Octave-4.2.1/octave-4.2.1/bin/octave-config-4.2.1.exe
checking whether the C++ compiler works... no
pkg: error running the configure script for io.
error: called from
    configure_make at line 78 column 9
    install at line 192 column 7
    pkg at line 394 column 9
>>

Can you help me install package io-2.4.10.tar.gz?

Thank you.


Are you sure you have build tools installed? This error generally means that there is no compiler to be found.


Marius
--
Marius Schamschula





-----------------------------------------
Join us March 12-15 at CERN near Geneva
Switzerland for OctConf 2018.  More info:
https://wiki.octave.org/OctConf_2018
-----------------------------------------