It also could be looking for a util.h that was installed via R. You may want to set your environment up as per
http://fink.sourceforge.net/faq/usage-general.php#compile-myself
On Thursday, October 16, 2003, at 10:18 AM, JP Glutting wrote:
Hi Again,
I am trying to compile the R/SPlus extensions for the R package that is installed with fink. I have downloaded the package, and as the instructions indicate, run this command:
R INSTALL --clean RSPython (RSPython is adirectory).
I get this error:
* Installing *source* package 'RSPython' ...
checking for python... /sw/bin/python
Using threads
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
check `config.log' for details.
ERROR: configuration failed for package 'RSPython'
when checking the config.log file, I see this:
configure:1666: $? = 0
configure:1668: gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)
configure:1671: $? = 0
configure:1673: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1676: $? = 1
configure:1696: checking for C compiler default output
configure:1699: gcc conftest.c -lpthread -lutil >&5
ld: can't locate file for: -lutil
configure:1702: $? = 1
configure: failed program was:
#line 1679 "configure"
#include "confdefs.h"
int main () {
; return 0; } configure:1729: error: C compiler cannot create executables check `config.log' for details.
So it looks like the gcc can't find the "util" library. Has anyone had this problem? Does anyone know what the util library does, where it is, and if there are OS X libraries that need to be included in the path to compile correctly (or R libraries that need to be included).
This is the first real thing I have tried to compile on the Mac. I did compile "Hello World" just to make sure that the compiler was installed and working.
Thanks for any help.
Cheers,
JP
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
-- Alexander K. Hansen Levitated Dipole Experiment http://www.psfc.mit.edu/LDX
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
