Dear R-help, (This is the first time I tried compiling 1.6.x from source on WinNT4, so please bear with me...) I tried following the instruction in src/gnuwin32/INSTALL as closely as I could, but encounter the following errors at the make step. Can some kind soul please help? I'm using pcre-3.9 and MinGW-2.0.0-3. I checked and libRpcre.a _is_ in src/extra/pcre. TIA, Andy ... gcc --shared -s -mwindows -o R.dll R.def R.a malloc.o libmain.a libappl.a libmath.a ga.a gl.a xdr.a ../extra/zlib/libz.a ../extra/pcre/libRpcre.a ../extra/bzip2/libbz2.a dllversion.o -L. -lg2c -lRblas -lcomctl32 -lversion libmain.a(pcre.o)(.text+0x108):pcre.c: undefined reference to `pcre_compile' libmain.a(pcre.o)(.text+0x16e):pcre.c: undefined reference to `pcre_exec' libmain.a(pcre.o)(.text+0x19d):pcre.c: undefined reference to `pcre_free' libmain.a(pcre.o)(.text+0x499):pcre.c: undefined reference to `pcre_compile' libmain.a(pcre.o)(.text+0x4bb):pcre.c: undefined reference to `pcre_info' libmain.a(pcre.o)(.text+0x587):pcre.c: undefined reference to `pcre_exec' libmain.a(pcre.o)(.text+0x603):pcre.c: undefined reference to `pcre_free' libmain.a(pcre.o)(.text+0x611):pcre.c: undefined reference to `pcre_free' libmain.a(pcre.o)(.text+0x6ca):pcre.c: undefined reference to `pcre_exec' libmain.a(pcre.o)(.text+0x882):pcre.c: undefined reference to `pcre_compile' libmain.a(pcre.o)(.text+0x909):pcre.c: undefined reference to `pcre_exec' libmain.a(pcre.o)(.text+0x939):pcre.c: undefined reference to `pcre_free' ../extra/pcre/libRpcre.a(get.o)(.text+0x9e):get.c: undefined reference to `pcre_malloc' ../extra/pcre/libRpcre.a(get.o)(.text+0x12c):get.c: undefined reference to `pcre_free' ../extra/pcre/libRpcre.a(get.o)(.text+0x17a):get.c: undefined reference to `pcre_malloc' ../extra/pcre/libRpcre.a(get.o)(.text+0x1cc):get.c: undefined reference to `pcre_free' ../extra/pcre/libRpcre.a(maketables.o)(.text+0x20):maketables.c: undefined reference to `pcre_malloc' ../extra/pcre/libRpcre.a(study.o)(.text+0x64e):study.c: undefined reference to `pcre_malloc' make[1]: *** [R.dll] Error 1 make[1]: Leaving directory `/cygdrive/g/Rbuild/R-1.6.1/src/gnuwin32' make: *** [all] Error 2 ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, ----- Original Message ----- From: "Liaw, Andy" <andy_liaw at merck.com> To: <r-help at stat.math.ethz.ch> Sent: Saturday, November 02, 2002 5:07 PM Subject: [R] problem compiling R-1.6.1 on WinNT: pcre> Dear R-help, > > (This is the first time I tried compiling 1.6.x from source on WinNT4, so > please bear with me...) > > I tried following the instruction in src/gnuwin32/INSTALL as closely as I > could, but encounter the following errors at the make step. Can some kind > soul please help? I'm using pcre-3.9 and MinGW-2.0.0-3. I checked and > libRpcre.a _is_ in src/extra/pcre.Have you checked if the PCRE is in your PATH? Cheers, Kevin ------------------------------------------------ Ko-Kang Kevin Wang Post Graduate PGDipSci Student Department of Statistics University of Auckland New Zealand www.stat.auckland.ac.nz/~kwan022 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Kevin, Thanks for the reply. However, I'm not clear on what's needed. The INSTALL file simply says to unpack pcre and copy the files to src/extra/pcre. All that's there are the source files. I don't see what effect putting src/extra/pcre in the PATH would do (I just tried and got the same error). The list of things that are mentioned in INSTALL that need to be in the PATH does not include pcre. Does that mean that I need to compile pcre _first_ and have it in the path? Cheers, Andy -----Original Message----- From: Ko-Kang Kevin Wang [mailto:Ko-Kang at xtra.co.nz] Sent: Saturday, November 02, 2002 3:34 AM To: Liaw, Andy; r-help at stat.math.ethz.ch Subject: Re: [R] problem compiling R-1.6.1 on WinNT: pcre Hi, ----- Original Message ----- From: "Liaw, Andy" <andy_liaw at merck.com> To: <r-help at stat.math.ethz.ch> Sent: Saturday, November 02, 2002 5:07 PM Subject: [R] problem compiling R-1.6.1 on WinNT: pcre> Dear R-help, > > (This is the first time I tried compiling 1.6.x from source on WinNT4, so > please bear with me...) > > I tried following the instruction in src/gnuwin32/INSTALL as closely as I > could, but encounter the following errors at the make step. Can some kind > soul please help? I'm using pcre-3.9 and MinGW-2.0.0-3. I checked and > libRpcre.a _is_ in src/extra/pcre.Have you checked if the PCRE is in your PATH? Cheers, Kevin ------------------------------------------------ Ko-Kang Kevin Wang Post Graduate PGDipSci Student Department of Statistics University of Auckland New Zealand www.stat.auckland.ac.nz/~kwan022 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Liaw, Andy" wrote:> > Dear R-help, > > (This is the first time I tried compiling 1.6.x from source on WinNT4, so > please bear with me...) > > I tried following the instruction in src/gnuwin32/INSTALL as closely as I > could, but encounter the following errors at the make step. Can some kind > soul please help? I'm using pcre-3.9 and MinGW-2.0.0-3. I checked and > libRpcre.a _is_ in src/extra/pcre. > > TIA, > Andy > > ... > gcc --shared -s -mwindows -o R.dll R.def R.a malloc.o libmain.a libappl.a > libmath.a ga.a gl.a xdr.a ../extra/zlib/libz.a ../extra/pcre/libRpcre.a > ../extra/bzip2/libbz2.a dllversion.o -L. -lg2c -lRblas -lcomctl32 -lversion > libmain.a(pcre.o)(.text+0x108):pcre.c: undefined reference to `pcre_compile' > libmain.a(pcre.o)(.text+0x16e):pcre.c: undefined reference to `pcre_exec' > libmain.a(pcre.o)(.text+0x19d):pcre.c: undefined reference to `pcre_free' > libmain.a(pcre.o)(.text+0x499):pcre.c: undefined reference to `pcre_compile' > libmain.a(pcre.o)(.text+0x4bb):pcre.c: undefined reference to `pcre_info' > libmain.a(pcre.o)(.text+0x587):pcre.c: undefined reference to `pcre_exec' > libmain.a(pcre.o)(.text+0x603):pcre.c: undefined reference to `pcre_free' > libmain.a(pcre.o)(.text+0x611):pcre.c: undefined reference to `pcre_free' > libmain.a(pcre.o)(.text+0x6ca):pcre.c: undefined reference to `pcre_exec' > libmain.a(pcre.o)(.text+0x882):pcre.c: undefined reference to `pcre_compile' > libmain.a(pcre.o)(.text+0x909):pcre.c: undefined reference to `pcre_exec' > libmain.a(pcre.o)(.text+0x939):pcre.c: undefined reference to `pcre_free' > ../extra/pcre/libRpcre.a(get.o)(.text+0x9e):get.c: undefined reference to > `pcre_malloc' > ../extra/pcre/libRpcre.a(get.o)(.text+0x12c):get.c: undefined reference to > `pcre_free' > ../extra/pcre/libRpcre.a(get.o)(.text+0x17a):get.c: undefined reference to > `pcre_malloc' > ../extra/pcre/libRpcre.a(get.o)(.text+0x1cc):get.c: undefined reference to > `pcre_free' > ../extra/pcre/libRpcre.a(maketables.o)(.text+0x20):maketables.c: undefined > reference to `pcre_malloc' > ../extra/pcre/libRpcre.a(study.o)(.text+0x64e):study.c: undefined reference > to `pcre_malloc' > make[1]: *** [R.dll] Error 1 > make[1]: Leaving directory `/cygdrive/g/Rbuild/R-1.6.1/src/gnuwin32' > make: *** [all] Error 2Works for me (R-1.6.1, pcre 3.9, Mingw 2.0.0-3, WinNT 4.0): Complete build of R, its (recommended) packages, the installer, as well as a successful 'make fullcheck'. You have to follow the instructions in INSTALL *_exactly_* (e.g. collecting _all_ the tools, setting _all_ the paths in the _right order_, ...). Hint: Read each line carefully and mark it as "done", if the instructions are fullfilled exactly. There will be at least one line (I guess) you cannot mark. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Uwe, Got it now. The problem might be the pcre packaging. When I tried to download it, the site at UK was unavailable, so I grabbed pcre-3.9-src.zip from sourceforge instead. Apparently that's at least packaged a bit differently from pcre-3.9.tar.gz at the site mentioned in the INSTALL file. Maybe the wording about the pcre source in the INSTALL file could be a bit more stringent? Cheers, Andy -----Original Message----- From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de] Sent: Saturday, November 02, 2002 11:10 AM To: Liaw, Andy Cc: 'r-help at stat.math.ethz.ch' Subject: Re: [R] problem compiling R-1.6.1 on WinNT: pcre "Liaw, Andy" wrote:> > Dear R-help, > > (This is the first time I tried compiling 1.6.x from source on WinNT4, so > please bear with me...) > > I tried following the instruction in src/gnuwin32/INSTALL as closely as I > could, but encounter the following errors at the make step. Can some kind > soul please help? I'm using pcre-3.9 and MinGW-2.0.0-3. I checked and > libRpcre.a _is_ in src/extra/pcre. > > TIA, > Andy > > ... > gcc --shared -s -mwindows -o R.dll R.def R.a malloc.o libmain.a libappl.a > libmath.a ga.a gl.a xdr.a ../extra/zlib/libz.a ../extra/pcre/libRpcre.a > ../extra/bzip2/libbz2.a dllversion.o -L. -lg2c -lRblas -lcomctl32-lversion> libmain.a(pcre.o)(.text+0x108):pcre.c: undefined reference to`pcre_compile'> libmain.a(pcre.o)(.text+0x16e):pcre.c: undefined reference to `pcre_exec' > libmain.a(pcre.o)(.text+0x19d):pcre.c: undefined reference to `pcre_free' > libmain.a(pcre.o)(.text+0x499):pcre.c: undefined reference to`pcre_compile'> libmain.a(pcre.o)(.text+0x4bb):pcre.c: undefined reference to `pcre_info' > libmain.a(pcre.o)(.text+0x587):pcre.c: undefined reference to `pcre_exec' > libmain.a(pcre.o)(.text+0x603):pcre.c: undefined reference to `pcre_free' > libmain.a(pcre.o)(.text+0x611):pcre.c: undefined reference to `pcre_free' > libmain.a(pcre.o)(.text+0x6ca):pcre.c: undefined reference to `pcre_exec' > libmain.a(pcre.o)(.text+0x882):pcre.c: undefined reference to`pcre_compile'> libmain.a(pcre.o)(.text+0x909):pcre.c: undefined reference to `pcre_exec' > libmain.a(pcre.o)(.text+0x939):pcre.c: undefined reference to `pcre_free' > ../extra/pcre/libRpcre.a(get.o)(.text+0x9e):get.c: undefined reference to > `pcre_malloc' > ../extra/pcre/libRpcre.a(get.o)(.text+0x12c):get.c: undefined reference to > `pcre_free' > ../extra/pcre/libRpcre.a(get.o)(.text+0x17a):get.c: undefined reference to > `pcre_malloc' > ../extra/pcre/libRpcre.a(get.o)(.text+0x1cc):get.c: undefined reference to > `pcre_free' > ../extra/pcre/libRpcre.a(maketables.o)(.text+0x20):maketables.c: undefined > reference to `pcre_malloc' > ../extra/pcre/libRpcre.a(study.o)(.text+0x64e):study.c: undefinedreference> to `pcre_malloc' > make[1]: *** [R.dll] Error 1 > make[1]: Leaving directory `/cygdrive/g/Rbuild/R-1.6.1/src/gnuwin32' > make: *** [all] Error 2Works for me (R-1.6.1, pcre 3.9, Mingw 2.0.0-3, WinNT 4.0): Complete build of R, its (recommended) packages, the installer, as well as a successful 'make fullcheck'. You have to follow the instructions in INSTALL *_exactly_* (e.g. collecting _all_ the tools, setting _all_ the paths in the _right order_, ...). Hint: Read each line carefully and mark it as "done", if the instructions are fullfilled exactly. There will be at least one line (I guess) you cannot mark. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
My apologies: I downloaded that file when I was trying to compile 1.6.0 (which I never gotten around to before 1.6.1 was released), and I must have downloaded the GnuWin32 version of the source (no idea why I did that...), rather than the "official" one. -----Original Message----- From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de] Sent: Monday, November 04, 2002 7:16 AM To: Liaw, Andy Subject: Re: [R] problem compiling R-1.6.1 on WinNT: pcre "Liaw, Andy" wrote:> > Uwe, > > Got it now. The problem might be the pcre packaging. When I tried to > download it, the site at UK was unavailable, so I grabbed pcre-3.9-src.zipSorry, I cannot find "pcre-3.9-src.zip" on sourceforge, just the correct files... The name of the file is different from that one that is requested in "Install".> from sourceforge instead. Apparently that's at least packaged a bit > differently from pcre-3.9.tar.gz at the site mentioned in the INSTALLfile.> > Maybe the wording about the pcre source in the INSTALL file could be a bit > more stringent?If you think so, please send a suggestion how to improve it to Duncan Murdoch, the windows maintainer. Best, Uwe ------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it. ============================================================================= -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help 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-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Apparently Analagous Threads
- [PATCH 1/2] lib: Allow the COMPILE_REGEXP macro to be used everywhere.
- [PATCH] btrfs: Fix btrfs_subvolume_list on F18
- [PATCH] lib: Add COMPILE_REGEXP macro to hide regexp constructors/destructors.
- [PATCH v4 0/2] add btrfs_balance_status and btrfs_scrub_status
- Possible ld.exe problem when building