LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 11:49 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 623

Rep: Reputation: 33
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 03:57 AM.
 
Old 10-31-2009, 01:29 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,169

Rep: Reputation: 2645Reputation: 2645Reputation: 2645Reputation: 2645Reputation: 2645Reputation: 2645Reputation: 2645Reputation: 2645Reputation: 2645Reputation: 2645Reputation: 2645
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, 06:50 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,564
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
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


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


All times are GMT -5. The time now is 05:06 PM.

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