Compiling to SuSE
Hi, There are some tutorial or howto about compiling for SuSE? Thanks Thadeu
* Jose Thadeu Cavalcante
Hi,
There are some tutorial or howto about compiling for SuSE?
It's possible to compile Fortran 77 if you install the package gcc-g77. It should be on the CDs. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.
Sorry, but I say compiling in sense of installing programs obtained from its source code. My questions are how to setting the parameters for config, make and make install, etc. Thank you Thadeu On Tuesday 06 January 2004 07:17, Mads Martin Joergensen wrote:
* Jose Thadeu Cavalcante
[Jan 06. 2004 02:51]: Hi,
There are some tutorial or howto about compiling for SuSE?
It's possible to compile Fortran 77 if you install the package gcc-g77. It should be on the CDs.
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.
* Jose Thadeu Cavalcante
Sorry, but I say compiling in sense of installing programs obtained from its source code. My questions are how to setting the parameters for config, make and make install, etc.
That's the same on SuSE as on every other Linux/Unix. Just google around for docu on that, and you're fine. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.
On Tuesday 06 January 2004 09:54, Jose Thadeu Cavalcante wrote:
Sorry, but I say compiling in sense of installing programs obtained from its source code. My questions are how to setting the parameters for config, make and make install, etc. Thank you Thadeu
Hi Thadeu, Once the development tools are installed, I'm not sure (thought I'm certainly no expert) that there is a set of specific things you need to do for SuSE compilation as such. It seems to me that you are mostly left to find your way through the documentation in the tarball, and sometimes you need to tell the compile to look in specific places for libraries, etc. Most things I've compiled successfully on SuSE just went ./configure, make, make install. Perhaps others can put me right if there's a better way. Cheers Fergus
On Tuesday 06 January 2004 07:17, Mads Martin Joergensen wrote:
* Jose Thadeu Cavalcante
[Jan 06. 2004 02:51]: Hi,
There are some tutorial or howto about compiling for SuSE?
It's possible to compile Fortran 77 if you install the package gcc-g77. It should be on the CDs.
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.
-- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk
Fergus Wilde wrote:
On Tuesday 06 January 2004 09:54, Jose Thadeu Cavalcante wrote:
Sorry, but I say compiling in sense of installing programs obtained from its source code. My questions are how to setting the parameters for config, make and make install, etc. Thank you Thadeu
Hi Thadeu,
Once the development tools are installed, I'm not sure (thought I'm certainly no expert) that there is a set of specific things you need to do for SuSE compilation as such. It seems to me that you are mostly left to find your way through the documentation in the tarball, and sometimes you need to tell the compile to look in specific places for libraries, etc. Most things I've compiled successfully on SuSE just went ./configure, make, make install.
Perhaps others can put me right if there's a better way. Cheers Fergus
That's the normal way, however there are some source files that are setup to allow building rpm's via "rpmbuild -ta source.tar.bz2" or .tgz oe .tar.gz. I try the rpmbuild first, if that doesn't work, I fall back to the other method. Largely it's the same most all distros, except some like debian that do not use rpm, the ./configure etc. works for all. SuSE is Linux like the others, just that each distro has a few ease-of-use special apps they've developed - citing YaST, apt, Mandrake Control Center, RedHat whatever-it's-called. Regards Sid.
On Tuesday 06 January 2004 07:17, Mads Martin Joergensen wrote:
* Jose Thadeu Cavalcante
[Jan 06. 2004 02:51]: Hi,
There are some tutorial or howto about compiling for SuSE?
It's possible to compile Fortran 77 if you install the package gcc-g77. It should be on the CDs.
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.
-- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.
The Tuesday 2004-01-06 at 07:54 -0200, Jose Thadeu Cavalcante wrote:
Sorry, but I say compiling in sense of installing programs obtained from its source code. My questions are how to setting the parameters for config, make and make install, etc.
I don't think there is nothing specific to SuSE - just check the paths that it is going to use, and change those that do not seem right. Most sources will use the "/usr/source" tree. The sequence is the same most times: ./configure, make, make install - but read the docs that each package has. I usually change the "make install" part with "checkinstall"; this will create an rpm - possibly non optimal, but it's an rpm - that will keep the rpm database happy, and yast will not complain too much. If your goal is to create rpm for distribution, well made for a SuSE install, then I can not help you. The important part is creating a good spec file, I suppose. There is a chroot build environment... but I'm unsure if this is documented, and where (esp. how to to make the spec file). There have been threads on this list about this. -- Cheers, Carlos Robinson
participants (5)
-
Carlos E. R.
-
Fergus Wilde
-
Jose Thadeu Cavalcante
-
Mads Martin Joergensen
-
Sid Boyce