Full_Name: Linc Davis Version: 1.5.1 OS: Mac OS 10.1.5 Submission from: (NULL) (68.4.90.94) When running install.packages("Rwave") as root, I got this error: In file included from compinteg.c:12: kernel.h:22: malloc.h: No such file or directory make: *** [compinteg.o] Error 1 ERROR: compilation failed for package 'Rwave' There are 3 header files 'malloc.h' in Mac OS X: one for generic C, one for Objective-C, and a private one for the OS. The R installation script looks for C headers in /usr/include, but the actual path to this one is /usr/include/sys/malloc.h I worked around the problem by copying the file as indicated, then I deleted the copy after compiling the package. To fix the bug, the script should be changed to look for C headers in both /usr/include and /usr/include/sys. Thanks. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._