Benjamin Lindner wrote:
> nit_ar wrote:
>> Thank you very much for your work and this new version.
>>
>> I have noticed that image package in not bundled with the octvave-3.0.5 
>> mingw distribution.
>> It is mentioned in the readme that the mingw compiler and tools are 
>> bundled with the distribution so I have downloaded the image package 
>> source (ver 1.0.8 which was bundled with previous octave-3.0.2 Mingw 
>> distribution) and have tried to install it by myself by typing
>>
>> pkg install image-1.0.8.tar.gz
>>
>> in the octave console prompt where the package is located in the current 
>> dir.
>>
>> I have got errors probably because the environment vars for the compiler 
>> are not set:
>>
>>  > pkg install image-1.0.8.tar.gz
>> configure: error: no acceptable C compiler found in $PATH
>> See `config.log' for more details.
>> error: the configure script returned the following error: checking for 
>> gcc... no
>> checking for cc... no
>> checking for cl.exe... no
>> error: called from `pkg:configure_make' in file C:\Program 
>> Files\OctaveMingw\3.0.5_gcc-4.3.0\share\octave\3.0.5\m\pkg\pkg.m near 
>> line 1237, column 2
> 
> Hmm, I cannot reproduce this error. However, I get an other error later 
> on in linking wrt missing symbols from imagemagick libraries.
> Strange, since the same links nicely in the development branch (here 
> using imagemagick of course).
> 
> I need to do some more checking here.
> 

Ok, the reason you see this error message is because you have installed 
octave into a path which contains spaces.
Please install into a path without spaces, and you should be able to run 
the pkg manager.

I'm not sure I'd call it a bug, but at the moment it's like this:
If you install octave into a path that contains spaces, then octave will 
run fine, but you will not be able to install packages using the package 
manager.
There is a problem in passing various options to the configure script, 
because the quoting does not work right now as expected.

Not sure how and if and when this will be fixed, so for the moment the 
solution is:
Install Octave into a path *without* spaces.

I'll modify the installer for 3.2.x to have a new default installation 
path and issue a noticable warning if the user choses otherwise, and 
update the readme files.

benjamin

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to