General :: Building RPM From Source (Binary Package)

Apr 15, 2010

I have this source.tar.gz, I unpack it and cd into it, then I

Code:
$mkdir build
$./configure --lots-of-options --prefix=$PWD/build
$make
$make install

So I have inside my build folder, 4 folders, usr, lib, man, share. How do I convert this into a binary rpm package...?

View 4 Replies


ADVERTISEMENT

General :: Command To Find The Source Package Of A Binary?

May 30, 2010

I know there's a which command, that echoes the full name of a binary (e.g. which sh). However, I'm fairly sure there's a command that echoes the package that provides a particular binary. Is there such a command? If so, what is it? I'd like to be able to run this:

commandName ls and get coreutils for example.

View 1 Replies View Related

General :: How To Create Binary RPM From Source Tar

Jun 7, 2011

Right now to install software from source I do a ./configure && make && make install which doesn't allow for easy uninstallation (some don't come with an 'uninstall' goal, and if they do you have to keep the source around). I'd like to learn how to create binary RPMs from source tar.gz files (one reason being that it makes for easier uninstallation). I tried the following but it complains with the following errors:

Code:
$ rpmbuild -ta mysource.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

Apparently that's what happens when there is no SPEC file in the tarball. But all the tars I've tried give this same error. Is there a simple way to create binary RPMs from source files - as an example, this source tar [URL].

View 4 Replies View Related

General :: Binary And Source Packages Difference

Feb 4, 2011

Very often we get to hear Binary / Source when we talk about installing packages...From what I understand "Binary" refers to a natively packaged installation by a Distro wheras installation from Source would entail fetching the files, Compiling and then building the package. When we say "source" where do these codes reside? Is it diffferent for different distros or one common source like "sourceforge.net" or similar?! I know it sounds silly but what is the origin of the source codes??

One general remedy if a package is not found is to install from source... So , source would refer to a "tar.gz" or "bz2" archive present at some location like "[URL]". In some cases , id it possible that some packageas are not available in "Source". When I tried to build a package for a particular distro , I was told that some dependencies are not un the source ...What is the meaning of this? So do all distros maintain the codes in their official repositories?

View 1 Replies View Related

General ::Building From Source Versus Yum Install Or RPM

Nov 7, 2010

I'd like to clear up my misconception towards various types of installations. Is one better than the other? Do more senior people prefer compiling from source code? Hows does is compare to yum install or install from rpm?

View 7 Replies View Related

General :: Building RPMs From Compiled Source?

Jan 13, 2011

I already have compiled the source and I want to make an rpm. What do i do with it? Can i utilize the make file?

View 1 Replies View Related

General :: Define Both Source/Destination AND Direction When Building Firewall?

May 30, 2011

why do we have to define both Source/Destination AND Direction when building firewall.Isn't direction= source->destination? what would happen if source and destination were swapped?

View 3 Replies View Related

General :: Error While Building A Package

Nov 9, 2009

while building a package i got this error. Package name is python-gnomecanvas and i am working in debian.

I am not able to get it correct.

View 5 Replies View Related

General :: Building Deb Package For 64bit Ubuntu 10.10

Feb 23, 2011

I am trying to build a deb package and I am lost. I was trying to follow this tutorial [URL] and I am not sure what kinda of package this should be. The driver is [URL].

View 4 Replies View Related

General :: Command To Run Program When Package Doesn't Match Binary?

Jul 11, 2011

I have a weird/stupid question. How do you know what command would start an application after installing it, if the synaptic package name doesn't match?

For example google chrome and lmsensors. The first appears as Chrome in Synaptic and the second as lmsensors, but to run them you have to type google-chrome for the first and sensors for the second in the console to start them.
When I did locate sensors or locate chrome/chromium, nothing came up in the search that would hint me that I need to run those commands. I had to rely on a google search and look for someone else's answer. Is there a better way, one that I can figure it out on my own?

View 2 Replies View Related

CentOS 5 :: Building RPM Package With Specific Noarch Sub-package

Feb 3, 2011

I was building yesterday the boost-1.45.0 RPM package for CentOS 5.5.

View 3 Replies View Related

Security :: Tips To Run Unkown-source-binary?

Feb 27, 2010

I got some binaries from internet (amule), but am afraid of using them, exposing my system. Since some run long simulations, it is not desirable to run in slow VM.

What do you gurus say if I run it as a new user? So the binaries would just be able to read and execute my binutils... Is that harmfull?

View 7 Replies View Related

Programming :: IDE For Building C Source Files?

