[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs and clean source
From: |
Paul E Johnson |
Subject: |
Re: emacs and clean source |
Date: |
Fri, 01 Nov 2002 10:35:56 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918 |
Levente -Levi- Littvay wrote:
Double response!
The best approach would be to replace the tree with the virgin CVS every
time I just don't know what flags I need to put to do that. (help
didn't help much either)
now I just use: cvs update -d
L
The best thing, in my opinion, is NOT to use CVS, but rather build from
a snapshot.
Then, after you get the source code opened up, DO NOT run the configure
and make inside the source tree itself, but rather do it in a separate
build directory that you can delete and start fresh. As you observe,
"make distclean" does not always get the job done.
This is detailed in teh SwarmFaq and I don't want to repeat myself, but
suppose you untar swarm into swarm-2.2, then
# cd swarm-2.2
# mkdir build
# cd build
# ../configure --prefix=/usr/local/swarm --with-defaultdir=/usr
--prefix=/usr --with-jdkdir=/usr/local/j2sdk1.4.0 --enable-subdirs
--with-hdf5dir=/usr
# make EXTRACPPFLAGS=-DMETHOD_FUNCTIONS EXTRALDFLAGS=-static-libgcc
JAVAC=/usr/bin/jikes
# make install
This will dump swarm into /usr/local/swarm and you will need to worry
about shared library paths after that, but it keeps your file system clean.
You should not need all the tclinc stuff you had in your configure
statement, it will find it if you have --with-defaultdir=/usr
pj
--
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
==================================
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.