LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-18-2006, 02:23 AM   #1
gobi_dgm
Member
 
Registered: Feb 2005
Location: Bangalore
Distribution: FC3
Posts: 137

Rep: Reputation: 15
Question problems in creating a rpm package


hi,
I'm trying to create an rpm package,the issue i face is that i get an rpm created but when i do a rpm -ivh of this package and then check if this is being installed by using rpm -qla < package_name>,i get a message that its not being installed.
I tried to back trace and check if the tar ball from the SOURCE dir is being untarred in the BUILD dir,but there is nothing in the BUILD dir.am I doing the right thing.pls help

this is my .spec file in SPECS dir

Summary:trial
Name:trial
Version:007
Release:1
Source0:%{name}-%{version}.tar.gz
License: trial
Group: root
Prefix:/tmp
%description
This is trial

%prep
%setup

%build
echo "in build"
if [ -x ./configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix}
else
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
fi
make

"dc_rpm.spec" 31
 
Old 09-18-2006, 05:28 AM   #2
gobi_dgm
Member
 
Registered: Feb 2005
Location: Bangalore
Distribution: FC3
Posts: 137

Original Poster
Rep: Reputation: 15
guys have resolved it,was using rpmbuild -bs,now tried with -bb and its working
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to install suse 10.1 with rpm/package apache and php5/ssl problems?? wandering Linux - General 1 07-03-2006 12:20 PM
installed rpm-devel package but still same problems sneezesnoeze Linux - Newbie 1 04-06-2004 01:49 AM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM
RPM package installation problems nanabaffoe Linux - Software 7 07-18-2003 07:06 AM
Creating an RPM package? WeNdeL Linux - Software 3 03-05-2003 09:30 AM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration