From Lingyun.Shi@fimat.com  Tue Aug 20 22:53:52 2002
From: Lingyun.Shi@fimat.com (Lingyun Shi)
Date: Tue, 20 Aug 2002 16:53:52 -0500
Subject: Failed on building libR.so
Message-ID: <OF2C767AA9.C5930284-ON86256C1B.00772254@fimat.com>


Hi,

I Failed to create libR.so. here's what I did and what's the error msg:

Under the R source installation directory : do:
1. make distclean
2. ./configure --enable-R-shlib
3. make

The error is :

gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
-DHAVE_CONFIG_H  -fPIC  -g -O2 -c connections.c -o connections.lo
connections.c:775: zlib.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `connections.lo'
Current working directory /DEVELOPEMENT/ffmwendy/r-project/R-1.5.1/src/main
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /DEVELOPEMENT/ffmwendy/r-project/R-1.5.1/src/main
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /DEVELOPEMENT/ffmwendy/r-project/R-1.5.1/src
*** Error code 1
make: Fatal error: Command failed for target `R'


I checked the directory, zlib.h is under /src/macintosh/zlib directory. How
should I fix this problem? Could someone help?

Thanks

Kate

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Failed on building libR.so
Lingyun Shi