[R] A installation problem that needs your supports.

Marc Schwartz marc_schwartz at comcast.net
Thu Nov 22 17:00:54 CET 2007


On Thu, 2007-11-22 at 17:30 +0800, PING-SHAN_CHEN at promos.com.tw wrote:
> Hi Sirs:
> 
> This is Ping-Shan Chen from ProMOS Technologies in Taiwan.
> I have a installation problem that needs your supports.
> 
> Some error messages as follows occured while installing R on Unix server.
> Anyone could tell me how to fix this issue?
> The OS version is Enterprise Linux AS release 4 (Nahant Update 4).
> 
> -c complex.c -o complex.o
> gcc    -I. -I../../src/include -I../../src/include -I/usr/local/include
> -DHAVE_CONFIG_H -D__NO_MATH_INLINES -mieee-fp  -g -O2 -c connections.c -o
> connections.o
> connections.c: In function `con_close1':
> connections.c:1963: error: `Rgzconn' undeclared (first use in this
> function)
> connections.c:1963: error: (Each undeclared identifier is reported only
> once
> connections.c:1963: error: for each function it appears in.)
> connections.c:1963: error: syntax error before "priv"
> connections.c:1964: error: `priv' undeclared (first use in this function)
> connections.c: In function `gzcon_open':
> connections.c:3140: error: `Rgzconn' undeclared (first use in this
> function)
> connections.c:3140: error: syntax error before "priv"
> connections.c:3141: error: `priv' undeclared (first use in this function)
> connections.c: In function `gzcon_close':
> connections.c:3233: error: `Rgzconn' undeclared (first use in this
> function)
> connections.c:3233: error: syntax error before "priv"
> connections.c:3234: error: `priv' undeclared (first use in this function)
> connections.c: In function `gzcon_read':
> connections.c:3276: error: `Rgzconn' undeclared (first use in this
> function)
> connections.c:3276: error: syntax error before "priv"
> connections.c:3277: error: `priv' undeclared (first use in this function)
> connections.c: In function `gzcon_write':
> connections.c:3335: error: `Rgzconn' undeclared (first use in this
> function)
> connections.c:3335: error: syntax error before "priv"
> connections.c:3336: error: `priv' undeclared (first use in this function)
> connections.c: In function `do_gzcon':
> connections.c:3417: error: invalid application of `sizeof' to incomplete
> type `gzconn'
> connections.c:3422: error: `Rgzconn' undeclared (first use in this
> function)
> make[3]: *** [connections.o] Error 1
> make[3]: Leaving directory `/opt/R/R-1.7.1/src/main'
> make[2]: *** [R] Error 2
> make[2]: Leaving directory `/opt/R/R-1.7.1/src/main'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/opt/R/R-1.7.1/src'
> make: *** [R] Error 1

Are you intentionally installing a very old version of R?  R version
1.7.1 was released over 4 years ago. The current version is 2.6.0, with
2.6.1 imminent.

You appear to be missing zlib.h which is typically available in the
zlib-devel RPM.

Install that RPM and you should be OK, at least for that error. You
might want to review the R Installation and Administration for
information on building R from source and the requirements.

HTH,

Marc Schwartz



More information about the R-help mailing list