I'm trying to build the 1.4.0 development version of R for Windows. I'll be posting problems as they arise, until I give up (or succeed), or someone asks me to stop. 1. I don't have zlib, the compression library. The source file gnuwin32/unzip/WHERE says to get it from ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.html; that web site says it has been closed and redirects me to http://www.gzip.org/zlib/. (The file itself claims to be at ftp://ftp.info-zip.org/pub/infozip/doc/WHERE, and it is, with the same stale URL, hence the CC of this message to Zip-bugs.) The WHERE file was written by the info-zip people, but I couldn't turn up a newer version. If there is one and I find it, I'll pass it on. 2. I get some warnings during the compile; I decided to ignore them. I missed catching some; some others were: Rstrptime.h:206: warning: ANSI C forbids braced-groups within expressions /usr/lib/bison.simple:285: warning: `yyval' might be used uninitialized in this function main.c:327: warning: variable `baseEnv' might be clobbered by `longjmp' or `vfor k' objects.c: In function `do_set_prim_method': objects.c:1014: warning: unused variable `env' objects.c:962: warning: `code' might be used uninitialized in this function \..\i386-mingw32\include\shlobj.h:8, from shext.c:24: f:\R\TOOLS\BIN\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..\i386-mingw32\inclu de\objbase.h:71: warning: comma at end of enumerator list \..\i386-mingw32\include\shlobj.h:8, from shext.c:24: f:\R\TOOLS\BIN\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..\i386-mingw32\inclu de\oleidl.h:43: warning: ANSI C restricts enumerator values to range of `int' 3. And here's the one that has stopped me for tonight: graphappmain.o(.text+0x121):graphappmain.c: undefined reference to `_imp__R_rese rved_size' rgui.o(.text+0x63):rgui.c: undefined reference to `_imp__CharacterMode' MAKE[1]: *** [Rgui.exe] Error 1 MAKE[1]: Leaving directory `/cygdrive/f/R/R-devel/src/gnuwin32/front-ends' Duncan Murdoch -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, you can find pre compiled libraries for most of what you need at: http://gnuwin32.sourceforge.net/ He also has pointers to sources for all the libs listed there. Nicholas On Wed, 21 Nov 2001, Duncan Murdoch wrote:> I'm trying to build the 1.4.0 development version of R for Windows. > I'll be posting problems as they arise, until I give up (or succeed), > or someone asks me to stop. > > 1. I don't have zlib, the compression library. The source file > gnuwin32/unzip/WHERE says to get it from > ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.html; that web site says > it has been closed and redirects me to http://www.gzip.org/zlib/. > (The file itself claims to be at > ftp://ftp.info-zip.org/pub/infozip/doc/WHERE, and it is, with the same > stale URL, hence the CC of this message to Zip-bugs.) > The WHERE file was written by the info-zip people, but I couldn't turn > up a newer version. If there is one and I find it, I'll pass it on. > > 2. I get some warnings during the compile; I decided to ignore them. > I missed catching some; some others were: > > Rstrptime.h:206: warning: ANSI C forbids braced-groups within > expressions > > /usr/lib/bison.simple:285: warning: `yyval' might be used > uninitialized in this > function > > main.c:327: warning: variable `baseEnv' might be clobbered by > `longjmp' or `vfor > k' > > objects.c: In function `do_set_prim_method': > objects.c:1014: warning: unused variable `env' > objects.c:962: warning: `code' might be used uninitialized in this > function > > \..\i386-mingw32\include\shlobj.h:8, > from shext.c:24: > f:\R\TOOLS\BIN\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..\i386-mingw32\inclu > de\objbase.h:71: warning: comma at end of enumerator list > > \..\i386-mingw32\include\shlobj.h:8, > from shext.c:24: > f:\R\TOOLS\BIN\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..\i386-mingw32\inclu > de\oleidl.h:43: warning: ANSI C restricts enumerator values to range > of `int' > > 3. And here's the one that has stopped me for tonight: > > graphappmain.o(.text+0x121):graphappmain.c: undefined reference to > `_imp__R_rese > rved_size' > rgui.o(.text+0x63):rgui.c: undefined reference to > `_imp__CharacterMode' > MAKE[1]: *** [Rgui.exe] Error 1 > MAKE[1]: Leaving directory > `/cygdrive/f/R/R-devel/src/gnuwin32/front-ends' > > > Duncan Murdoch > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >CH3 | N Nicholas Lewin-Koh / \ Dept of Statistics N----C C==O Program in Ecology and Evolutionary Biology || || | Iowa State University || || | Ames, IA 50011 CH C N--CH3 http://www.public.iastate.edu/~nlewin \ / \ / nlewin@iastate.edu N C | || Currently CH3 O Graphics Lab School of Computing National University of Singapore The Real Part of Coffee kohnicho@comp.nus.edu.sg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, 21 Nov 2001, Duncan Murdoch wrote:> I'm trying to build the 1.4.0 development version of R for Windows. > I'll be posting problems as they arise, until I give up (or succeed), > or someone asks me to stop. > > 1. I don't have zlib, the compression library. The source fileWell zlib is not part of info-zip, but the bitmap/INSTALL file says 1) You need libpng, zlib and jpeg sources (available, e.g., from www.libpng.org, www.gzip.org/zlib, ftp.uu.net/graphics/[png,jpeg]. and that is current. The information is also on the portal.> gnuwin32/unzip/WHERE says to get it from > ftp://ftp.info-zip.org/pub/infozip/zlib/zlib.html; that web site says > it has been closed and redirects me to http://www.gzip.org/zlib/. > (The file itself claims to be at > ftp://ftp.info-zip.org/pub/infozip/doc/WHERE, and it is, with the same > stale URL, hence the CC of this message to Zip-bugs.) > The WHERE file was written by the info-zip people, but I couldn't turn > up a newer version. If there is one and I find it, I'll pass it on.> > 2. I get some warnings during the compile; I decided to ignore them. > I missed catching some; some others were: > > Rstrptime.h:206: warning: ANSI C forbids braced-groups within > expressions> /usr/lib/bison.simple:285: warning: `yyval' might be used > uninitialized in this > function > > main.c:327: warning: variable `baseEnv' might be clobbered by > `longjmp' or `vfor > k' > > objects.c: In function `do_set_prim_method': > objects.c:1014: warning: unused variable `env' > objects.c:962: warning: `code' might be used uninitialized in this > functionAll normal.> \..\i386-mingw32\include\shlobj.h:8, > from shext.c:24: > f:\R\TOOLS\BIN\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..\i386-mingw32\inclu > de\objbase.h:71: warning: comma at end of enumerator list > > \..\i386-mingw32\include\shlobj.h:8, > from shext.c:24: > f:\R\TOOLS\BIN\..\lib\gcc-lib\i386-mingw32\2.95.2\..\..\..\..\i386-mingw32\inclu > de\oleidl.h:43: warning: ANSI C restricts enumerator values to range > of `int'Normal: errors in the mingw header files (which I have reported).> 3. And here's the one that has stopped me for tonight: > > graphappmain.o(.text+0x121):graphappmain.c: undefined reference to > `_imp__R_rese > rved_size' > rgui.o(.text+0x63):rgui.c: undefined reference to > `_imp__CharacterMode' > MAKE[1]: *** [Rgui.exe] Error 1 > MAKE[1]: Leaving directory > `/cygdrive/f/R/R-devel/src/gnuwin32/front-ends'You seem to have too old a version of the compiler. From INSTALL We recommend that you use a recent snapshot of the mingw port of gcc from http://downloads.sourceforge.net/mingw/. For example, at the time of writing, MinGW-1.1.tar.gz based on gcc-2.95.3. Just unpack this somewhere and put its bin directory in your path. That works for me. -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._