Jan 18, 2010

I am trying to build an application on linux and it requires compilation of several files along with my application. Till now I have been trying using a makefile which is built for a test application which uses almost the same files as the mine by replacing its main.c file. But mow have ended up writing everything, function declarations, definitions... in the same file looks very unprofessional and is quite difficult to manage.

View 2 Replies View Related

Slackware :: Error Building Gtk+-2.22.0 From Source

Jan 5, 2011

I tried building but got errors at the end.

make: *** No targets specified and no makefile found. Stop.

View 2 Replies View Related

CentOS 5 :: Fix For Building MySQL From Source RPM

Jul 10, 2009

I've met several issues recently while building the MySQL server from CentOS 5 SRPM. The root problem are the expired SSL certificates used for built-in tests making all the tests fail. The problem is widely described on the net and I am in doubt now what to do: should I submit a patch or what?

View 1 Replies View Related

CentOS 5 :: Get The Source Of Vsftpd That Matches The Binary Distribution?

Aug 3, 2009

When I do a yum or an initial load of vsftpd, I get binary that works. I got the source file "vsftpd-2.0.5-12.el5_3.1.src.rpm" from [URL] to make a change to add chown_upload_mode to version 2.0.5

With no changes to the source, the program works but does not respond to the service command properly. See [URL]

How do I get the source of vsftpd that matches the binary distribution?

View 3 Replies View Related

Debian :: Building Packages Using A Git Repo As The Source?

Jan 21, 2011

I would like to create some packages for programs that use the Git software to manage the source, I want to do this directly using the source code in the Git repo as the source code form the package. Does anyone have any hints or directions on how to do this? I been looking round the web for information about this, but all I seem to find is for about storing and build Debian packages from git, this is not what I want to do as these packages are for personal use and I have no need for this.

View 3 Replies View Related

Slackware :: Error Building Compiz 0.8.4 From Source - 13

Dec 16, 2009

I've been trying to install Compiz 0.8.4 from the source code provided by the Compiz people.

However, when I run make on the first set of code (compiz-0.8.4 tar package), it halts with the following error:

Code:

As well as --disable-gconf and --disable-gnome since gnome isn't install on Slackware (I've also tried it without those, but it picks up on it anyway and throws them out). The folder I'm running this from is /root/Desktop/Compiz Fusion/compiz-0.8.4.

View 14 Replies View Related

Fedora Installation :: Use The Source Dvd To Install The Source Package?

Feb 19, 2010

installed the fedora 12, but dont know how to use the source dvd to install the source package.

View 3 Replies View Related

Software :: Looking For Open Source Solution To Web Site Building

Mar 10, 2010

I've become reliant on Net Objects Fusion for building and maintaining my web site. NOF is still only offered as a windows app and it is the only reason I have to keep Windows installed.Can anyone propose a comparable application (preferably open source) that will run in Linux?

View 4 Replies View Related

Software :: Building Fakenes 0.5.9 Beta3 From Source - Errors

Aug 24, 2010

running ubuntu 10.4 x86_64 downloaded source tarball of fakenes-0.5.9-beta3. tried to compile with ./cbuild as per instructions and it gets to the following and provides quite a few errors

[code]...

View 2 Replies View Related

Debian Configuration :: Building (Wireless Adapter) Driver From Source

Feb 24, 2010

Apparently, the wireless adapter Realtek 8171 uses the rtl8192se driver, which is currently available only as source from Realtek's website. Is building a driver equal to building a package? Should I follow the same cautions, say these ones?

View 9 Replies View Related

Fedora :: Building FBReader 12.1 From Source For Use Within F12 (kernel 2.6.31.9-174.fc12.i686.PAE)?

Jan 3, 2010

I'd like to have a shot at building FBReader 12.1 from source for use within F12 (kernel 2.6.31.9-174.fc12.i686.PAE) but am having problems locating the following .rpm files:

libz and libbz2 -- libraries for zip and bzip2 (de)compression
libfribidi -- for bidirectional text support
lincurl, version >= 7.17 -- for network libraries integration

View 2 Replies View Related

Software :: FC12 Kernel Source PAE - Building Proprietary Nvidia

Feb 9, 2010

I have a problem with PAE kernel sources and builing nvidia driver. uname -a returns Linux myX 2.6.31.12-174.2.3.fc12.i686.PAE #1 SMP Mon Jan 18 20:06:44 UTC 2010 i686 athlon i386 GNU/Linux

