[opensuse] compiling from source code in 11.3

I tried to compile ltris, a tetris clone on 11.3 and wouldn't compile, too many missing packages. What packages do I need to compile from source code in 11.3 and how to compile. jozien -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

* Joe Zien <jozien@comcast.net> [07-22-10 20:00]:
I tried to compile ltris, a tetris clone on 11.3 and wouldn't compile, too many missing packages. What packages do I need to compile from source code in 11.3 and how to compile.
don't, use the package already prepared especially for your distro version: http://download.opensuse.org/repositories/games/openSUSE_11.3/x86_64/ltris-1... or http://download.opensuse.org/repositories/games/openSUSE_11.3/i586/ltris-1.0... hint: http://software.opensuse.org/search webpin cnf -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Patrick Shanahan wrote:
* Joe Zien <jozien@comcast.net> [07-22-10 20:00]:
I tried to compile ltris, a tetris clone on 11.3 and wouldn't compile, too many missing packages. What packages do I need to compile from source code in 11.3 and how to compile.
don't, use the package already prepared especially for your distro version: http://download.opensuse.org/repositories/games/openSUSE_11.3/x86_64/ltris-1... or http://download.opensuse.org/repositories/games/openSUSE_11.3/i586/ltris-1.0...
hint: http://software.opensuse.org/search webpin cnf
I am teaching a friend how to use linux and he asked how do you compile programs and I never compiled from source so I wanted to learn myself. Thanks for the reply. jozien Thanks <http://mepislovers.org/forums/showthread.php?do=post_thanks_add&p=238492> Edit/Delete Message <http://mepislovers.org/forums/editpost.php?do=editpost&p=238492> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, 22 Jul 2010 20:39:43 -0400, Joe Zien <jozien@comcast.net> wrote:
I never compiled from source so I wanted to learn myself.
Doing so requires a fair bit of knowledge in order to be able to react when things go wrong. You need to understand the tools needed to compile, i.e. tools like make, gcc, automake, autoconf, libtool, bison just to name very few. The second thing to keep in mind is that by compiling from source and installing without using rpm means bypassing your package management and almost always means you can't cleanly remove a package from your system. Having said that, I'd recommend downloading the .src.rpm of a package in question, unpacking that with unrpm (IMO better then installing it) and then studying the .spec file of that package. That should tell you which specific packages are needed to build and to use a package (besides the basic development tools). Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Thu, Jul 22, 2010 at 8:39 PM, Joe Zien <jozien@comcast.net> wrote:
Patrick Shanahan wrote:
* Joe Zien <jozien@comcast.net> [07-22-10 20:00]:
I tried to compile ltris, a tetris clone on 11.3 and wouldn't compile, too many missing packages. What packages do I need to compile from source code in 11.3 and how to compile.
don't, use the package already prepared especially for your distro version:
http://download.opensuse.org/repositories/games/openSUSE_11.3/x86_64/ltris-1... or
http://download.opensuse.org/repositories/games/openSUSE_11.3/i586/ltris-1.0...
hint: http://software.opensuse.org/search webpin cnf
I am teaching a friend how to use linux and he asked how do you compile programs and I never compiled from source so I wanted to learn myself.
Thanks for the reply.
jozien
You need 2 categories of things. The build tools and the devel packages it builds upon. (ie. libraries, etc.) I'll assume you know the build tools, or else you have lots to learn! So look at the buildrequires line in the specfile for the devel packages. In this case you can find the spec file on the OBS at https://build.opensuse.org/package/view_file?file=ltris.spec&package=ltris&p... ie. # BuildRequires: SDL_mixer-devel update-desktop-files So install those 2 packages as well as the build tools you need. You can see the basic build steps in the spec file as well. Now your off and running. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010-07-23 01:58, Joe Zien wrote:
I tried to compile ltris, a tetris clone on 11.3 and wouldn't compile, too many missing packages. What packages do I need to compile from source code in 11.3
You determine that one by one from the error messages you get when trying. If it is the first thing you compile on that machine, then they are many. But you could install the development pattern, which usually installs more than you need, and less than you need. >:-) - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iF4EAREIAAYFAkxJO5sACgkQja8UbcUWM1xwYQEAhCsjEYUAJt9j/a28L0J1qPIM XXbygnwd8R6BCEQjNPsA/3H5NpTX+8mB2gPaBXWLHVD00Non203LhYqiR03c04XT =9geN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Friday 23 July 2010 07:50:03 Carlos E. R. wrote:
On 2010-07-23 01:58, Joe Zien wrote:
I tried to compile ltris, a tetris clone on 11.3 and wouldn't compile, too many missing packages. What packages do I need to compile from source code in 11.3
You determine that one by one from the error messages you get when trying.
In this case, I'd have started by at least looking at the packages home page to see if it says what's required. Then I'd have looked at the README file, again to see what was required, and then started using error messages to figure out what was still missing.
If it is the first thing you compile on that machine, then they are many. But you could install the development pattern, which usually installs more than you need, and less than you need. >:-)
Adding the patterns "Base Development", "C/C++ Development", and "RPM Build Environment" should pull in a lot of the basic development packages required. Adding the KDE and/or Gnome development patterns will add a lot more. Regards, David Bolt -- Team Acorn: www.distributed.net | | openSUSE 11.3RC2 32b | openSUSE 11.1 64b | openSUSE 11.2 64b | | openSUSE 11.1 PPC | TOS 4.02 | RISC OS 4.02 | RISC OS 3.11 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Carlos E. R.
-
David Bolt
-
Greg Freemyer
-
Joe Zien
-
Patrick Shanahan
-
Philipp Thomas