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: Wed, 05 Sep 2001 10:17:11 +0100

Sorry Marcus, I lost the error message I got, but basically, what I remember is 
it trying to comile HDF5Object.m and complaining that it couldn't find some 
HDF5-looking headerfile.

Backtracking a few steps, the reason for compiling without HDF5 was because 
when compiling swarm it was looking for odd libraries like ssl. I had used a 
precompiled binary of HDF5 1.4.2, because I couldn't get HDF5 1.2.1 to compile, 
and my guess is this was compiled with all the bells and whistles. So, I tried 
compiling HDF5 1.4.2 myself, and managed it (though I had to use the Sun 
Workshop compiler, not gcc -- using gcc meant configure told me the compiler 
was no good -- I checked the config.log file and it was trying some odd command 
like gcc solaris -lots -of -other -options. The compiler failed because it 
couldn't find a file called "solaris" -- but that's all by the by.) I have now 
successfully compiled Swarm-2001-08-25, though make install failed initially 
with this:

/bin/sh ../mkinstalldirs /software/swarm/swarm-2.1.1/swarm/bin
/bin/sh ../mkinstalldirs /software/swarm/swarm-2.1.1/swarm/include
 /software/swarm/swarm-2.1.1/swarm/bin/install-sh -c -m 644 swarm.h 
/software/swarm/swarm-2.1.1/swarm/include/swarm.h
/bin/sh: /software/swarm/swarm-2.1.1/swarm/bin/install-sh: not found
 /software/swarm/swarm-2.1.1/swarm/bin/install-sh -c -m 644 SwarmEnvironment.h 
/software/swarm/swarm-2.1.1/swarm/include/SwarmEnvironment.h
/bin/sh: /software/swarm/swarm-2.1.1/swarm/bin/install-sh: not found
 /software/swarm/swarm-2.1.1/swarm/bin/install-sh -c -m 644 
SwarmEnvironment_getters.h 
/software/swarm/swarm-2.1.1/swarm/include/SwarmEnvironment_getters.h
/bin/sh: /software/swarm/swarm-2.1.1/swarm/bin/install-sh: not found
make[3]: *** [install-includeHEADERS] Error 1
make[3]: Leaving directory `/software/swarm/swarm-2.1.1/src-20010825/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/software/swarm/swarm-2.1.1/src-20010825/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/software/swarm/swarm-2.1.1/src-20010825/src'
make: *** [install-recursive] Error 1

I copied install-sh from the top level directory to 
/software/swarm/swarm-2.1.1/swarm/bin, and make install completed successfully.

I have now successfully compiled heatbugs (Obj-C), but not java, which I'm 
about to put in a separate message about!

Gary

>>> Marcus G. Daniels <address@hidden> 04/09/01 15:33:40 >>>
>>>>> "GP" == Gary Polhill <address@hidden> writes:

GP> I have to build Swarm with HDF5 support? If not, how do
GP> I avoid HDF5? I have tried configuring and making without pointing
GP> to HDF5 libraries or header files. Configure worked OK, and
GP> detected that I didn't want HDF5, but make still tried to compile
GP> HDF5object, so of course it failed. (This is using
GP> Swarm-2001-08-25.)  

The configure option to add is --without-hdf5dir.  It could be that in
the snapshot that all the HDF5 support wasn't disabled internally.
Since I always use a HDF5 and Java equipped Swarm, I sometimes
inadvertently let thesee dependencies sneak in.  What's the error?
It's easy to disable..  HDF5.m will still get compiled; however, most
of its contents will be excluded.

                  ==================================
   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]