bugGNU Octave - Bugs: bug #54743, [octave forge] (io) Windows...

 
 

bug #54743: [octave forge] (io) Windows installation problems

Submitter:  None
Submitted:  Thu 27 Sep 2018 12:20:25 PM UTC
   
 
Category:  Octave Package Severity:  2 - Minor
Priority:  3 - Low Item Group:  Installation Failure
Status:  Works For Me Assigned to:  None
Originator Name:  Alices Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.4.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 07 Nov 2018 09:23:16 PM UTC, comment #7: 

No response from OP since > 4 weeks.

closing as "works for me"

Philip Nienhuis <philipnienhuis>
Group Member
Sun 30 Sep 2018 08:47:38 AM UTC, comment #6: 

Sure, but:

(1) io-2.4.11 is included in the 4.4.1 zip file and should work after some manual post-install stuff that otherwise would done by the installer.

(2) We have no answer yet from the OP whether she/he did run the post-install stuff, whether she/he started Octave using octave/vbs, and if io did work then.

(3) ... so I just d/led 4.4.1-w64, unzipped it, ran octave-firsttime.vbs, inside the terminal ran "pkg rebuild", quit & restarted octave (using octave.vbs) and -presto- io works fine. After uninstalling and reinstalling io it works fine as well.
In conclusion: the least I can say is "Works for me".

FYI, the configure script was added by Olaf [*], IIRC to be able to get io installed on both older and newer Octave versions because a few symbol names changed in core Octave.
Autotools stuff is -regrettably- beyond me, but then again, it works properly AFAICS.

[*] http://hg.code.sf.net/p/octave/io/rev/905435de20f6

Philip Nienhuis <philipnienhuis>
Group Member
Sat 29 Sep 2018 04:43:03 PM UTC, comment #5: 

I believe the OP was making the point that io 2.4.8 does install, but 2.4.9 was the first version that does not install, up to and including the current version 2.4.11. 2.4.9 was the first to include a configure script. And that's obviously where the install is dying here. The config.log file might be helpful.

Mike Miller <mtmiller>
Group Member
Sat 29 Sep 2018 03:50:44 PM UTC, comment #4: 

You're right Mike. I never use the zip files, always the .exe installers so I overlooked this simple but deceiving "pkg rebuild" thing.

That said io-2.4.9 is quite old anyway.

Maybe the OP didn't start Octave using octave.vbs; in which case I suspect many paths required by Octave won't be initialized properly.

Philip Nienhuis <philipnienhuis>
Group Member
Fri 28 Sep 2018 04:53:58 PM UTC, comment #3: 

Users who install Octave from the standalone zip need to run `pkg rebuild` first.

Are you suggesting that the error from the configure script is not a real or reproducible problem, or that it's not worth pursuing?

Mike Miller <mtmiller>
Group Member
Thu 27 Sep 2018 06:27:04 PM UTC, comment #2: 

It could very well be that without admin rights you cannot build OF packages. Depends on the policies your sysadmin has applied.

What Markus says below is very to the point: just unzip Octave somewhere like you already did, and then in Octave's command window type:

pkg load io <RETURN>

and then you should be OK.

Philip Nienhuis <philipnienhuis>
Group Member
Thu 27 Sep 2018 01:28:27 PM UTC, comment #1: 

The MS Windows installer for Octave already contains many Octave Forge packages.  For a complete list type from the Octave command line:


pkg list


To load the already on your system installed io package (version 2.4.11), just type:


pkg load io


And you are done.  Does this solve your problem?

Kai Torben Ohlhus <siko1056>
Group Member
Thu 27 Sep 2018 12:20:25 PM UTC, original submission:  

Hello

I had some problems installing the io package, which I couldn't resolve.

I'm running Windows 10 Enterprise x64. My version of Octave is 4.4.1, which I didn't install via the installer but by downloading  "octave-4.4.1-w64.zip (~ 481 MB) [signature]" as I work on a managed computer and don't have admin rights.

I could only install io-2.4.8. The later versions cause the following error:


>> pkg install io-2.4.9.tar.gz
warning: load_path: .\functions: No such file or directory
warning: load_path: .\input: No such file or directory
warning: load_path: .\geometry: No such file or directory
warning: load_path: .\input\inputfiles: No such file or directory
configure: error: in `/tmp/oct-wVZVlE/io-2.4.9/src':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
checking for mkoctfile... C:/Apps/OCTAVE~1.1-W/OCTAVE~1.1-W/bin/mkoctfile-4.4.1.exe
checking for octave-config... C:/Apps/OCTAVE~1.1-W/OCTAVE~1.1-W/bin/octave-config-4.4.1.exe
checking for pg_config... pg_config
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 437 column 9


I thought maybe this could help to fix the problem for further versions of the io-package.

BR Alice


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-07 philipnienhuis Open/ClosedOpen Closed
    2018-11-07 philipnienhuis StatusNeed Info Works For Me
    2018-09-27 siko1056 Summary[Octave Forge] (io) Problems Installing [octave forge] (io) Windows installation problems
    2018-09-27 siko1056 Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        StatusNone Need Info
        SummaryProblems Installing io pkg [Octave Forge] (io) Problems Installing

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code