Red Hat / Fedora :: Rpmbuild Cannot Install Src.rpm?

Apr 19, 2010

kernel source cannot install using rpmbuild Dear all, here is my problemi downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5.i installed succeffully above src.rpm using command ..rpmbuild --rebuild kernel-2.6.18-53.el5.src.rpmit created a directory in /usr/src/redhatthen i manually deleted the redhat directory just because i want to rebuild the kernel source again.so i i removed the redhat directory but now i tried to excute above rpmbuild command again but it is failed.saying: error:cannot create %sourcedir /usr/src/redhat/sourceserror:kernel-2.6.18-53.el5.src.rpm cannot be installed may i know the reason why it is failing

View 1 Replies


ADVERTISEMENT

General :: Kernel Source Cannot Install Using Rpmbuild

Apr 19, 2010

i downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5. i installed succeffully above src.rpm using command .. rpmbuild --rebuild kernel-2.6.18-53.el5.src.rpm it created a directory in /usr/src/redhat

then i manually deleted the redhat directory just because i want to rebuild the kernel source again.so i i removed the redhat directory but now i tried to excute above rpmbuild command again but it is failed. saying: error:cannot create %sourcedir /usr/src/redhat/sources error:kernel-2.6.18-53.el5.src.rpm cannot be installed

View 1 Replies View Related

Programming :: Unable To Install The %files Directory In Rpmbuild

Nov 25, 2010

I have managed to get it to install the files in the BUILDROOT directory correctly but when I add the directories under the file it seems to try and install the files from root. my rpmmacros is as follows:

Code:

%_topdir /home/rpmbuild
# The directory where buildroots will be created.
%_buildrootdir %{_topdir}/BUILDROOT

[code]...

View 1 Replies View Related

Fedora :: Error From The Rpmbuild Command

Aug 9, 2009

I'm building an RPM for the first time. I'm getting the following error from the rpmbuild command:

View 2 Replies View Related

Fedora :: Can't Build Rpm - Rpmbuild Fails

Mar 4, 2010

recently i have been building my own kernels, and have been successful. however, over the last 2 days, using the proper documentation and methods i always get to the same point that rpmbuild fails at. it's very frustrating to say the least...i am somewhat new to fedora, as i tend to use debian-based systems or freeBSD, where the approach and methodology is quite different to that of redhat. the command used:

rpmbuild -bb --with baseonly --with firmware --without debuginfo --target=`uname -m` kernel.spec

this builds the kernel with modules(needed by me) and this is where it fails:

[Code]...

if anyone has fix let me know, i can't update or upgrade rpmubuild without doing so to my whole system, so i hope this isn't a bug in rpmbuild.... i already had to upgrade yum & yum-utils because of a bug that wouldn't let "builddep" work. (come on fedora, this is a standard release, i shouldn't be having problems with yum or with rpm! this is apart of the OS's core isn't it? anyway, if someone who is in the know has a solution

View 2 Replies View Related

Fedora :: Use Rpmbuild To Compile Kernel Without Re-compiling Unchanged Module?

Apr 20, 2011

Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time

View 13 Replies View Related

Red Hat :: Why Rpmbuild Deletes The BUILD Directory

Apr 15, 2011

I'm using rpmbuild 4.8.0 to build my rpm package on RHEL6. The spec file works just fine with any other Linux Releases, including RHEL5. But at the end, build failed with:
"shell-init error retrieving current directory: getcwd: cannot access parent directories: No such file or directory" I found that rpmbuild tried to compare the BUILD directory with the root filesystem, it will delete the BUILD directory if it's not '/'. My working directory is /tmp/test, so something like this in the /var/tmp/rpm-tmp file:

Code:

