Re: [newbie] how to compile a program from source

2000-10-01 Thread Paul R

Thank you so much for your help, Anthony, Adam, and Micheal!  That was
great!  Wow!  WHat a rush!  And how easy!  It's really pretty empowering
for a newbie to compile their first program like that!  At least for me
it was.  RPM's may be easier, but I really wanted to see how it was
done.  Perhaps in a little bit of time I might be able to take a look at
the code and try to hack, customize, and (maybe one day) even contribute
to it.  (not that I don't think it's take a lot of learning from here
till then)  That's why I wanted to try one program from source.  Thanks
a lot, guys.  That really was great!

-Paul R


Anthony wrote:
> 
> This is one of the most common newbie questions, and one that gave me fits
> before I figured out the "secret".
> 
> First off, I suggest rpm's instead of doing it by source. RPM's are just plain
> easier. But if  you're stuck on source, or need the source for some reason...
> 
> Untar the file. ("tar -xvzf the_program.tar.gz")
> Go into the directory that the above command created (usually "cd the_program")
> Read the readme file in there. It contains more detailed instructions. However
> 99% of the programs follow these procedures:
> Type "./configure" and wait for it to configure
> Type "make" and wait for it to compile
> Type "su" to go to root
> Type "make install" to install the program
> And then your done.
> 
> If you get an error during the ./configure stage, it's probally because you
> dont' have the library it needs. You can try searching for it at rpmfind.net,
> and sometimes that'll solve the problem. The easiest way to not get those kind
> of errors is to just install ALL the developmental libraries during
> installation. It'll solve so many headaches in the long run.
> 
> > Anybody know where I can find some good documentation on compiling
> > different sorts of programs from the source-code.  I wanna try to
> > compile and install gaim as my first try.
> 
> --
> Anthony
> http://binaryfusion.net
> Computers are not intelligent. They only think they are.

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: [newbie] how to compile a program from source

2000-09-29 Thread Anthony

This is one of the most common newbie questions, and one that gave me fits
before I figured out the "secret". 

First off, I suggest rpm's instead of doing it by source. RPM's are just plain
easier. But if  you're stuck on source, or need the source for some reason...

Untar the file. ("tar -xvzf the_program.tar.gz")
Go into the directory that the above command created (usually "cd the_program")
Read the readme file in there. It contains more detailed instructions. However
99% of the programs follow these procedures:
Type "./configure" and wait for it to configure
Type "make" and wait for it to compile
Type "su" to go to root
Type "make install" to install the program
And then your done. 

If you get an error during the ./configure stage, it's probally because you
dont' have the library it needs. You can try searching for it at rpmfind.net,
and sometimes that'll solve the problem. The easiest way to not get those kind
of errors is to just install ALL the developmental libraries during
installation. It'll solve so many headaches in the long run. 


> Anybody know where I can find some good documentation on compiling
> different sorts of programs from the source-code.  I wanna try to
> compile and install gaim as my first try.  

-- 
Anthony
http://binaryfusion.net
Computers are not intelligent. They only think they are. 




Re: [newbie] how to compile a program from source

2000-09-28 Thread Andrew Scotchmer

On Thu, 28 Sep 2000, you wrote:
> Anybody know where I can find some good documentation on compiling
> different sorts of programs from the source-code.  I wanna try to
> compile and install gaim as my first try.  
> 
> -Paul R

You should already have gaim on your system.  Just open a terminal and type
giam.  

Andrew




Re: [newbie] how to compile a program from source

2000-09-28 Thread Adam

Paul R wrote:
> 
> Anybody know where I can find some good documentation on compiling
> different sorts of programs from the source-code.  I wanna try to
> compile and install gaim as my first try.
> 
> -Paul R
> 
> PS (The readme for gaim mentions GTK, I seem to have that on the system
> but can't seem to call it up.)
> 
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com

might want to type "pico INSTALL", they usually give you steps on how to
compile the programs from source :P tis' my 2 cents


usually they follow the

./configure
make
su root
password: **
make install

and you're usually done :P (with exception to kernel's)

a good reference is linuxdoc.org
--
Adam
Registered Linux User #84252
[EMAIL PROTECTED]
http://www.vbfx.com




Re: [newbie] how to compile a program from source

2000-09-28 Thread Michael

All decent programs these days tend to go something like:

./configure
make
make install
ldconfig

When things go well that's about it. When they don't well then it is a lot
of digging through libraries and code. ;>

*^*^*^*
Was it a dream where you see yourself standing in sort of sungod robes
 on a pyramid with a thousand naked women screaming and throwing little
pickles at you? -- Real Genius

On Thu, 28 Sep 2000, Paul R wrote:

> Anybody know where I can find some good documentation on compiling
> different sorts of programs from the source-code.  I wanna try to
> compile and install gaim as my first try.  
> 
> -Paul R
> 
> PS (The readme for gaim mentions GTK, I seem to have that on the system
> but can't seem to call it up.)
> 
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 





[newbie] how to compile a program from source

2000-09-28 Thread Paul R

Anybody know where I can find some good documentation on compiling
different sorts of programs from the source-code.  I wanna try to
compile and install gaim as my first try.  

-Paul R

PS (The readme for gaim mentions GTK, I seem to have that on the system
but can't seem to call it up.)

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com