[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation Installation problem swarm 2002 05 14
From: |
Paul Johnson |
Subject: |
Re: Compilation Installation problem swarm 2002 05 14 |
Date: |
Fri, 26 Jul 2002 09:29:50 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606 |
In the SPEC file with which I build RPMS, I note some special ppc
instructions that Alex Lancaster figured out some time ago. For ppc,
apparently one must get/install the libffi package, which we all used to
do in the old days.
I don't recall ever seeing the tcl/tk configure options used in the way
you indicate. The standard configure line I use in the SPEC file is
%define baseconfigure CC=gcc3 JAVAC=jikes %{SWARM_SRC_DIR}/configure
--srcdir=%{SWARM_SRC_DIR} --with-defaultdir=/usr --prefix=/usr
--enable-subdirs --with-jdkdir=/usr/local/j2sdk1.4.0
For the ppc, additionally, the configure line has to tell where ffi is,
as the SPEC file indicates:
%ifarch ppc
CFLAGS="-fdollars-in-identifiers -O2 -g" %configure --with-ffidir=/usr
--disable-jar
%endif
Suppose you have the stuff installed in the standard directories, just
telling it defaultdir is /usr will let the system know where files are.
So if you were typping in by hand, I think you'd need to cd into a build
directory and type:
$ CC=gcc3 JAVAC=jikes
/home/febousr/Dev/Swarm/swarm-2002-05-14/configure
--srcdir=/home/febousr/Dev/Swarm/swarm-2002-05-14/
--prefix=/usr --enable-subdirs --with-defaultdir=/usr
--with-jdkdir=/usr/local/j2sdk1.4.0 --with-ffidir=/usr --disable-jar
I recall jar is disabled because jar program was defective as distributed.
I'd consider disabling JAVA for test purposes by changing to
--without-jdkdir
You don't say which gcc you are using to compile this, but if you don't
have the special patched version of gcc3, you need to change one line in
the source code. If you do not have the gcc patched, then you need to
REVERSE the effect of this patch on interface.el. That is, you must
insert the semicolon on the indicated line:
*** interface.el-original Sun Jul 8 19:22:33 2001
--- interface.el Sun Jul 8 19:22:56 2001
***************
*** 625,631 ****
(defun create-dispatch-hash-table (protocol phase)
(let ((ht (make-hash-table)))
! ;(load-dispatch-hash-table protocol phase ht)
ht))
(defun c-objc-type (type)
--- 625,631 ----
(defun create-dispatch-hash-table (protocol phase)
(let ((ht (make-hash-table)))
! (load-dispatch-hash-table protocol phase ht)
ht))
(defun c-objc-type (type)
~
And if you do have the special thing, the cpp flag -DMETHOD_FUNCTIONS is
used...
%{gcc_path} make EXTRACPPFLAGS=-DMETHOD_FUNCTIONS
EXTRALDFLAGS=-static-libgcc JAVAC=/usr/bin/jikes
address@hidden wrote:
hi all,
i'm new in this list.
My name is Raoul Jean Pierre Bonnal i'm italian and i'm studing computer
science at Bicocca University of Milan.
I would use swarm to simulate my thesis' project, about Ca, Fault
tollerance.
I use an iBook2 500Mhz, Debian(ppc)/Woody.
I have downloaded swarm 2002 05 14, jdkblackdown j2sdk-1.3.1, hdf5-1.4.4
hdf5 compiled & check ok, installed
jdk installed
swarm configured with :
--------------------------------------------------------------------------------------------------------------
./configure --srcdir=/home/febousr/Dev/Swarm/swarm-2002-05-14/
--with-tcllibname=tcl8.0 --with-tklibname=tk8.0
--------------------------------------------------------------------------------------------------------------
i have tcl8.3 tk8.3 too
my env is :
---------------------------------------------------------------------------------------------------------------
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ku.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
==================================
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.