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

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

Contents

Also, it sounds like you're trying to install source RPMs -- these install the source code to the programs, not the binaries. 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 Very useful advice in this particular article! This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. this contact form

You need this to do anything useful with the contents of the .src.rpm anyway. Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. I recommend booting into kernel version 2.6.9-42.0.3.ELsmp (which appears to be installed) and re-try the driver build or install the kernel-smp-devel-2.6.9-42 kernel source package (without the .0.3) to match your running Mismatched Libs? [CentOS] Samba Source [CentOS] CentOS 5.0 - Yum install using the install cd's as the RPM source [CentOS] Seeking docbook-to-man package [CentOS] CentOS 5.0 - Yum install using the my review here

Error Cannot Write To Sourcedir /usr/src/redhat/sources

By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat rpm error: cannot create %sourcedir User Name Remember Me? To build the package against your kernel you have to rebuild the driver from source, the src.rpm contains the source and instructions for the rpm system on how to build the

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 Next issue is as follows... Remember to do this as user, not root. checking for suffix of object files...

Code blocks~~~ Code surrounded in tildes is easier to read ~~~ Links/URLs[Red Hat Customer Portal](https://access.redhat.com) Learn more Close Red Hat Bugzilla – Bug203772 rpm cannot install .src.rpm due to missing /usr/src/redhat Centos Error Cannot Create Sourcedir Usr Src Redhat Sources What does rpm-build do? reply | permalink Akemi Yagi For future searchers, the details instructions are in the CentOS wiki: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment then follow: http://wiki.centos.org/HowTos/RebuildSRPM Akemi Akemi Yagi at Mar 13, 2011 at 11:51 am ⇧ https://bugzilla.redhat.com/show_bug.cgi?id=203772 Page: 1 2 next » Send feedback Contact a Digi expert and get started today!

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'. yes checking whether gcc accepts -g... no checking for suffix of executables... This can get.....

Centos Error Cannot Create Sourcedir Usr Src Redhat Sources

Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search 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 Error Cannot Write To Sourcedir /usr/src/redhat/sources Community System Administration CommunityCategoryBoardUsers turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you Cpio Md5 Sum Mismatch What?

It will just take a little extra time to compile, so there is no need to worry about that message. weblink pernasivam AIX 1 06-18-2009 09:09 AM problem in finding a hardware problem girish.batra Solaris 8 09-09-2008 10:10 AM SSH Problem auth problem budrito UNIX for Advanced & Expert Users 1 03-17-2004 joelgriffiths View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by joelgriffiths 03-28-2013, 07:24 PM #9 herohat LQ Newbie Registered: Dec 2002 Posts: And the charge you pay to get Lindows solved the whole open source only problem. Rpm-build

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? I'm trying to install (or build?) a package that is only available as a *.src.rpm file. 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 navigate here Registration is quick, simple and absolutely free.

platform: Red Hat Advansed Server 3.0 i'm root. Most likely youwill need other directories as well. gcc checking for C compiler default output...

You could also use mock but thatwill need to be setup as well.Regards,--Tom Diehl tdiehl at rogueind.com Spamtrap addressmtd123 at rogueind.com_______________________________________________CentOS mailing listCentOS at centos.orghttp://lists.centos.org/mailman/listinfo/centosThanks , The problem is solved now.I

I'm assuming if I reboot it will automatically launch the new kernel, and it should compile without any issues? 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 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 You should never do something as root, when it can be done as user.

Thanks Ticro ticro View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by ticro 04-03-2004, 01:42 PM #2 RobertP Member Registered: Jan If you need to reset your password, click here. Thanks Faq Reply With Quote October 7th, 2003,11:24 PM #2 Scorpions4ever View Profile View Forum Posts  Banned ;) Devshed Supreme Being (6500+ posts)        http://oncarecrm.com/error-cannot/error-cannot-write-to-sourcedir-usr-src-redhat-sources.html The building of rpms is like that, it can be done as user and as such, it should be.

redhat [email protected] [~]# Any ideas?... facebook google twitter rss Free Web Developer Tools Advanced Search  Forum Operating Systems Linux Help Redhat 9.0 error: cannot create %sourcedir /usr/src/redhat/SOURCES Thread: Redhat 9.0 error: cannot create %sourcedir /usr/src/redhat/SOURCES This did the job, thanks! 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.

I'm trying to install (or build?) a package that is only available as a *.src.rpm file. 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: Burn guitar. snip Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/dgrp-buildroot Wrote: /home/herrold/rpmbuild/RPMS/i386/dgrp-1.9-6.i386.rpm Wrote: /home/herrold/rpmbuild/RPMS/i386/dgrp-debuginfo-1.9-6.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.62800 + umask 022 ...

gcc checking for gcc version... >= 3.2 (3.4.6) checking for gcc... 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. Sponsors Archives September 2016 August 2016 June 2016 May 2016 April 2016 September 2015 August 2015 January 2015 November 2014 October 2014 September 2014 August 2014 April 2014 March 2014 February 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

rshendershot View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by rshendershot 02-09-2008, 03:50 PM #7 billymayday LQ Guru Registered: Mar 2006 Location: Password Red Hat This forum is for the discussion of Red Hat Linux.