cd "/tmp/test/BUILD"
[ "RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"

I think this is the reason why the command failed. And I can't find the two lines of similar code in an earlier version of rpmbuild on RHEL5.

View 5 Replies View Related

General :: Rpmbuild Force To Use Cpio.gz On RHEL 5.3?

Oct 19, 2010

I have RHEL 5.3.

I am trying to build a e1000 network card driver rpm with particular requirement to have cpio.gz inside rpm.

But after i build my rpm driver it has cpio.lzma inside. I simply build using command from the readme: rpmbuild -tb *.tar.gz.

I have googled and found that from around 5.0 RHEL includes lzma and uses it as a default setting. Is there any way to force to use cpio.gz or somehow repackage my rpm correctly?

I have searched through makefile and other files but was not able to find a clue.

View 11 Replies View Related

Server :: Run Rpmbuild -bb On Centos 5.5 Box To Create The Rpm For Python 2.7

Feb 23, 2011

I've been attempting to run rpmbuild -bb on my centos 5.5 box to create the rpm for Python 2.7 to no success.

View 3 Replies View Related

Software :: Rpmbuild Does Not Create Lib64 In Correct Path?

May 13, 2011

I am trying to install OpenCV2.2.0 from the sources and to make it easier in the future I want to create a rpm on my OpenSuse 11.2 x86_64 platform. The instructions how to install are in the specfile The relevant parts of the specfile below:

Code:

---snipp
%prep
%setup
%build

[code]....

View 2 Replies View Related

Software :: Rpmbuild A Spec File When A BuildRequires Is Not Installed

Dec 8, 2008

I'm trying to create a set of rpm files to install the requirements for a program.I found a great utility named cpanspec that will create a spec file for perl modules and have started building rpm files. I was able to create an rpm file for Business::CreditCard as a regular user. Now I'm trying to build another module that requires B::CC, and rpmbuild -ba fails saying that I am missing B::CC. I don't want to install it just to create another rpm file.Is there a way to make rpmbuild "think" that B::CC is installed in the build environment without installing it on the system?

View 1 Replies View Related

Software :: Rpmbuild: Check File Exist Before Installing Package?

Nov 17, 2010

I'm building a RPM package. In my SPEC file, in the "%pre" and "%post" sections, I need to be sure that Postgresql-server is started.I tried to add a "PreReq: /var/run/postmaster*" but the * is not interpreted ! (filename changes, depending on the linux distribution)Is this way test that this file exist (or test if the result of "pidof -s/usr/bin/postmaster" is empty, for example

View 2 Replies View Related

Software :: Rpmbuild: ./libtool: Line 1015: -e: Command Not Found?

Jan 24, 2010

rpmbuild: ./libtool: line 1015: -e: command not foundDear Experts,As part of a solution here:[URL]I'm trying to create a binary RPM from a SRC.RPM file. I'm running Redhat 5. cat /etc/redhat-releaseEnterprise Linux Enterprise Linux Server release 5.2 (Carthage)uname -aLinux blue.gateway.2wire.net 2.6.18-92.el5PAE #1 SMP Fri May 23 22:26:05 EDT 2008 i686 i686 i386 GNU/LinuxI managed to find the source package I need:ompat-db-4.1.25-9.src.rpmBut I'm getting this error as part of the build process:./libtool: line 1015: -e: command not foundDoes anyone know the secret to getit to work?Please see more detail in the following notes

pwd
/tmp/compat-db-4.1.25-9.i386
ls -l

[code]....

View 1 Replies View Related

Fedora Installation :: Install Fedora 12 I386 Using CD#1 For A Minimal Install?

Dec 19, 2009

I'm trying to install Fedora 12 i386 using CD#1 for a minimal install. For that during installation I selected only Base. For some reason when I started installation it was trying to install 432 packages (Base has got about 80 or so packages). i can understand there might be some dependencies, but really that much? I kept going with the installation of 432 packages, but it finally failed on gtk2-immodule-xim-2.18.3-19.fc12.i686.rpm.I need just minimal install, so I can install LXDE later on by myself.

View 11 Replies View Related

Fedora Installation :: F11 - Graphical Install Fails - Text Install Has No Fdisk

Jun 28, 2009

I have been using Redhat/Fedora for 11 years. I don't understand why Fedora 11, can't even do a vga graphical install, when Windows can.

I tried many parameters, including xdriver=vesa, and it cannot used graphical install.

So, I tried text install, which I have done many times in the past.

However, F11 seems crippled, in that it will NOT do the same install achievable from a graphical install.

It will NOT allow the use of fdisk, and it will NOT allow any selection of any packages.

What is the point of this option?

Even after trying all of this, for a dual boot install, and F11 claims to have installed, there is no grub or equivalent, and the computer just boots windows, just like Fedora 11 did absolutely nothing.

What are the options now? Why is text install so crippled and incomplete? Why is standard VGA mode so hard?

View 1 Replies View Related

Fedora :: Install The Printer With CUPS And Not With Samsung Unified Install Software?

Feb 19, 2011

I have migrated from Debian to Fedora 14 (2.6.35.11-83.fc14.x86_64). Problem is that I can't get my networked printer to work (which it did with Debian). The printer is Samsung ML-3561ND and I got all he drivers & PPD from Samsung support. I prefer to install the printer with CUPS and not with Samsung Unified Linux install software. I have to send my documents to a user's Windows workstation and print from there I have googled a lot but have not found any solution.

[Code]...

View 5 Replies View Related

Fedora :: Install Ndiswrapper In Order To Install A Windows Wireless Driver

Apr 1, 2011

I am trying to install ndiswrapper in Fedora in order to install a Windows wireless driver.

Code:
su -c 'yum install kmod-ndiswrapper'
, I get this:
Code:
Loaded plugins: langpacks, presto, refresh-packagekit

[Code]...

Rhythmbox crashed and my radio stations disappeared. I'm not sure if this bears any relation.

View 6 Replies View Related

Software :: Fedora Install Doesnt Creat User Accounts At Install

Jan 16, 2010

I installed fedora 12 Constantine and the install gets to the point of rebooting once it's done with the reboot it goes right in to the login without creating a root account or a user account.How can I solve this issue, there has to be like 3 or 4 solutions to this problem I'm just new to linux.

View 3 Replies View Related

Fedora Installation :: Transfer Install Image To USB Drive, Then Install?

Dec 10, 2009

I don't have a working DVD burner. I'd like to transfer the FC12 install DVD image to a USB thumb drive, and install from there. Is that reasonably easy to do?ow would I transfer the .iso file for the install image to the USB thumb drive in such a way that I could boot from i

View 1 Replies View Related

Fedora :: Run A Install From The Command Line In Virt-install?

Mar 8, 2010

below is what happens when i try to run a install from the command line in virt-install. keep in mind that this is a fresh fedora12 install selinux is disabled logged in as root. i have never had so many problems with something and it is maddening for there to be a thousand freaking how-to's on the subject all acting like it is so freaking simple.

[Code]...

View 3 Replies View Related

Fedora :: How To Install Software - Install Popup Didn't Come Up ?

Jan 10, 2011

I now have Fedora 14 64bit up and running.

I need a bit of clarification. I've been using Debian based OSes. I just want to make sure that I understand how to install software using Fedora.

While I had the Live DVD desktop running I downloaded the Google Chrome .rpm pack to the download file, right clicked on the .rpm and opened with the archive manager. The archive manager came up and showed me a file folder, the a popup came up on it's own and ask if I wanted to install, clicked yes and every thing from there worked, Chrome was installed and worked. When I tryied to download the plugin for Google and do the same as before, the install popup didn't come up. This is the part where I made a mistake, I went to the download folder and double clicked on the .rpm and the install popup came up, and I installed. This some how messed up the Live desktop to the point that I had to reboot, shut down didn't even work right.

I should have opened the folder the archive manager placed the .rpm and then double clicked on the .rpm to install instead of within the dowload folder.

I aslo read up on how to use rpm -i filename From the terminal can I Or does the .rpm package have to be in the correct folder before installing?

Also from the live dvd I tried using sudo rpm -i , but got a warning and said I would be reported.

View 14 Replies View Related

Fedora :: Need To Install Repository Each Time Install Any Package?

Jun 10, 2011

what is repository's ? do we need to install repository each time we install any package ?or cant we just say yum install package name ? & how to install tar.gz files ?

View 2 Replies View Related

Installation :: Can I Install Oracle 10g On Fedora From Cd I Used To Install In Xp

Nov 18, 2009

Can i install oracle 10g in fedora using the cd i used to install in xp...

View 2 Replies View Related

Fedora Installation :: Can Install KDE Version With Install DVD?

Mar 3, 2010

I noticed that for the live cds there was one for GNOME and one for KDE but hte install dvd didnt have an option for one or the other

View 1 Replies View Related

Fedora :: KVM Cannot Install On HP DL785 G6, But Will Install On Other Systems?

Oct 22, 2010

This works on an HP DL365 G5, but fails on the DL785 G6Does not even start the install, and I don't get a lot of debug information, so I can't tell what's happening.

$ sudo virt-install
> --vnc
> --arch=i686

[code]....

View 1 Replies View Related

Fedora X86/64bit :: Dell N5010 - Unable To Install Fedora On Unallocated Space

Sep 13, 2010

My laptop is currently running on Windows 7 Ultimate. I have a 320 GB HDD, which I have partitioned as follows. C: Drive as Windows 40 GB capacity and successively partitioned the rest of the drives for 50 GB capacity and left an unallocated space of 67 GB for fedora 13 x64 installation. The problem that I am facing is, that I am unable to install fedora on this unallocated space..even though I am checking the option for "Creating custom Layout". When I check the option for "Creating Custom Layout" Ive been shown with the only option to install fedora on the unused space on the HDD which is around 265 GB. I am also attaching a screen shot of my disk management. how I can install Fedora on this unallocated space of 67 GB?

View 12 Replies View Related

Fedora Hardware :: Parallel Printer CUPS Fedora 15 HP Doesn't Install Driver

Jun 3, 2011

This post is for an HP parallel printer but I think it should work for at least "some" other parallel printers.I am sure that someone smarter than me will follow up this post with a "well, just do this and that" and you will have your HP Laserjet 6P printer ready to go, but since questions litter the forums of MANY distros on how to get "at least" an HP parallel printer to work, I'll post this anyway.This may or may not work for you if you do not have an HP but you can try it.The install printer box will let you do an install for an HP Parallel and it asks for how it is to talk to it, through CUPS sock or "local host'. When we get through what I recommend you should chose "local host".

View 2 Replies View Related

Fedora Installation :: Noobie> Fedora Server > Wanna Install Kde Or Gnome?

Sep 23, 2009

i am justin i'm 17 years old and new with linux, i use ubuntu and linux mint 7 and a friends of my has a dedicated fedora server. he asked me to intall a desktop manager ( or something that is the same, dont know how to call it ) so he could use remote desktop to acces his server

i have connected the server trought ssh and i am in the terminal. Now i want to install kde or gnome so i and my friend could use the server as a mail en WWW bla bla bla server. and my question is how i need to do that i tryd : yum groupinstall "KDE (K Desktop Environment)" and yum groupinstall "X Window System" but none works i have seen those commands on this forum so i tryd it.

View 14 Replies View Related

Fedora Installation :: How To Install Fedora 11 On External USB Drive With Anti-virus?

Sep 28, 2009

I have a Western Digital Pasport 320 GB hard drive. I wanted to create a live installation on it like a USB stick. I wanted it to serve as a portable OS that I could use to boot any other computer off of, and use it for diagnostics and anti-virus scanning on Windows based computers. The additional space is for my own personal use, kind of like having a mobile desktop where I have all of my documents in one place.What I need to know is how to set up Fedora 11 so that the hard drive will boot on most PCs regardless of their architecture. I also need to know what's a good Anti-virus to install onto it for the sake of fixing Windows hard drives.

Please keep in mind I'm a noob when it comes down to a lot of things, so if there's an antivirus I have to install manually, please included a step by step.

View 1 Replies View Related

Fedora :: Fedora/GNOME Didn't Install With Add/Remove Programs Feature?

Feb 20, 2010

Recently installed F12 through the text based install and have got to GNOME gui but when i got to system/administration i only get two options and those are for display changes. Is there some way to install the features i missed out on? namely Add/remove programs which i can't seem to find anywhere

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved