Error Cannot Create Sourcedir /root/rpmbuild/sources
If you'd like to contribute content, let us know. 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 Home | New | Search | [?] | Reports | Requests | Help | NewAccount | Log In [x] | Forgot Password Login: [x] | Report Bugzilla Bug Legal Red Hat Failing configure script." On CentOS it appears that "/usr/src/linux-2.6.9-42.ELsmp" would not exist, however "/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686" does. http://megavoid.net/error-cannot/error-cannot-create-sourcedir-usr-src-rpm-sources.html
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. But a non-root user can't create files that are owned by anyone other than his or herself. You need this to do anything useful with the contents of the .src.rpm anyway. The two options, "-o 0" and "-g 0", dictate that the directories to be created in the build root are to be owned by the root account. http://www.linuxquestions.org/questions/red-hat-31/rpm-error-cannot-create-sourcedir-165733/
Error Cannot Create Sourcedir /root/rpmbuild/sources
If you need to reset your password, click here. How can I list two concurrent careers, one full time and one freelance, on a CV? When I run it, it always errors out saying "cannot create %sourcedir /usr/src/redhat/SOURCES". If you don't want to wait that long, just do: mkdir /usr/src/redhat and try again.
Most likely you > will need other directories as well. Otherwise, the --buildroot option will need to be used: % cd /home/ed/mybuild/SPECS % rpm -ba --buildroot /home/ed/mybuildroot cdplayer-1.0.spec * Package: cdplayer + umask 022 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 Find More Posts by herohat 03-28-2013, 08:43 PM #10 John VV LQ Muse Registered: Aug 2005 Location: A2 area Mi.
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 Rpm-build 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 foolish11th March 2004, 04:17 PMFirst of all, you are using a test release. view publisher site checking OpenSSL header version... "Not found." ****************************************************************************** * Unable to locate the OpenSSL headers! * * The Digi RealPort driver requires the OpenSSL layer. * * This driver will use the
Compare this to beeing a test pilot for a plane that doesn't entirely work. Proof of infinitely many prime numbers Why is the TIE fighter tethered in Force Awakens? any suggestions? This means that any drivers, video codecs, audio formats and so on that isn't open-source won't be included in Fedora.
Since ed created the files, they are owned by him.This brings up an interesting point. his comment is here up vote 1 down vote favorite 1 I'm trying to make an rpm that will unpack the source to a custom directory, such as /asdf. Error Cannot Create Sourcedir /root/rpmbuild/sources 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: Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Maybe, and I don't know this for sure, Lindows had the non-open driver in there by default. check over here It will just take a little extra time to compile, so there is no need to worry about that message. The building of rpms is like that, it can be done as user and as such, it should be. Heathrow to Gatwick and traffic jam Is there a place in academia for someone who compulsively solves every problem on their own?
just for kicks I installed lindows 4.5 dev ed. 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 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 http://megavoid.net/error-cannot/error-cannot-create-sourcedir-usr-src-packages-sources.html yes checking whether gcc accepts -g...
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. It is in these subdirectories that RPM will write the binary package files.Let's start by creating the directories. The binary in my example will be found in: /usr/src/redhat/RPMS/i686/ vBulletin v3.8.7, Copyright ©2000-2016, vBulletin Solutions, Inc.
checking for suffix of object files...
Find the limit of the following expression: What is the bandwidth cost of running a full node? Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started The hardest part is to create the directories RPM will use during the build process.Setting up a Build Area RPM's build area consists of five directories in 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 ]
make: Leaving directory `/root/dgrp-1.9/daemon' (cd config; make all) make: Entering directory `/root/dgrp-1.9/config' echo "#!/bin/sh" > dgrp_gui echo "# Run wish from the user's PATH \\" >> dgrp_gui echo "exec wish -f And the charge you pay to get Lindows solved the whole open source only problem. Start the rebuild, use the information in the output of the last command. weblink man rpm2cpio.
Registration is quick, simple and absolutely free. asked Jan 2, 2007 in Realport by hm2k New to the Community (8 points) Please log in or register to add a comment. MODPOST make: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686' make: Leaving directory `/root/dgrp-1.9/driver' (cd ditty; make all) make: Entering directory `/root/dgrp-1.9/ditty' make: Nothing to be done for `all'. 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?
snip 10:32:03 (301.39 KB/s) - `40002086_M.src.rpm' saved [3077003/3077003] [[email protected] build]$ rpmbuild --rebuild 40002086_M.src.rpm Installing 40002086_M.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.37748 + umask 022 ... This bug has been present since FC5. Name: test.sh Version: 6.2 Release: 2 Source:/root/test.sh Group: Development/Debuggers BuildRoot:/var/tmp/test.sh %description Bad file: /root/rpmbuild/SOURCES/test.sh: No such file or directory RPM build errors: Bad file: /root/rpmbuild/SOURCES/test.sh: No such file or directory linux Making a Package That Can Build AnywhereNext
Failing configure script. Register If you are a new customer, register now for access to product evaluations and purchasing capabilities. 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 Can Tex make a footnote to the footnote of a footnote?
Having a problem logging in?