I'm building an RPM and while building I found following command is used to build one shared object of RPM.
g++ /*some compiler options*/ -O1 -Wl,--version-script abc.map -L and the remaining command.
I did not understood the what is…
I would like to build a RPM Package for a website.
in the %post section of my spec file I would like to check if the apache webserver is installed. If so, the config should be copied to /etc/httpd/conf.d/
If no Apache is installed, the config should…
I have been trying to convert a gem (chef) into rpm package using gem2rpm. Now, I 'fetched' the gem, made a 'spec' file and the used 'rpmbuild'. I get the following error:
error: Installed (but unpackaged) file(s) found:
…
I am trying to build an rpm file to install ATM drivers. The final step to build the rpm file is to use this rpmbuild command
[anjanu@matrix rpmbuild]$ rpmbuild -bb SPECS/isaratm.spec
but after excuting the command I get this whole lot of output…
I'm trying to build rpm and getting error :
rpmbuild :error: Could not generate output filename for package myApp: unknown tag
I tried to add a client name to a name of the rpm file . Before I inserted changes everything worked fine .
What I made…
I use AWS EC2 instances.
I wanted to setup a package versioned at 5.4.0 but the latest that yum search all --enablerepo epel offered was 5.0.0.
I hence did wget and configure && make && make install on v5.4.0 which was available on the web.…
I downloaded a source rpm for httpd-2.4.7 from koji.fedoraproject.org, When i try to build the package i get a error stating that " Only garbage value was found in the patch input".
The patch name is httpd-2.4.7-sslsninotreq.patch.
The whole…
Is it possible to tell an rpmbuild spec file to ignore a file in the files list if it doesn't exist?
Something like:
%files
%{existingfile}
if [ -f %{dtdfile} ]; then
%{dtdfile}
fi
This is getting rather maddening - I'm trying to build an RPM out of some BASH scripts which work as Nagios plugins. I keep getting:
error: Installed (but unpackaged) file(s) found:
/usr/lib64/nagios/plugins/netappassigncheck
…
When building rpm's for centos I continue to get this error
ERROR 0020: file '/usr/local/probe/lib64/libasan.so.0.0.0' contains an rpath referencing '..'
According to the docs I should be able to ignore this by calling:
QA_RPATHS=$[ 0x0020 ]…
Here's the poop.
We are compiling the mysql++ 3rd party library on two different Linux deploments: Red Hat 5.8 and SuSE Sles10.
The compilation logic is exactly the same on the two systems. However, the file command on the Red Hat system indicates…
I am trying to create a go program that can read and create RPM files without the need of librpm and rpmbuild. Most of the reason for this is to get a better understanding of programming in go.
I am parsing an RPM based off the following:…
I have a question to building an rpm package. I will bild an rpm package, which should copy some files on the computer. If no openssl is on the Pc I will also install it. At last I want to start some java programm to verify the succesfull…
I am new at building rpms. I have my own project which I want to build an rpm for. The issue is that most of the documentation assumes that you already have a tarball of your source. I understand how to construct a tarball, but I guess I don't know…
I would like to build an RPM that allows the installer to select which components of the software are installed.
More specifically we have 5 EAR files that are in the RPM I would like to let the installer specify an option when installing to select…