help-octave
[Top][All Lists]
Advanced

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

Re: Package installation trouble


From: Tatsuro MATSUOKA
Subject: Re: Package installation trouble
Date: Sat, 20 Jun 2015 10:14:32 +0900 (JST)

----- Original Message -----
>From: Vinicio Serment Moreno
>To: Tatsuro MATSUOKA
>Date: 2015/6/20, Sat 08:23
>Subject: Re: Package installation trouble
> 
>
>Thank you Tatsuro, I've performed as you requested by modifiying file 
>build_packages.m
>
>
>>> cd C:\Octave\Octave-4.0.0\src
> >> build_packages
>
>
>>yields different warnings, and I still get an error with the "make" 
>>instruction:
>#################################
>No such file
>make[1]: *** [comp_atrousfilterbank_td.oct] Error 1
>make: *** [oct] Error 2
>make: Entering directory `/tmp/oct-qxFnXo/ltfat/src'
># Compile the backend lib
>make -f Makefile_unix
>make[1]: Entering directory `/tmp/oct-qxFnXo/ltfat/src'
>
>
>#################################
>
>
>I tried to install the odepkg as you suggested:
>>> pkg install -forge -verbose odepkg
>
>
>
>and got a long list, where the last lines are read as:
>
>
>###################################
>c:/anaconda3/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/
>bin/ld.exe: skipping incompatible C:\Octave\Octave-4.0.0\lib/libmsvcrt.a when 
>searching fo
>r -lmsvcrt
>c:/anaconda3/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/
>bin/ld.exe: skipping incompatible C:\Octave\Octave-4.0.0\lib\libmsvcrt.a when 
>searching fo
>r -lmsvcrt
>collect2.exe: error: ld returned 1 exit status
>make: *** [dldsolver.oct] Error 1
>make: Leaving directory `/tmp/oct-b72aEZ/odepkg-0.8.5/src'
>
>
>pkg: error running `make' for the odepkg package.
>error: called from 'configure_make' in file 
>C:\Octave\Octave-4.0.0\share\octave\4.0.0\m\pk
>g\private\configure_make.m near line 96, column 9
>########################################
>

Please keep to send reply to octave ML to record discussion between related 
people.
The records are opened in the  ML archives and the octave Nabble forum 
and might be help to other peoples in the future.

BTW,
From the report pkg -verbose
>c:/anaconda3/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64-mingw32/
>bin/ld.exe: skipping incompatible C:\Octave\Octave-4.0.0\lib/libmsvcrt.a when 
>searching fo
>r -lmsvcrt


The pkg system uses msys+MinGW installed in octave folder but not external 
MinGW.
You environmental variables setting in your PC obviously breaks this.

> c:/anaconda3/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/

MinGW version is 4.9.2 which is bundled with octave-4.0.0 but not 4.7.0 


How did you start octave?
1. Short cut icon 2. octave.vbs  3. octave.bat 4. octave-gui or octave-cli

Short cut icon is pointed to octave.vbs so it is the same as execute octave via 
octave.vbs

1. 2. are proffered because environmental variable is set properly. 

Anyway I would like to confirm for your PATH with in octave 
What the below tells?

>> system ('sh')      
sh-3.1$ echo $PATH

Form me, 
/usr/bin:(other paths)


The first path should be /usr/bin, otherwise your octave fails to set 
environmental variable in
msys sh shell which is bundled in octave-4.0.0.


Tatsuro



reply via email to

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