What was your solution? Very useful advice in this particular article! This can get.....confusing. answered Jan 2, 2007 by userid0 Veteran of the Digi Community (2,126 points) Please log in or register to add a comment. 0 votes I recently upgraded the kernel via yum http://sonoportal.net/error-cannot/error-cannot-create-sourcedir-usr-src-redhat-sources.html
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 Red Hat Account Number: Red Hat Account Account Details Newsletter and Contact Preferences User Management Account Maintenance Customer Portal My Profile Notifications Help For your security, if you’re on a public You could also use mock but that > will need to be setup as well. > > Regards, > > -- > Tom Diehl tdiehl at rogueind.com Spamtrap address > mtd123 LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat rpm error: cannot create %sourcedir User Name Remember Me? http://www.linuxquestions.org/questions/red-hat-31/rpm-error-cannot-create-sourcedir-165733/
When using the install command # rpm -ivh [filename] I get the following error message: error: cannot create %sourcedir/usr/src/redhat/sources Do I have to make a directory to put it in? 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 no checking for suffix of executables...
Search this Thread 04-03-2004, 11:47 AM #1 ticro LQ Newbie Registered: Sep 2003 Posts: 1 Rep: rpm error: cannot create %sourcedir very newbie here using redhat 9 I am Most likely youwill need other directories as well. sachinnshah Linux - General 3 06-03-2004 09:40 AM rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM How can I create an Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
Click Here to receive this Complete Guide absolutely free. Cpio Md5 Sum Mismatch Comment 1 Will Woods 2006-08-23 14:29:38 EDT Solution: install rpm-build. i386 checking for gcc... This bug has been present since FC5.
We Acted. If you don't want to wait that long, just do: mkdir /usr/src/redhat and try again. 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 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
Anyone got any fantastic ideas of how to install this on CentOS? https://community.hpe.com/t5/System-Administration/error-cannot-create-sourcedir-usr-src-redhat-SOURCES/td-p/3912710 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, Warning: Group Mockbuild Does Not Exist - Using Root 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 Src Rpm 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
gcc checking for gcc version... >= 3.2 (3.4.6) checking for gcc... Check This Out The above errors indicate that the kernel sources/headers are not found for your 2.6.9-42-ELsmp kernel. Register If you are a new customer, register now for access to product evaluations and purchasing capabilities. Without this directory, attempting to install a .src.rpm fails with: error: cannot create %sourcedir /usr/src/redhat/SOURCES Creating /usr/src/redhat allows the .src.rpm to be installed. Rpm-build
make: Leaving directory `/root/dgrp-1.9/dgelreset' (cd dinc; make LINUX) make: Entering directory `/root/dgrp-1.9/dinc' make: Entering directory `/root/dgrp-1.9/dinc' make: Nothing to be done for `all'. Discussion Navigation viewthread | post Discussion Overview groupcentos @ categoriescentos postedMar 13, '11 at 10:23a activeMar 13, '11 at 11:51a posts5 users4 websitecentos.org irc#centos Preferences responses expanded Hotkey:s font variable Hotkey:f platform: Red Hat Advansed Server 3.0 i'm root. http://sonoportal.net/error-cannot/error-cannot-create-sourcedir-usr-src-redhat-sources-rhel.html Now time for make all... [[email protected] dgrp-1.9]# make all (cd driver; make all) make: 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: Entering directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686' Building modules, stage
I'm assuming if I reboot it will automatically launch the new kernel, and it should compile without any issues? If you need to reset your password, click here. 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
Note You need to log in before you can comment on or make changes to this bug. I'm trying to install (or build?) a package that is only available as a *.src.rpm file. Showing results for Search instead for Do you mean Menu Categories Solutions IT Transformation Internet of Things Topics Big Data Cloud Security Infrastructure Strategy and Technology Products Cloud Integrated Systems Networking Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest
Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. checking for suffix of object files... a.out checking whether the C compiler works... have a peek here Need access to an account?If your company has an existing Red Hat account, your organization administrator can grant you access.
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. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ 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, Subscriber exclusive content A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
The time now is 01:59 PM. Posts: 16,776 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 Open Source Communities Comments Helpful 2 Follow installing source rpm fails with error: cannot create %sourcedir /usr/src/redhat/SOURCES Solution Verified - Updated 2014-10-15T12:24:30+00:00 - English No translations currently exist. herohat View Public Profile View LQ Blog View Review Entries View HCL Entries Visit herohat's homepage!
Home | New | Search | [?] | Reports | Requests | Help | NewAccount | Log In [x] | Forgot Password Login: [x] | Report Bugzilla Bug Legal Newsletter Sign URL: http://lists.centos.org/pipermail/centos/attachments/20110313/b5273752/attachment.html Sync at Mar 13, 2011 at 10:47 am ⇧ On Sun, Mar 13, 2011 at 10:27 PM, Tom Diehl wrote:On Sun, 13 Mar 2011, sync wrote:Hi to all.I'm having sawoy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sawoy 04-26-2004, 02:40 AM #5 sawoy LQ Newbie Registered: Mar 2004 Location: sawoy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by sawoy 02-09-2008, 09:15 AM #6 rshendershot LQ Newbie Registered: Jun 2006 Posts:
digity View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by digity 04-01-2013, 09:17 AM #13 herohat LQ Newbie Registered: Dec 2002 Posts: make: Leaving directory `/root/dgrp-1.9/dgipserv' (cd dgelreset; make -f Makefile.linux all) make: Entering directory `/root/dgrp-1.9/dgelreset' make: Nothing to be done for `all'. This can get..... Page: 1 2 next » Send feedback Contact a Digi expert and get started today!
© Copyright 2017 sonoportal.net. All rights reserved.