Home > Error Cannot > Error Cannot Create Sourcedir

Error Cannot Create Sourcedir

Contents

Posts: 16,708 Rep: this is a red hat 9 thread you are not using rh9 please start a new thread with CentOS 6.4 or centOS 5.9 in the title the solution Find More Posts by herohat 04-01-2013, 02:52 AM #12 digity Member Registered: Apr 2005 Posts: 105 Rep: Ya, any word on this? 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 ] 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 http://megavoid.net/error-cannot/error-cannot-create-sourcedir-usr-src-rpm-sources.html

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. Forum Operations by The UNIX and Linux Forums FedoraForum.org > The Dungeon > Archived (Click Header To See Sub-Forums) > Fedora Core 2 Test Releases > Installing a source rpm PDA Is this what you want? Bug203772 - rpm cannot install .src.rpm due to missing /usr/src/redhat Summary: rpm cannot install .src.rpm due to missing /usr/src/redhat Status: CLOSED NOTABUG Aliases: None Product: Fedora Classification: Fedora Component: rpm (Show

Error Cannot Create Sourcedir

yes checking for gcc option to accept ANSI C... Current Customers and Partners Log in for full access Log In New to Red Hat? I'm getting the same error on CentOS 5.9 too. Next issue is as follows...

Jason Remove advertisements Sponsored Links jasonr View Public Profile Find all posts by jasonr « Previous Thread | Next Thread » Thread Tools Show Printable Version Email this Page Subscribe to Code: [email protected] [~]# yum install rpm-build Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.steadfast.net * base: mirror.sanctuaryhost.com * epel: mirror.steadfast.net * extras: mirror.team-cymru.org * update: mirror.sanctuaryhost.com addons Register If you are a new customer, register now for access to product evaluations and purchasing capabilities. Unanswered Tags Categories Users Ask a Question Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Failing configure script. Rpm-build Find More Posts by RobertP 04-03-2004, 02:49 PM #3 mrcheeks Senior Member Registered: Mar 2004 Location: far enough Distribution: OS X 10.6.7 Posts: 1,690 Rep: *are you root? *is Message was edited by: hm2k answered Jan 2, 2007 by hm2k New to the Community (8 points) Please log in or register to add a comment. 0 votes The SSL files https://bugzilla.redhat.com/show_bug.cgi?id=203772 Thanks Jason Remove advertisements Sponsored Links jasonr View Public Profile Find all posts by jasonr #2 09-11-2003 OllieTech Registered User Join Date: Aug 2003 Last Activity: 6 December

Home | New | Search | [?] | Reports | Requests | Help | NewAccount | Log In [x] | Forgot Password Login: [x] | Report Bugzilla Bug Legal Newsletter Sign You need this to do anything useful with the contents of the .src.rpm anyway. Go to Solution. 0 Kudos Reply All Forum Topics Previous Topic Next Topic 1 REPLY Stuart Browne Honored Contributor [Founder] Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight All rights reserved. ...

Rpm-build

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 https://community.hpe.com/t5/System-Administration/error-cannot-create-sourcedir-usr-src-redhat-SOURCES/td-p/3912710 this is a CentOS release 5.9 (Final) herohat View Public Profile View LQ Blog View Review Entries View HCL Entries Visit herohat's homepage! Error Cannot Create Sourcedir It might be that the JDK...When I download the new JDK for Mac it says the disk image is not reco...You are my hero for posting this....Greetings! rpmbuild --rebuild --target i686 --define 'kernel 2.4.22-1.2149.nptl' packagename.src.rpm The package will build and when its done the rpm can be located in /usr/src/redhat/RPMS/.

Are you new to LinuxQuestions.org? check my blog 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 Please log in or register to answer this question. 12 Answers 0 votes The issue is that an end user is building as root, and the permissions of the build system Files: http://ftp1.digi.com/support/driver/40002086_M.src.rpm http://ftp1.digi.com/support/driver/40002086_M.tgz http://ftp1.digi.com/support/driver/93000359_M.txt [[email protected] ~]# rpm -ivv 40002086_M.src.rpm ============== 40002086_M.src.rpm Expected size: 3077003 = lead(96)+sigs(180)+pad(4)+data(3076723) Actual size: 3077003 40002086_M.src.rpm: MD5 digest: OK (6f4539a9c499f3b87d87fe1ab8509d20) added source package [0] found 1 source

They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. make[2]: Leaving directory `/root/dgrp-1.9/dinc' make[1]: Leaving directory `/root/dgrp-1.9/dinc' (cd dparp; make linux) make[1]: Entering directory `/root/dgrp-1.9/dparp' make -f os/Makefile.Linux all make[2]: Entering directory `/root/dgrp-1.9/dparp' make -f os/Makefile.Linux all make[2]: Entering directory this content Find all posts by OllieTech #3 09-12-2003 jasonr Registered User Join Date: Aug 2003 Last Activity: 27 October 2003, 9:10 PM EST Posts: 3 Thanks: 0 Thanked 0

So you're going to have to compile the source code yourself. We Acted. Having a problem logging in?

asked Jan 2, 2007 in Realport by hm2k New to the Community (8 points) Please log in or register to add a comment.

I ran into the same problem and found that I didn't need to apply all three to get it to work. 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 If you don't want to be a test-pilot, you should use a stable release of Fedora, Core 1 is the current stable release. Remember to do this as user, not root.

It could also mean the directory is undefined because of an error in the rpm file. 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 I also wouldn't hire a marketing firm to build my website." - Nilpo Faq Reply With Quote October 8th, 2003,08:26 AM #3 No Profile Picture Wisher View Profile View Forum http://megavoid.net/error-cannot/error-cannot-create-sourcedir-usr-src-packages-sources.html The above errors indicate that the kernel sources/headers are not found for your 2.6.9-42-ELsmp kernel.

Log in as root: su - and then just change the ownership of /usr/src/redhat/ to the user that will build the rpms like this: chown -R username /usr/src/redhat/ Then log in 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 Now time for make all... [[email protected] dgrp-1.9]# make all (cd driver; make all) make[1]: Entering directory `/root/dgrp-1.9/driver' make -C /usr/src/linux-2.6.9-42.ELsmp SUBDIRS=$PWD modules MYPWD=/root/dgrp-1.9/driver MYMANDIR=/usr/share/man make[2]: Entering directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686' Building modules, stage Have you installed the kernel-smp-devel package to match your kernel?

answered Jan 2, 2007 by hm2k New to the Community (8 points) Please log in or register to add a comment. 0 votes Once booted into the new kernel, the driver mrcheeks View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by mrcheeks 04-26-2004, 12:37 AM #4 sawoy LQ Newbie Registered: Mar 2004 Location: