./configure?

  • Tdotwire
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jul 18, 2004
  • Posts: 486
  • Loc: Toronto
  • Status: Offline

Post November 14th, 2005, 6:21 pm

in unix for apache and php installation, as well as compiling, I constantly seem to come across a method called configure

it appears like so

./configure

(I am aware the ./ means the current directory)

but how does this command or file script work...
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 14th, 2005, 6:21 pm

  • PsyckBoy
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jun 20, 2005
  • Posts: 204
  • Loc: SoCal
  • Status: Offline

Post November 14th, 2005, 8:15 pm

Try "./configure --help". That should give you a list of options.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post November 15th, 2005, 6:43 am

The 'configure' executable does as it's name implies; it configures the setup for the compilation from environment variables to customized paths.

As the end user, you may edit the configure file (provided you know what you are doing) to alter said parameters prior to compiling the package.
It (basically) creates another file (Makefile) which is used by the compiler to set up the requirements for the actual compilation.

The reason you position the './' in front, it to actually execute the configure. You must provide either the path which will reference your personalized environment variables OR provide the mechanism of choice (perl <program name>, for example, if the program was written in perl).

Cheers.
"It's always a long day, 86,400 won't fit into a short."

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 118 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.