[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] swarmapps-objc-2.2 test version available
From: |
Paul Johnson |
Subject: |
Re: [Swarm-Support] swarmapps-objc-2.2 test version available |
Date: |
Mon, 07 Mar 2005 11:21:32 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041127) |
If you are serious about making an RPM, it is easy.
Get this package:
http://lark.cc.ku.edu/~pauljohn/Swarm/Swarm-2.2X_Fdr3/swarm-2.2-1_fc3.src.rpm
If you have a "stock" system, and you install that, it will dump it into
/usr/src/redhat
and those directories are owned by root, and so you have trouble
building things unless you are root. If you want to do that, look in
/usr/src/redhat/SPECS/swarm-2.2.spec
In there, the only lines you should have to change will concern the
version and jdk edition. for version, replace my FC3 with SUSE92 or
whatever. I think in there I had jdk-1.5.0, but due to trouble with
that, I'm planning to revert back to j2sdk-1.4.2_07. So if that is what
you use, I think it will be fine.
After editing that, you run this command
rpmbuild -ba swarm-2.2.spec
It will create the rpms as well as a new srpm.
Now, if you don't want to do this as root (and I don't think you
should), you can build RPMS as an ordinary use if you either
1. change the permissions on all those directories under /usr/src/redhat
so that users can read & write, or
2. put in a file called .rpmmacros in your home directory that re-sets
the value of that directory. Here's my .rpmmacros
%_topdir /home/pauljohn/LinuxDownloads/redhat
I had to manually create the directories
mkdir -p /home/pauljohn/LinuxDownloads/redhat/SPECS
mkdir -p /home/pauljohn/LinuxDownloads/redhat/SRPMS
mkdir -p /home/pauljohn/LinuxDownloads/redhat/BUILD
mkdir -p /home/pauljohn/LinuxDownloads/redhat/RPMS/i386
mkdir -p /home/pauljohn/LinuxDownloads/redhat/RPMS/i686
After that, when you run the rpmbuild program as a user, it will do all
the work in the directory you specify.
Of course, you can specify any directory you want,you don't have to use
LinuxDownloads/redhat .
Giovanni Maniscalco Basile wrote:
Dear Paul,
as fopr SuSE 9.2 I did as follows:
1. I downloaded the last version of Swarm for fc3;
2. I installed first gperf (./configure complains if it doesn't find
it!);
3. I downloaded the most recent RPM surces of BLT and HDF5 and installed
them via rpmbuild --rebuild
4. after that
$tar xvfz swarm-2.2.tar.gz
$./configure --with-jdkdir=<MyJdkdir>
$make
$make install
and everything works.
If I knew how to do it I would be glad to build an RPM for SuSE 9.2
Thanks for everything.
--
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] swarmapps-objc-2.2 test version available, Paul Johnson, 2005/03/01
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available, Alex Lancaster, 2005/03/01
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available, Prof. Avv. Giovanni Maniscalco Basile, 2005/03/05
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available, Paul Johnson, 2005/03/05
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available, Prof. Avv. Giovanni Maniscalco Basile, 2005/03/06
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available, Paul Johnson, 2005/03/06
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available, Giovanni Maniscalco Basile, 2005/03/07
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available,
Paul Johnson <=
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available, Giovanni Maniscalco Basile, 2005/03/08
- [Swarm-Support] How to do multiple runs?, DongFang Shi, 2005/03/08
- Re: [Swarm-Support] How to do multiple runs?, Konrad_Richter, 2005/03/08
- Re: [Swarm-Support] How to do multiple runs?, Darren Schreiber, 2005/03/08
- Re: [Swarm-Support] How to do multiple runs?, Paul Johnson, 2005/03/08
- Re: [Swarm-Support] How to do multiple runs?, DongFang Shi, 2005/03/09
- Re: [Swarm-Support] How to do multiple runs?, Paul Johnson, 2005/03/09
- Re: [Swarm-Support] swarmapps-objc-2.2 test version available, Paul Johnson, 2005/03/08