• Tdotwire
  • Proficient
  • Proficient
  • User avatar
  • Posts: 486
  • Loc: Toronto

Post 3+ Months Ago

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


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

but how does this command or file script work...
  • PsyckBoy
  • Graduate
  • Graduate
  • PsyckBoy
  • Posts: 204
  • Loc: SoCal

Post 3+ Months Ago

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

Post 3+ Months Ago

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).


Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 29 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

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.