LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2003, 09:07 AM   #1
janisj
Member
 
Registered: Jul 2003
Location: Hesse, Germany
Distribution: Fedora Core 1
Posts: 38

Rep: Reputation: 15
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
 
Old 12-06-2003, 09:15 AM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
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.
 
Old 12-06-2003, 09:32 AM   #3
janisj
Member
 
Registered: Jul 2003
Location: Hesse, Germany
Distribution: Fedora Core 1
Posts: 38

Original Poster
Rep: Reputation: 15
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?
 
Old 12-06-2003, 09:33 AM   #4
janisj
Member
 
Registered: Jul 2003
Location: Hesse, Germany
Distribution: Fedora Core 1
Posts: 38

Original Poster
Rep: Reputation: 15
where can I find inject?
 
Old 12-06-2003, 11:37 AM   #5
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Should be in /usr/bin or /bin from what I remember.
 
Old 12-07-2003, 05:05 AM   #6
janisj
Member
 
Registered: Jul 2003
Location: Hesse, Germany
Distribution: Fedora Core 1
Posts: 38

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot register an rpm file in mandriva theoldun Linux - Software 0 11-14-2005 02:25 AM
I lost my rpm database Janneman Red Hat 1 10-24-2004 05:13 AM
RPM database, help! Thetargos Fedora 2 07-30-2004 05:47 PM
rpm database palmmjsg23 Linux - General 6 03-09-2004 11:58 PM
RH rpm database gfyspf Red Hat 1 09-17-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration