[R] Building colorspace on RHEL5

hadley wickham h.wickham at gmail.com
Fri Aug 22 22:52:08 CEST 2008


Dear all,

I'm having problems installing the colorspace package on Red Hat
Enterprise Linux 5:

* Installing *source* package 'colorspace' ...
** libs
gcc -std=gnu99 -I/usr/lib/R/include -I/usr/lib/R/include
-I/usr/local/include    -fpic  -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -c colorspace.c -o colorspace.o
In file included from /usr/include/features.h:352,
                 from /usr/include/stdlib.h:25,
                 from /usr/lib/R/include/R.h:28,
                 from colorspace.c:1:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
colorspace.c: In function 'CheckHex':
colorspace.c:411: warning: implicit declaration of function 'isxdigit'
colorspace.c: In function 'RGB_to_RColor':
colorspace.c:1024: warning: unused variable 'Zn'
colorspace.c:1024: warning: unused variable 'Yn'
colorspace.c:1024: warning: unused variable 'Xn'
colorspace.c: In function 'hex_to_RGB':
colorspace.c:1115: warning: passing argument 1 of 'decodeHexStr'
discards qualifiers from pointer target type
colorspace.c: In function 'polarLAB_to_LAB':
colorspace.c:218: warning: control reaches end of non-void function
colorspace.c: In function 'XYZ_to_LUV':
colorspace.c:314: warning: control reaches end of non-void function
make: *** [colorspace.o] Error 1

I'm running 2.6.1 because lab computers can only have official rpms
and uname -a gives:

Linux rl102-07.lab.rice.edu 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15
EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Any ideas as to why the compile is failing?

Thanks,

Hadley

-- 
http://had.co.nz/



More information about the R-help mailing list