If you don't have /usr then there's no way your compiler would work at all, and Fink would definitely have bombed.
If you used the Finder, it wouldn't show up--that directory is hidden. Try using
ls /usr/include
from a terminal.
On Friday, October 17, 2003, at 04:40 PM, JP Glutting wrote:
Hmm, this is odd. First, I think you meant /sw/include instead of /usr/include, correct? I don't seem to have a usr directory anywhere.
I don't seem to have a util.h file in the /sw/include directory. i do have a util.h file in the /System/Library/Perl/darwin/CORE/ but that does not seem like that is what I am looking for...
The R installation does have it's own include directory, (/sw/lib/R/include/R_ext/ contains a file Utils.h - capitalized - but this also seems an unlikely candidate, since it says it is checking for the gcc default output, not something related to R.
Do you know how the header files were installed in your /sw/include directory? I am going to try installing glib2 and glib2-dev (which brings in glib2-shlibs)
Nope, that didn't work. I am really just mucking around here - I am not even sure what sort of functionality util.h is going to provide to the gcc.
Cheers,
JP
On Friday, Oct 17, 2003, at 04:08 Europe/Madrid, Alexander Hansen wrote:
That looks really odd to me, because on my system pthread.h and util.h are both in /usr/include . Check and see if you have /usr/include/util.h .
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
-- Alexander K. Hansen Levitated Dipole Experiment http://www.psfc.mit.edu/LDX
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
