LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2009, 10:49 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 690

Rep: Reputation: 34
Guess I need rpm build tools ?


When executing a shell-script, this is the output that is generated :
Code:
bash-3.2# sh build.sh 
build.sh: line 22: rpmbuildenv: command not found
error: failed to stat /usr/src/MySQL-1.3/MySQL.spec: No such file or directory
error: failed to stat /usr/src/MySQL-1.3/MySQL.spec: No such file or directory
If rpmbuildenv is not found on my system, what is missing ??

Last edited by jonaskellens; 11-01-2009 at 02:57 AM.
 
Old 10-31-2009, 12:29 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Tried with 'which rpmbuildenv' on a couple of systems
with all the rpm devel tools installed : "no rpmbuildenv".

You can also use this : http://www.google.com/linux
.. and not find anything like rpmbuildenv.

So I guess, it's just a bug. ( In your script ? ).
 
Old 10-31-2009, 05:50 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Extracting (..)/nagiosplug/download/MySQL-1.3.tgz just comment out line 22 (reading "rpmbuildenv svn") in the "build.sh" script. If you choose to just copy the Perl scripts then "export PERL5LIB=/path/to/utils.pm" to avoid the INC errors.
 
  


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
self build rpm fails with missing dependencies on build host zhjim Linux - Software 1 09-24-2009 08:47 AM
Cannot build net-tools-1.60 dwhitney67 Linux From Scratch 5 10-31-2007 11:32 AM
How can I generate / build and RPM from *.src.rpm file sreekumartg Red Hat 3 02-23-2007 05:23 PM
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 09:15 AM
rpm-build-tools-4.3.1? hotpepsi Linux - Newbie 0 01-03-2005 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:38 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