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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
zlib location
5 messages · Duncan Murdoch, Nicholas Lewin-Koh, Brian Ripley
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 file
Well 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 function
All 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 22 Nov 2001 07:59:55 +0000 (GMT), you wrote:
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.
I think the URL has changed. I found the file at http://sourceforge.net/projects/mingw/ instead. I've installed it, and the build is proceeding... 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
The portal has the current information (it's changed to prdownloads...), as the docs point you to. The locations in the R-devel docs are only checked just prior to release: they change several times during an R release cycle. Also, AFAIK no one is working on the Windows port at present, so the build of R-devel is only tested irregularly. I expect some work will be done on it once 1.4.0 goes into feature freeze, but can't guarantee even that.
On Thu, 22 Nov 2001, Duncan Murdoch wrote:
On Thu, 22 Nov 2001 07:59:55 +0000 (GMT), you wrote:
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.
I think the URL has changed. I found the file at http://sourceforge.net/projects/mingw/ instead. I've installed it, and the build is proceeding... Duncan Murdoch
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._