1. I run ./NVIDIA-Linux-x86-173.14.22-pkg1.run and I get an error message that kernel sources cannot be found.

2. My folders: /lib/modules had these two subfolders 2.6.31.5-127.fc12.i686.PAE 2.6.31.12-74.2.3.fc12.i686.PAE so what I did, I run: yum install kernel and got inside /lib/modules this extra 3rd subfolder (no PAE) 2.6.31.12-174.2.3.fc12.i686 On the other hand /usr/src/kernels has one subdirectory (no PAE): 2.6.31.12-174.2.3.fc12.i686

3. Now, when I build nvidia driver, it still gives me the error, that no sources found, so I do
./NVIDIA-Linux-x86-173.14.22-pkg1.run --kernel-source-path /usr/src/kernels/2.6.31.12-174.2.3.fc12.i686 and get an error that this seems to be the incorrect version. And I guess this is true as I have no PAE sources.

4. Further, when I look at

[Code]...

View 5 Replies View Related

OpenSUSE :: Get A Binary Package For Kdevelop 3.5.5?

Apr 6, 2010

where I can get a binary package for Kdevelop 3.5.5?

View 4 Replies View Related

Software :: RPM - How To Package Binary Tarball

Nov 22, 2010

I'm trying to package Apache Tomcat binary tarball into a RPM package on CentOS 5.5. The idea is to package the tarball, extract it into /usr/local/, create a tomcat user, change permission on the /usr/local/tomcat install dir, copy the init startup script to /etc/init.d/

Since it's a binary/pre-compiled package, I don't need to compile the source codes.

View 2 Replies View Related

Debian :: Building Kernel - Initrd Fail And Nvidia Can't Find Source

Feb 25, 2010

So I'm building a custom kernel cuz I want the fbcondecor patch in my kernel. I use the same .config that 2.6.32 debian kernel package comes with. This kernel runs perfectly. I pass --initrd to make-kpkg when building the package but no initrd is built when I install it so I have to make it using "mkinitramfs -o /boot/initrd.img-2.6.33 2.6.33" to get it to boot. Now when I try to build the nvidia drivers it complains it can't find the source. I did build kernel_headers and installed them also the source is in /usr/src/linux. I also tried to specify the path by passing --kernel-source-path= to the nvidia script but no change. What is going on? I've done this fifty times before and never had any problems. Has there been some changes to how debian kernel packages are built? EDIT: Just thought I'd add some info about the steps I took.

Code:
tar xjvf linux-2.6.33.tar.bz2
ln -s linux-2.6.33 linux
cd linux
patch -p1 < ../fbcondecor-0.9.6-2.6.33-rc7.patch
cp /boot/config-2.6.32-trunk-686 ./.config

make menuconfig Loaded .config then I removed support for maxtorfb, tile blitting and some sirrusfb thing, nothing thats relevant to my system. Changed cpu from Pentium 4 to Core 2 and added framebuffer decor
support from my patch, exited and saved. Then:

[Code]....

EDIT2: I have now tried to build 2.6.32.8 in the same way with the same strange results, anyone have any thoughts as to what I'm doing wrong just throw it at me, I'm getting desperate and running out of ideas. I've checked all the kernel source symlinks and everything looks good.

View 7 Replies View Related

General :: Open Source Distribution With Built In Antivirus Package

Aug 5, 2009

Is there any open source Linux distribution available, which has built in anti-virus package installed, like kaspersky, mcafee or trend micro, so that I can able to scan my windows XP based machines which are on the network, and can be scan and clean remotely through this type of Linux distribution installed machine. I have search on a internet that some Live rescue Linux cd's are available, which can scan and clean the virus of windows machines. like F-secure Live cd, or knoppex Linux based Bit defender live cds that can be most effective to resolve this issue. But is there any distribution available like these live Linux distribution cd's, that can be installed in dedicated system to scan/clean the remote windows machines. Or is live cd can be installed on hard drive?

View 6 Replies View Related

Software :: Can't Install GTK Gui Building Package?

Mar 17, 2010

i am using fedora-10,wants to install GTK+-2.18.7 or,so that i can built gui in 'C'.After several tries and installing needed libraries could not make it out.can any one give me full list of required librariescessary procedure to install them in sequence.From where i can find the full package of these libraries.

View 7 Replies View Related

General :: Install One Testing Package By Just Modifying Source.list File?

Apr 26, 2010

I want to pick up Python3 from squeeze, meanwhile I would like to stay with lenny with all other packages. Is this possible by just modifying source.list file?

View 2 Replies View Related







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