Home > Error Cannot > Error Cannot Create Sourcedir /usr/src/rpm/sources

Error Cannot Create Sourcedir /usr/src/rpm/sources


error: cannot create %sourcedir /usr/src/redhat/SOURCES Posted by YCSoftware August 7, 2010 error: cannot create %sourcedir /usr/src/redhat/SOURCES A "yum install rpm-build"  fixed the issue for me System Administration this contact form

This bug has been present since FC5. URL: http://lists.centos.org/pipermail/centos/attachments/20110313/b5273752/attachment.html Previous message: [CentOS] How to install source rpm on centos Next message: [CentOS] How to install source rpm on centos Messages sorted by: [ date ] [ thread ] platform: Red Hat Advansed Server 3.0 i'm root. 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 http://www.linuxquestions.org/questions/red-hat-31/rpm-error-cannot-create-sourcedir-165733/

Cpio Md5 Sum Mismatch

Is there something I can put in my .spec file that will make it unpack the source (which is just a .tar.gz file inside the src.rpm) to a custom directory when Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ Contact Us About Digi News Events Locations Leadership Support Careers Investor Relations Partners How to Buy Legal Export Compliance Quality & Environment Other Digi Sites Site Map © Copyright 1996-2016 Digi

checking for suffix of object files... Find More Posts by herohat 04-01-2013, 08:27 AM #14 John VV LQ Muse Registered: Aug 2005 Location: A2 area Mi. We Acted. This means that any drivers, video codecs, audio formats and so on that isn't open-source won't be included in Fedora.

In Fedora, you will have to install this driver That beeing said, the src.rpm is probably a driver for the card that has to be compiled against the kernel that you Rpm-build digity View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by digity 04-01-2013, 08:17 AM #13 herohat LQ Newbie Registered: Dec 2002 Posts: The rpmbuild program will tell you what packages you're missing if you're missing any. Compare this to beeing a test pilot for a plane that doesn't entirely work.

What are the drawbacks of the US making tactical first use of nuclear weapons against terrorist sites? Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. I have the same problem AMD x86_64 fedora 8. answered Jan 2, 2007 by userid0 Veteran of the Digi Community (2,113 points) Please log in or register to add a comment. 0 votes This is the problem i'm faced with


I just didn't understand how the spec file worked in terms of rpmbuild. –sqenixs Dec 8 '11 at 3:42 add a comment| Your Answer draft saved draft discarded Sign up get redirected here I really appreciate the help! Cpio Md5 Sum Mismatch Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Red Hat Insights Increase visibility into IT operations to detect and resolve technical issues Note You need to log in before you can comment on or make changes to this bug.

By using this site, you accept the Terms of Use and Rules of Participation. End of content United StatesHewlett Packard Enterprise International CorporateCorporateAccessibilityCareersContact UsCorporate ResponsibilityEventsHewlett Packard LabsInvestor RelationsLeadershipNewsroomSitemapPartnersPartnersFind a PartnerPartner http://oncarecrm.com/error-cannot/error-cannot-create-sourcedir-root-rpmbuild-sources.html Question on the Sato-Tate conjecture When must I use #!/bin/bash and when #!/bin/sh? Log Out Select Your Language English español Deutsch italiano 한국어 français 日本語 português 中文 (中国) русский Customer Portal Products & Services Tools Security Community Infrastructure and Management Cloud Computing Storage JBoss MODPOST make[2]: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686' make[1]: Leaving directory `/root/dgrp-1.9/driver' (cd ditty; make all) make[1]: Entering directory `/root/dgrp-1.9/ditty' make[1]: Nothing to be done for `all'.

We Acted. Check that the device exists… YCSoftware Recent Comments thanks a lot...Love it bro that worked for me thank you...Same error, but on Mac, any ideas?...Thanks very much !!!...Just testing...Awesome, problem solved. You will want to confirm the running kernel matches the new installed sources exactly: # uname -a # rpm -qa | grep kernel answered Jan 2, 2007 by userid0 Veteran of navigate here make[1]: Leaving directory `/root/dgrp-1.9/dgipserv' (cd dgelreset; make -f Makefile.linux all) make[1]: Entering directory `/root/dgrp-1.9/dgelreset' make[1]: Nothing to be done for `all'.

answered Jan 2, 2007 by hm2k New to the Community (8 points) Please log in or register to add a comment. 0 votes Your running kernel is 2.6.9-42.ELsmp, while your kernel Here's how you get them both: rpm -q --qf "%{version}-%{release} %{arch}\n" kernel |grep `uname -r` This will return something like this: 2.4.22-1.2149.nptl i686. Sorry, the comment form is closed at this time.

You need this to do anything useful with the contents of the .src.rpm anyway.

but I get this lovely error: rpm -ivf bcm5700-7.1.22-1.src.rpm /etc/security/selinux/src/policy/file_contexts/file_contexts: no such file or directory error: cannot create %sourcedir /usr/src/redhat/SOURCES now this is a fresh install of Fedora so I'm not rhel rpm share|improve this question asked Nov 30 '11 at 17:36 sqenixs 1051211 I found the answer. yes checking whether we are cross compiling... You don't know your kernel-version or/and architecture, no worries.

Maybe, and I don't know this for sure, Lindows had the non-open driver in there by default. Just as you don't learn how to fly a plane by beeing a test-pilot for some government funded research project, you don't learn how to use Fedora by using a test man rpm2cpio. his comment is here You'll also need a compiler and more.

Anyone got any fantastic ideas of how to install this on CentOS? no checking for suffix of executables... Learn more about Red Hat subscriptions Product(s) Red Hat Enterprise Linux Tags configuration rhel_5 Quick Links Downloads Subscriptions Support Cases Customer Service Product Documentation Help Contact Us Log-in Assistance Accessibility Browser Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... linux operating commands and unix operating commands Red Hat RPM

o checking whether we are using the GNU C compiler... Browse other questions tagged rhel rpm or ask your own question. any suggestions? 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

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. make[1]: Leaving directory `/root/dgrp-1.9/ditty' (cd daemon; make all) make[1]: Entering directory `/root/dgrp-1.9/daemon' make[1]: Nothing to be done for `all'.