swarm-support
[Top][All Lists]
Advanced

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

Re: WG: [Swarm-Support] Compiling swarm-2.1.148.20040122


From: Paul Johnson
Subject: Re: WG: [Swarm-Support] Compiling swarm-2.1.148.20040122
Date: Tue, 30 Mar 2004 15:34:01 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124

Glad Swarm works!

Concerning Village: That's always been my favorite Swarm model.

I don't think you should rely on that copy of Village6 that I have in the OtherPeoplesCode directory. Its my mistake that it is even up there anymore. I was offering some help to *Tim Kohler *(at Washingon State) *and parts of that research team *and gave them back that code along with the snapshots that are in that directory. The program accesses data that lives in big files that were kept separately. Last year, I was really excited about that code and was making some pretty deep changes in the structure of that model to make it work more to my liking, but I do not know what path the project has followed since then. But I bet they have something excellent to show you.

I forgot to remove it from my web page. I am taking it down now. I just put it there originally so the members of the team could see my cool pictures.

I believe that the Village model in the Swarm ftp does work well. I think that's version 4 or so.

If you want the Village code, I'd urge you to contact the authors. They have been very helpful to me over the years. I'm cc'ing this to Tim, hopefully he can put you in touch with somebody who can fill you in on the current version of the model.

pj

Giovanni Maniscalco Basile wrote:

Dear Pj,

thanks, everything worked OK.

I also donwloaded from your Swarm site the gzipped Village6 code.
It compiled all right, but at runtime it complained that it didn't find some data files: hydro.data degrade.data, etc. I got some of them from an earlier version of the simulation, but no all the needed files.
Do you know where I can find them?

Thank you again.

Giovanni Maniscalco Basile

Il sab, 2004-03-27 alle 17:14, Paul Johnson ha scritto:

/ Here's the error in your output:

gperf: command not found

That means you should install the package "gperf"

please note I do not mean "my_java_dir" literally. I mean to point at where your system has java installed. On my systems, it is /usr/java/j2sdk1.4.2_03

Giovanni Maniscalco Basile wrote:

I tried to compile swarm-2.1.148.20041022 on a SuSE 9.0 system following the instructions given by PJ:

#cd swarm-2.1.148
# mkdir builddir
# cd builddir
# CC=/usr/bin/gcc ../configure --prefix=/usr --enable-subdirs --with-defaultdir=/usr --with-jdkdir=my_java_dir

then

# make

the make process gave the following error:

/home/maniba/swarm/swarm-2.1.148.20040122/builddir/_common.elc
Done
Wrote /home/maniba/swarm/swarm-2.1.148.20040122/builddir/_protocol.elc
Done
Wrote /home/maniba/swarm/swarm-2.1.148.20040122/builddir/_interface.elc
Done
Wrote /home/maniba/swarm/swarm-2.1.148.20040122/builddir/src/_getters.elc
Done
cc1: warning: "-Wno-protocol" is valid for ObjC but not for C/C++
cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++
cc1: warning: "-Wno-protocol" is valid for ObjC but not for C/C++
cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++
cc1: warning: "-Wno-protocol" is valid for ObjC but not for C/C++
cc1: warning: "-fgnu-runtime" is valid for ObjC but not for C/C++
../../../src/misc/xmalloc.c:10: warning: empty declaration
../../../src/misc/xmalloc.c:11: warning: empty declaration
../../../src/misc/xmalloc.c:12: warning: empty declaration
../../../src/misc/xmalloc.c:13: warning: empty declaration
Wrote /home/maniba/swarm/swarm-2.1.148.20040122/builddir/src/defobj/_modulemap.elc
Done
/bin/sh: line 1: gperf: command not found
make[5]: *** [../../../src/defobj/modulemap.c] Error 127
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I attach the config.log and Makefile

Thanks

Giovanni Maniscalco Basile

P.S. does it exists a newer version of Swarm?
If so, where is it?

GMB

------------------------------------------------------------------------


_______________________________________________
Support mailing list
address@hidden/
/_http://www.swarm.org/mailman/listinfo/support_/



--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504 University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700



reply via email to

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