LinuxQuestions.org
Help answer threads with 0 replies.
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 10-08-2004, 06:25 AM   #1
Lobais
Member
 
Registered: Jan 2004
Location: Denmark
Distribution: Fedora Core 6
Posts: 224

Rep: Reputation: 30
rpmbuild problem


Hi, I've tried to make a nvu_41 rpm, but I can't make it work. When I do the "rpmbuild -ba nvu-1-spec", it answers:
Code:
................
drwxr-xr-x glazman/glazman      0 2004-08-06 10:18:36 composer/components/filepicker/res/content/
-rw-r--r-- glazman/glazman  25850 2004-06-10 12:19:46 composer/components/filepicker/res/content/filepicker.js
-rw-r--r-- glazman/glazman    938 2004-05-14 14:38:06 composer/components/Makefile.in
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nvu-0_41
/var/tmp/rpm-tmp.60635: line 34: cd: nvu-0_41: No such file or directory
[root@thomas thomas]#
In /var/tmp/rpm-tmp.60635 is written:
Code:
...............
unset DISPLAY

mkdir /usr/src/redhat/BUILD/nvu-0_41
cd /usr/src/redhat/BUILD
rm -rf nvu-0_41
/bin/gzip -dc /usr/src/redhat/SOURCES/nvu-0.41-source.tar.gz | tar -xvvf -
STATUS=$?
if [ $STATUS -ne 0 ]; then
  exit $STATUS
fi
cd nvu-0_41
[ `/usr/bin/id -u` = '0' ] && /bin/chown -Rhf root .
[ `/usr/bin/id -u` = '0' ] && /bin/chgrp -Rhf root .
/bin/chmod -Rf a+rX,u+w,g-w,o-w .

exit 0
Anyone got an idea about whats wrong? The spec file is very short. The %prep to %clean part only contains:
Code:
%prep
%setup
%build
%configure
make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with rpmbuild and template.spec file abefroman Linux - Software 0 11-27-2005 12:18 AM
rpmbuild ?? mickeyboa Fedora 1 07-25-2004 10:09 PM
rpmbuild linuxdev Linux - Newbie 1 02-18-2004 03:13 PM
rpmbuild linuxdev Linux - General 1 02-18-2004 03:12 PM
rpmbuild mprice74 Linux - Newbie 2 08-17-2003 06:55 PM

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

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

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