swarm-support
[Top][All Lists]
Advanced

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

Re: Installation problems with 2.0.1


From: Greg Lewis
Subject: Re: Installation problems with 2.0.1
Date: Wed, 29 Sep 1999 14:21:11 +0930 (CST)

> GL> I've tried a make clean, removing those files, and restarting and
> GL> I've tried removing everythign and starting again.  Each time I
> GL> still run into the same error :(.
> 
> Ok, I see the problem now.  It's because you're building in the source tree.  
> If you do the build like this:
> 
> $ cd 
> $ mkdir -p build/swarm
> $ cd build/swarm
> $ $SWARMSRCDIR/configure --srcdir=$SWARMSRCDIR
> 
> You won't run in to that bug.

Thanks very much Marcus!  Swarm now builds like a charm.  There was a
small mod that I had done previously though to as far as I had gotten in
the build:  

The Makefiles with the include paths for the Java headers defaults to
genunix.  I altered this throughout to freebsd.  I _think_ that
the following patch (in the m4 subdirectory) will fix this but haven't 
yet regenerated configure to test it.

--- acjdk.m4.orig       Wed Sep 29 14:00:41 1999
+++ acjdk.m4    Wed Sep 29 14:04:45 1999
@@ -47,6 +47,10 @@
         AC_MSG_ERROR([Can't find threads])
       fi
       proc=sparc
+    elif test -f $expand_jdkincludedir/freebsd/jni_md.h; then
+      JAVAINCLUDES="$JAVAINCLUDES -I$jdkincludedir/freebsd"
+      threads=green
+      proc=i386
     elif test -f $expand_jdkincludedir/alpha/jni_md.h; then
       JAVAINCLUDES="$JAVAINCLUDES -I$jdkincludedir/alpha"
       JAVALIBS='${jdkdir}/shlib'

-- 
Greg Lewis                              address@hidden
Computing Officer                       +61 8 8303 5083
Teletraffic Research Centre

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