Mailinglist Archive: opensuse (3065 mails)

< Previous Next >
Re: [opensuse] Compiling the Suse way
  • From: Jim Flanagan <linuxjim@xxxxxxxxxx>
  • Date: Thu, 05 Jun 2008 14:02:09 -0500
  • Message-id: <48483831.1080704@xxxxxxxxxx>
Constant Brouerius van Nidek wrote:
Have never felt the need to compile anything because practically everything you need is nicely packaged for OpenSUSE.
I have now a webcam on my 10.3 which will not work properly with the gstreamer0.10 and its plugins, the good, bad and ugly. There have been several bugs solved which are not included in the 10.3 suse packages.
I was told the that the versions of my OS are all older so i should have to compile it all from source...plugins and the application itself.
Version of the good plugin e.g. is 0.10.8 now (my version gstreamer010-plugins-good = 0.10.6-41@i586) so a lot of bugs have been fixed.

Before I start compiling I would like to know if the gstreamer packages for 11.0 are up to date and if I could use them in 10.3.

If not, I can remember that in order to keep suse specific changes in a compilation there was a way to get the compilation done. Or was that only for compiling kernels?
I am no expert on this, but what you want to do is to make an RPM which you will then install with yast or other package manager in opensuse.

The traditional way is to use configure > make > make install. (This is a summary, not a step by step guide)

The second way is to use the opensuse build service.

I have tried the first, but not the second, which is newer. These two methods will make an RPM that is suitable for the same version of opensuse that you built it on, but able and suited to run on many different hardware configurations.

I have used a third method in the past that has worked well for me. It is a simpler way that produces an RPM tailored for your specific machine, but not really ideal (or maybe not workable) on a different machine. You can use this if you don't need to distribute the RPM to others or use it on different machines yourself.

This method uses configure > make > checkinstall (instead of make install). You will download the source code of your intended software, and follow the procedure to make your RPM.

See this wiki article here. It is a bit old, but still works AFAIK. Note the part where you run as a regular user, then su to root for the remainder.

http://susewiki.org/index.php?title=Building_Simple_RPMs

Jim F
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups