yes checking whether gcc accepts -g... I'm assuming I need to do: ln -s /usr/src/kernels/2.6.9-42.0.3.EL-smp-i686 /usr/src/linux-2.6.9-42.ELsmp And that should work. I'm trying to install (or build?) a package that is only available as a *.src.rpm file. Comment 1 Will Woods 2006-08-23 14:29:38 EDT Solution: install rpm-build. this contact form
The rpmbuild program will tell you what packages you're missing if you're missing any. I get an error: [[email protected] root]# rpm -ivh exim-3.36-5.src.rpm warning: exim-3.36-5.src.rpm: V3 DSA signature: NOKEY, key ID e01260f1 error: cannot create %sourcedir /usr/src/redhat/SOURCES How do I fix this error? You are currently viewing LQ as a guest. You could also use mock but that > will need to be setup as well. > > Regards, > > -- > Tom Diehl tdiehl at rogueind.com Spamtrap address > mtd123
asked Jan 2, 2007 in Realport by hm2k New to the Community (8 points) Please log in or register to add a comment. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.
logiqwest.com/TechnicalPapers/rpmScriptInstall.html provides step-by-step instructions for doing what I was trying to do. –sqenixs Dec 1 '11 at 0:17 add a comment| 3 Answers 3 active oldest votes up vote 1 down Rpm-build You need this to do anything useful with the contents of the .src.rpm anyway. To build rpms you need a lot of things, first of all you need the rpmbuild package, install that by yum or whatever package manager you prefer. https://access.redhat.com/solutions/56028 sawoy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sawoy 04-26-2004, 01:40 AM #5 sawoy LQ Newbie Registered: Mar 2004 Location:
How do hackers find the IP address of devices? snip + exit 0 [[email protected] build]$ answered Jan 2, 2007 by herrold New to the Community (1 point) Please log in or register to add a comment. 0 votes checking for What does rpm-build do? why?
Create "gold" from lead (or other substances) How to cope with too slow Wi-Fi at hotel? All Linux questions here! Cpio Md5 Sum Mismatch Issue Installing source rpm fails with error: cannot create %sourcedir /usr/src/redhat/SOURCES $ rpm -ivh kernel-2.6.18-194.el5.src.rpm warning: kernel-2.6.18-194.el5.src.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: cannot create %sourcedir /usr/src/redhat/SOURCES Environment I just run the following commands: root at test ~: cp -r /usr/src/redhat /home/test/rpm root at test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm Then enter the rpm directory will find the xxx.rpm package,
up vote 1 down vote favorite 1 I'm trying to make an rpm that will unpack the source to a custom directory, such as /asdf. http://birdsallgraphics.com/error-cannot/error-cannot-create-sourcedir-root-rpmbuild-sources.php Note You need to log in before you can comment on or make changes to this bug. Fedora is an open-source only distro, as such it's free for you to download. no checking for suffix of executables...
a.out checking whether the C compiler works... Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If not, install it.If not, my next guess is that the following directories do not exist:/usr/src/redhat/SOURCES/usr/src/redhat/SPECS/usr/src/redhat/BUILD/usr/src/redhat/SRPMS/usr/src/redhat/RPMS/usr/src/redhat/RPMS/athlon/usr/src/redhat/RPMS/i386/usr/src/redhat/RPMS/i486/usr/src/redhat/RPMS/i586/usr/src/redhat/RPMS/i686/usr/src/redhat/RPMS/noarch One long-haired git at your service... 1 Kudo Reply The opinions expressed above are the http://birdsallgraphics.com/error-cannot/error-cannot-create-sourcedir-usr-src-packages-sources.php That package creates the missing directory.
For the user to be able to build rpm he or she will need to have write permission to the /usr/src/redhat directory and its subdirs. Can 'it' be used to refer to a person? John VV View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by John VV Thread Tools Show Printable Version Email this Page Search this
Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. To compile against the kernel, you will also need the kernel-source package, install that one as well. Failing configure script." On CentOS it appears that "/usr/src/linux-2.6.9-42.ELsmp" would not exist, however "/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686" does. I'm assuming if I reboot it will automatically launch the new kernel, and it should compile without any issues?
Solved! Find More Posts by herohat 03-28-2013, 08:43 PM #10 John VV LQ Muse Registered: Aug 2005 Location: A2 area Mi. The binary in my example will be found in: /usr/src/redhat/RPMS/i686/ vBulletin v3.8.7, Copyright ©2000-2016, vBulletin Solutions, Inc. his comment is here The time now is 11:18 AM. - Contact Us - Unix & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top
View Responses Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups Can a class instance variable be excluded from a subclass in Java? Good Luck Remove advertisements Sponsored Links OllieTech View Public Profile Visit OllieTech's homepage! Posts: 16,708 Rep: you are aware that this thread is from 2004 and for the now very dead RH9 RH9 did not have "yum" that was not added until many years
This is the first rpm install I've tried.