How to register ant with rpm database?
I downloaded Apache Ant apache-ant-1.5.4-bin.tar.gz. I carried out all instructions -- set up $ANT_HOME and added bin to my $PATH. Ant is a dependency for eclipse. The problem is, when I now try to build eclipse source rpm still says that there is no ant. How can I register ant with the rpm database?
Thanks, Janis |
Check if rpm has an inject option or something like that. I haven't used RPM in ages.
Actually, there is a program called inject. Try that out, it'll add things to the rpm database. |
or perhaps my question should be rephrased: how to build an rpm out of a tarball for ant?
Perhaps somebody has the rpm or an example SPEC file for ant already? |
where can I find inject?
|
Should be in /usr/bin or /bin from what I remember.
|
what a good memory you have, teval. But, it appears to me, the concept won't work. You need to first build the rpm from the tarball, then install it as always.
Anyway, I installed ant and tomcat using rpm. For this there is a quite ok howto here: http://www.mail-archive.com/tomcat-u...msg107082.html I used the newest versions from www.jpackage.org and it worked. Regards, J. |
All times are GMT -5. The time now is 12:13 AM. |