Home > Error Cannot > Error Cannot Create Sourcedir /root/rpmbuild/sources

Error Cannot Create Sourcedir /root/rpmbuild/sources


yes checking for gcc option to accept ANSI C... Using our newly created build area as an example, we'll set topdir to /home/ed/mybuild: topdir: /home/ed/mybuild

That's all there is to Forum Operations by The UNIX and Linux Forums current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. this contact form

What does rpm-build do? 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 I recently upgraded the kernel via yum 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 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. original site

Cpio Md5 Sum Mismatch

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat rpm error: cannot create %sourcedir User Name Remember Me? We Acted. For the non-root user, this means putting the following line in a file called .rpmrc, located in your home directory: topdir: Question on the Sato-Tate conjecture A Riddle of Feelings The need for the Gram–Schmidt process Simulate keystrokes Allow multiple GUI elements to react dynamically to interaction with a single element Quoting

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. Software must be installed with very specific file ownership and permissions. I'm trying to install (or build?) a package that is only available as a *.src.rpm file. 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 ]

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: Rpm-build What? If they were, Fedora wouldn't be free, nor open. read this post here Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... unix and linux operating commands Red Hat RPM problem Linux

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 any ideas? I'm sure the site you got the src.rpm from offers at least some information. 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


All Rights Reserved. https://access.redhat.com/solutions/56028 Can Tex make a footnote to the footnote of a footnote? Cpio Md5 Sum Mismatch My adviser wants to use my code for a spin-off, but I want to use it for my own company What news about the second Higgs mode (or the mysterious particle) 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:

You may have noticed that we created a subdirectory to RPMS called i386 -- This is the architecture-specific subdirectory for Intel x86-based systems, which is our example build system. weblink Find More Posts by herohat 03-28-2013, 08:43 PM #10 John VV LQ Muse Registered: Aug 2005 Location: A2 area Mi. If you need to reset your password, click here. 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?

accept the onboard network card and wireless card, I figured the wireless card wouldn't go so I'm not really worried about that. 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 Now I have installed kernel-smp-devel (I had only installed kernel-devel previously). navigate here share|improve this answer answered Dec 6 '11 at 2:04 sqenixs 1051211 If it was all about making the spec file with what you intended (than a command line option)

answered Jan 2, 2007 by hm2k New to the Community (8 points) Please log in or register to add a comment. 0 votes Looks like there is a mis-match with the The time now is 10:04 AM. why?

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

just for kicks I installed lindows 4.5 dev ed. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. make[1]: Leaving directory `/root/dgrp-1.9/dgelreset' (cd dinc; make LINUX) make[1]: Entering directory `/root/dgrp-1.9/dinc' make[2]: Entering directory `/root/dgrp-1.9/dinc' make[2]: Nothing to be done for `all'. platform: Red Hat Advansed Server 3.0 i'm root.

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 And it's almost as easy as creating the build area itself.

Directing RPM to Use the New Build Area All that's required to get RPM to start 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 his comment is here yes checking whether we are cross compiling...

Find the limit of the following expression: What is the bandwidth cost of running a full node? asked Jan 2, 2007 in Realport by hm2k New to the Community (8 points) Please log in or register to add a comment. Did you read the error message? –Ignacio Vazquez-Abrams Apr 12 '11 at 18:14 | show 1 more comment Your Answer draft saved draft discarded Sign up or log in Sign How can I have low-level 5e necromancer NPCs controlling many, many undead in this converted adventure?

If you have any questions, please contact customer service. Is the NHS wrong about passwords? RobertP View Public Profile View LQ Blog View Review Entries View HCL Entries Visit RobertP's homepage! 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

Comment 1 Will Woods 2006-08-23 14:29:38 EDT Solution: install rpm-build. You could also use mock but that > will need to be setup as well. > > Regards, > > -- > Tom Diehl tdiehl at rogueind.com Spamtrap address > mtd123 none needed checking for current kernel version... 2.6.9-42.ELsmp -> 2.6.9-42. -> 2.6.9 checking for kernel headers... "Not found." **************************************************************************** * Unable to locate matching kernel source for the * linux 2.6.9-42.ELsmp 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.

[email protected] [~]# [email protected] [~]# ls -la /usr/src/ total 16 drwxr-xr-x 5 root root 4096 Mar 28 15:50 ./ drwxr-xr-x 16 root root 4096 Mar 28 19:39 ../ drwxr-xr-x 2 root root