[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to Setup Autoconf?
From: |
JG8949 |
Subject: |
Re: How to Setup Autoconf? |
Date: |
Mon, 27 Jan 2003 08:24:22 -0500 |
right now i'm complete lost! (remember your only talking to a sheltered windows
user lol, linux was too much for my little brain). I've NEVER compiled anything
before for command line I've never used bcc32, I'm completely and 100% confused.
yes this is a Windows NT4 platform on a Novell network.
I did just whack the apache binary on, but I wanted to compile it myself (i
just had the urge, not to urble u understand, i oculd do with a hair cut but it
doens't need wasking *g*). the main reason being i want SSL and php built in.
I bought a nice chunky book (usually i go for the 10 page ladybird A6 books
*does some more grinning*) It explain that to configure Apache 2.0 for
compiling I need to play with the configure scripty joby. It then says to do
this i need autoconf, then assumes I have autoconf (bugerin buggery....)
All that stuff you wrote, Dirk, looked wonderful!!!! but it went straight over
my head d'oh. i was asking about cpp, beacuse borland kept on sticking cpp on
the end of any file (without an extension) and then complained that it didn't
exist! wot on earth!
an existing code base??? well not as far as i'm aware. run autoscan, i ca't
'just' run autoscan, its not a program or batch file :o
ahh nuts this aint goin to well, like u hadn't noticed hehe.
Thanks
>HELP!!!
>
>well that's a good way to start the mail :D. I'm trying to compile apache 2.0.
>i need autoconf to make the configuration file. (I've never done this b4 so
>don't be surprised by the incomptence of the questions hehe). I have Borlands
>C++ text line compiler and autoconf 2.57.
>
>How do i use autoconf???
>
that depends.. if you have an existing codebase and would like to
immigrate it to autoconf make sure you rename Makefile and confiog.h (if
present) to Makefile.bak and config.h.bakl first..
then run
autoscan
rm configure.scan configure.in
autoconf
autoheader
autoconf will generate the configure script
autoheader will generate the config.h.in template
autoconf is all about the generation of scripts.. autoscan will search
through your code for what functions or libs you envolve in your code
and will gebnerate a cionfigure script.. that script is platform
independend and tests the system on which youÄ'd like to compile the
code for the presence of the functions and libraries you involve in your
code.. doing that it uses the config.h.in template to define/undefine
HAVE_BLA_H definesx which you can use in your code to enable/disable
functions or libraries you involve in your code...
Your can make a template of the Makefile too.. rename Makefile to
Makefile.in and check through configure.in..
> howdo i setup autoconf, does it need compiling first???
>
./configure && make && make install
> what is a cpp file???
>
sourcecode written in cpp
> why haven't i got any cpp files in the autoconf download???
>
why should you? do you prefer autoconf to be written in cpp?
> what other inane questions can i come up with???
>
>Any comments greatly appreciated
>
n.p. for further assistance try google with "autoconf tutorial"
>
>Thanks
>
>james
>
>
>
>
>
Dirk