swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java, Swarm, JDK1.2.2, Solaris 8 and static vs shared libraries


From: Gary Polhill
Subject: Re: java, Swarm, JDK1.2.2, Solaris 8 and static vs shared libraries
Date: Tue, 14 Aug 2001 18:52:07 +0100

OK... Here's the message I get when trying to configure the HDF5-1.4.2 source:

env CC=gcc ./configure --prefix=/software/hdf5/hdf5-1.2.1 --enable-production
loading cache ./config.cache
checking host system type... sparc-sun-solaris2.8
checking shell variables initial values... done
checking for cached host... none
checking for sizeof hsize_t and hssize_t... large
checking for config sparc-sun-solaris2.8... no
checking for config sparc-sun-solaris2.x... no
checking for config sun-solaris2.8... no
checking for config sun-solaris2.x... no
checking for config sparc-solaris2.8... no
checking for config sparc-solaris2.x... no
checking for config sparc-sun... no
checking for config solaris2.8... no
checking for config solaris2.x... found
compiler 'gcc' is GNU gcc-2.95.2
checking for config ./config/site-specific/host-oak... no
checking for gcc... gcc
checking whether the C compiler (gcc  solaris -ansi -pedantic -Wchar-subscripts 
-Wall -W -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Winline ) works... no
configure: error: installation or configuration problem: C compiler cannot 
create executables.

This might confirm your suspicions, but the last few lines of config.log say 
this:

configure:977: gcc -o conftest  solaris -ansi -pedantic -Wchar-subscripts -Wall 
-W -Wshadow -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -Winline   conftest.c  -lsocket 1>&5
gcc: solaris: No such file or directory
configure:974: warning: return-type defaults to `int'
configure:974: warning: function declaration isn't a prototype
configure: failed program was:

#line 972 "configure"
#include "confdefs.h"

main(){return(0);}

I assumed "solaris" was a file that was supposed to appear in the HDF5 source 
tree somewhere, and it was trying to compile this file. Bad assumption I 
guess.... Any ideas how I fix things? Do you need to know how I installed gcc?

Gary

>>> Marcus G. Daniels <address@hidden> 14/08/01 18:39:15 >>>
>>>>> "GP" == Gary Polhill <address@hidden> writes:

GP> I am using SDGgcc-2.95.2 -- I didn't quite install this the way you
GP> asked because I don't have root permissions any more :-( -- and I
GP> wanted to give sysadmin the minimum and simplest possible
GP> instructions...

Well, it looks like either the C preprocessor isn't working right or
maybe sed.  I'm not inclined to ponder the things that could wrong if
it isn't installed in /opt/SDGgcc/2.95.2.

Also, HDF5 1.4.2 compiled fine for me, so that makes me more suspicious.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]