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
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
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
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:
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
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
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:
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.
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:
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?
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
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
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.
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?
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.
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.
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
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.
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.
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 ?
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.
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?
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".
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.
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.
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