Installing shogun on windows xp

1

0

I want to install Shogun on Windows XP, and getting the following error in Cygwin 2.0. I have already successfuly issued a ./configure command, and make command.

$ make install    
make -C shogun install    
make[1]: Entering directory `/shogun-2.0.0/src/shogun'    
install -d -m755 //usr/local/lib    
install: cannot create directory `//usr': Read-only file system    
Makefile:189: recipe for target `install-libshogun' failed    
make[1]: *** [install-libshogun] Error 1    
make[1]: Leaving directory `/shogun-2.0.0/src/shogun'    
Makefile:56: recipe for target `install' failed    
make: *** [install] Error 2

I am logged in to windows with an account that has admin privileges. I have changed the permissions on the entire cygwin folder to not read-only. I am using Cygwin 2.0, and Windows XP SP3. Any ideas?

user1723488

Posted 2012-10-05T16:18:28.497

Reputation:

Answers

1

I had same trouble, but it was solved by this entry in the official FAQ:

Q:Does shogun compile under windows?

A: Yes! With cygwin 1.7.1 the cmdline, python, python_modular and octave compile cleanly. However, octave_modular won't work since the swig version in cygwin is outdated - if you want that interface you need to compile swig manually. In addition neither R and matlab interfaces do currently compile: cygwin does not yet include up-to-date mingw packages. As none one of us use windows, and things (in external dependencies) break frequently, feel free to submit patches to cygwin. Ohh and one hint: use

make DESTDIR= install

to install (etc.). A plain ./configure;make;make install will fail since repeated slashes (e.g., '//usr/local') in cygwin are problematic but in posix systems simply ignored.

mita3

Posted 2012-10-05T16:18:28.497

Reputation: 11

0

Few quick thoughts;

  • Is //usr where you want things installed? This looks like a typo of /usr perhaps in the ./configure call.
  • Cygwin's current version is 1.7.xx. Not sure what you mean by 2.0. Check the output of uname -a to find your version.

AlG

Posted 2012-10-05T16:18:28.497

Reputation: 315