Difference between revisions of "Talk:Installation on Windows"

From GNUstepWiki
Jump to navigation Jump to search
(Compiling on cygwin)
 
Line 29: Line 29:
 
Currently, running the base configure script on cygwin results in the following error:
 
Currently, running the base configure script on cygwin results in the following error:
 
  configure: error: Unable to determine type for 16-bit integer
 
  configure: error: Unable to determine type for 16-bit integer
Use MinGW instead.
+
A workaround is to make a config cache file with the following inserted:
Yes, I have tried this. And yes, I find it a little annoying. But oh well...
+
ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
 +
ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
 +
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 +
ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
 +
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
 +
  ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
 +
  ac_cv_sizeof_voidp=${ac_cv_sizeof_voidp=4}
 +
then configure configure with --cache-file= pointing to the file.

Latest revision as of 18:07, 28 November 2007

Are the *-bin.zip files needed? Are not the *-lib files sufficient?

Stefan Urbanek 16:06, 10 Mar 2005 (CET)

Installation quirks

I had to do:

configure CPPFLAGS=-I/C/GNUstep/msys/1.0/include LDFLAGS=-I/C/GNUstep/msys/1.0/lib

to get the gui build going.

Also, ffcall wouldn't compile, so it was necessary to copy one from an older GNUstep installation on windows. I will make a zip of this and put in on the GNUstep ftp site so that others don't run into the same issue.

Later, GJC

---

I don't think that the libiconv stuff is necessary anymore, at least not with modern source distributions of libxml2. Also, there should be a warning NOT to install libxslt, as it gets compiled as a static library and its symbols clobber *everything* inside a DLL (hence messing up gnustep-base). It needs to be fixed for mingw (I'm sure the authors would have if they ever used the configure script in MSYS).

TODO

OR

  • delete or convince everyone of putting these kind of things on the wiki and not in some external file.

Compiling on cygwin

Currently, running the base configure script on cygwin results in the following error:

configure: error: Unable to determine type for 16-bit integer

A workaround is to make a config cache file with the following inserted:

ac_cv_sizeof_double=${ac_cv_sizeof_double=8}
ac_cv_sizeof_float=${ac_cv_sizeof_float=4}
ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
ac_cv_sizeof_long=${ac_cv_sizeof_long=4}
ac_cv_sizeof_long_long=${ac_cv_sizeof_long_long=8}
ac_cv_sizeof_short=${ac_cv_sizeof_short=2}
ac_cv_sizeof_voidp=${ac_cv_sizeof_voidp=4}

then configure configure with --cache-file= pointing to the file.