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
ADVERTISEMENT
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
View Related
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
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
Mar 11, 2010
It is my understanding that building from source is slightly faster since the created binary will be specific to the current kernel/system. This seems to have the drawback of when the kernel is upgraded the source compiled package will no longer work...but this is not always the case. So what kernel upgrades will cause a package from source not to function? Side bar to that, I have a package that is only available in source format that I need to install on numerous hosts. It seems that the upfront work of creating my own RPM for this package is worth it to make managing the package more efficient, and I think I have two choices: src-rpm and standard binary rpm. If I build a src-rpm and I distribute that for installation will a kernel upgrade 'break' the package since it is actually being compiled for a specific kernel at the time of install? So far I have found a lot of information, and have spent time reading the rpm docs, etc, but I don't feel like I have a good grasp of what the specific portability differences are between source, src-rpm, and rpm.
View 1 Replies
View Related
Mar 15, 2011
At work / home / laptops I have about 5 slackware machines. I have always tended to install new packages on each machine from source, generally using slackbuilds when available. I thought I would try 'libreoffice' and reading alien-bobs blog I deduced that a full from source install might be pretty difficult, so I followed his advice and just took the package (.txz file) and used installpkg. To my slight surprise this installed and ran perfectly.
Now I'm wondering if someone would clarify under what circumstances you can just take the slackware package from one machine to another and install. More generally I guess what are the main advantages of building from source. Is it mainly about availability of all the required dependencies?
View 9 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
Mar 13, 2010
I have 50 identical workstations that are being dropped shipped from the vendor directly to the remote locations. I need to install a identical configuration, including installed packages, scripts and customize configuration onto each of this workstations. I cannot set up a kickstart server to install from remotely because of my organizations security policies. Not to mention that it would be painfully slow. I thought about DD-ing my "Master" build and sending it to the remote sites, but some of the admins are not very Linux savvy. I would really like to build a bootable DVD that would install the cloned Master build from my server to theirs. I was looking for something that would look like Anaconda to the person installing the image. If I could get them through this base install I think it would be easy to document how to change the workstation unique parameters or value. How to accomplished this? BTW, this will be a RHEL 5.3 server install.
View 2 Replies
View Related
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
Feb 18, 2011
How does yum determine to "upgrade" an rpm verses "install" (and possibly delete) a package when performing a yum update? I have read documentation that yum uses the "Obsolete" and "Conflicts" tags within the rpm to determine whether to upgrade or install a new rpm. Is this correct and complete? I recall from somewhere kernel rpms should always be installed and never upgraded. How does yum determine that kernel rpms need to be installed using rpm -i as opposed to rpm -U? I have scanned a kernel spec file looking for clues without any luck.
View 3 Replies
View Related
Aug 30, 2010
I want to look at Red Hat 9 source code on the same PC I installed RH9 on. Yes, I know that is old. The CD package has 3 source CDs and each has a key. I try using:
rpm -i package_name.rpm
and I get warning saying NO_KEY. Also, where is the source installed?
View 6 Replies
View Related
Mar 13, 2011
I am trying to install the tightVNC on my imac.It expects X install; I see that X11 in my utility. I think it is ok, but the instruction states to install it on /usr/bin/. Which is correct?Then I need to have ~JPEG and ~zlib to place in /usr/bin/ or inside of certain folders to use.To make sure it is ok; I put both of them in both of the indicated places. I assume it is going to work.Now, I am suppose to build and install. I am not sure how to do it with the command "xmkmf" and not sure where to run this command.I am doing all of this in terminal.
View 1 Replies
View Related
Nov 12, 2010
During installation of one of driver i needed to
Remove any earlier version drivers using
make clean -r command.
Where i m getting following error code...
View 6 Replies
View Related
Mar 5, 2011
I want to install wordpress open source in linux.but i donot know how i do this.
View 2 Replies
View Related
Aug 31, 2010
I had install souce of "yum" but it dosent work properly now i dont want that prog. run for me. is their any method to uninstall it. how to use yum in steps. i had register for pbone.org for REPO bt i dont know hoe to deal with that. i am not register user of Redhat network.
View 2 Replies
View Related
Dec 10, 2010
Can any one tell me what are the differences, pros and cons when I install something from source versus installing that thing from rpm.
View 1 Replies
View Related
Feb 14, 2009
I recently started trying fedora 10 out on live cd (in my case usb ) and loving it. I want to install it, should I get the dvd image, or would it be okay for me to just install off live cd (usb) and install whatever I want through the package manager later... Why/why not? Also on live usb, I can't find the package manager under applications.
View 7 Replies
View Related
Nov 9, 2010
Followed all the steps to install the Netbook Edition. Boot up on Live USB worked great, install went thru without a hitch. Changed the BIOS settings to boot on the SSD HD. Unfortunately, after th BIOS splash screen, all I get is a blinking cursor on the upper-left corner of the screen. I suspect my SSD is starting to fail.
View 2 Replies
View Related
Jun 11, 2010
I have a user account on a server that runs debian. I do not have the root or superuser password b/c i am not the local system admin, but I want to install a program (djvu2pdf and djvulibre-tools). I did some searching on the internet and found some useful information, but nothing to really tell me what to do.My question, if it compiled succesfully, did it install? Where am I at in the install process? I want it to put the executable files in my /home/usr_acnt/bin/ folder, how do I do that?
View 2 Replies
View Related
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