General :: Building RPMs From Compiled Source?
Jan 13, 2011I 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 RepliesI 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 RepliesUsing yum installs the binary version of the software. Is it possible to use yum to download the src rpms , because i have seen one repo called Fedora src. I am using Fedora 11.
View 5 Replies View RelatedI am trying out Zenwalk Linux and so far love it. I have had to compile a couple of bits of software from source and don't know how I would update them when a new version comes out.The options are:1. Compile the new version and hope it overwrites the old one2.Uninstall the old version and compile the new.Option 2 feels safer but how do I uninstall a bit of software installed by compiling?
View 3 Replies View RelatedI just have a short simple question. I download yukon a opengl Video capture software and tried to install it and I got it installed but I can't get it to function right. So figured I would uninstall it and ran "make uninstall" in the source and it gave me an error that is has nothing to do.
So this is my questions
if I did
Code:
$whereis yukon
#rm -rf /etc/yukon /usr/bin/yukon (and the rest of the direcories listed)
Would that work fine? for removing it from my system.
Is there a command to know " From where a specific RPM package was downloaded & installed ( The full HTTP/FTP path ) " ? For example, if I had previously installed Firefox from here [URL] is there a specific rpm query, or any other place, from where I can get the full ftp path back.
View 1 Replies View RelatedI 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...?
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 Relatedwhy 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 RelatedI am looking for openssh 5.1 and 4.3 source rpms. Where can i download them ?
View 3 Replies View RelatedI have installed two softwares manually, from the source code downloaded from their official websites: Stellarium, and the Linux Kernel. The version of these is not the same as the one found in the official repos. My question is: does aptitude have knowledge of the existance of these softwares? Can it do any damage to them, in case, for example, I run automatic aptitude tasks, such as autoclean and dist-upgrade?
View 2 Replies View RelatedI've compiled HandBrake 0.9.4 from source as well as installed it with success(--enable-Gtk). However, many buttons (among them the 'Start' and the 'Pause' ones) do not seem to work at all-they are colored grey and I cannot click on them.Probably,it's a gui malfunction.
View 8 Replies View RelatedI have recently installed a dev branch of Postfix on my box (jaunty), in order to access some new features. This requires that I do not use any of the postfix-related packages in the repos, I have to set this all up manually.
What is the best method for me to manage this system moving forward? Do I need to prevent the repo's postfix package (or anything depending on it, like postfix-mysql, postfix-dovecot etc.) from ever being installed accidentally? Is there anything else I need to worry about? How do you folks generally manage having compiled, customized versions of software that exists in the repos on your systems?
I'm a compiling noob, but one who can follow well-written directions. I was led to believe that I needed to compile an updated version of freetype to satisfy some build dependencies in Wine, which I also needed to compile to be able to use a custom patch. So now my fonts look awful. I read the directions that came with the freetype source code, and one thing I didn't configure properly was the auto-hinter, which I believe to be the problem (although that's just an educated guess), since the documentation lacked the necessary docs.
how do I go back to stonking great fonts? I'd rather keep the new version of freetype, if someone could tell me how to properly configure it to display fonts correctly.
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 RelatedI tried building but got errors at the end.
make: *** No targets specified and no makefile found. Stop.
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 RelatedI 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 RelatedI'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.
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 Relatedrunning 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]...
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 RelatedI'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
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]...
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.
Can we install packacges/rpms for example in qemu?
View 2 Replies View RelatedI have a custom made rpm. I need to install my particular RPM in a list of rpms which are part of a program. Say I have around 20 patch rpms which needs to be installed I need to install this through yum command. My particular RPM namely Patch-list.1.1.1.2-1.noarch.rpm needs to be installed as the first rpm in the total list of 21 rpms. I can modify my spec files and Makefiles as per my wish. what needs to be changed so that my rpm Patch-list.1.1.1.2-1.noarch.rpm will be installed first.
View 2 Replies View RelatedI need to set up auditing on an old RHL 8.0 server running kernel version 2.4.18-14 but I can't seem to find an archive with the rpm for that version of Red Hat.
View 1 Replies View RelatedI have a problem where in order to satisfy RPM dependencies, I need to remove packages and downgrade them in the same command. Imagine the following situation Before
A v2.0 depends on B,C
B v2.0 depends on C > 1.0
C v1.1
After
A v1.0 depends on C
C v 1.0
If I issue a
$ rpm -Uvh --oldpackage Av1.0.rpm Cv1.0.rpm
it will fail with "B depends on C > 1.0" If I issue a
$ rpm -e B
it will fail with "A requires B" so I appear to be in a catch-22. The obvious solution is to use a "--nodeps" and remove B before doing the downgrade, but I am creating these commands programmatically so I was hoping to use dependency resolution as a sanity check against an incorrect script. Is there any way to perform this downgrade without breaking the RPM dependency sanity checks by force?
I'm trying to make an environmental variable RPMS that will resolve to a website. I know I have to make the changes in .bash_profile, but all the things I try don't seem to want to work.
I've tried:
PATH=$RPMS:ftp://rha-server/pub/os/rhel5/Server/
or simply just making the variable itself
$RPMS=ftp://rha-server/pub/os/rhel5/Server/
The second one made a variable just fine, but when I attempted to run this command:
rpm -ihv $RPMS/caching-nameserver*
I have been challenged to install CentOS occupying just 200 MB. As for now, I installed the OS with only first CD.
Just put :
@core
under %package directive in ks.cfg. I can see the space as of now is:
Code:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 13G 740M 12G 9% /
/dev/sda1 99M 12M 83M 12% /boot
tmpfs 125M 0 125M 0% /dev/shm
I need to make it to atleast 300MB.I can see those RPM lying in Linux Box:
Code:
df -hyum remove 389*df -hyum remove *ldap*df -hrpm -qa --qf '%11{SIZE} %{NAME}
' | sort -k1n
0 basesystem
0 filesystem
[code]...
I will remove java, selinux-* but what other package I can remove.
Note: I dont need any application to run but just bare OS.