Search code examples
linuxapachemapserver

How to create a "configure" file?


Recently I downloaded a file using the following link

git clone git://github.com/mapserver/mapcache.git

Inside the downloaded mapcache folder I can not find a configure file to do "./configure". But the installation help file tell:

Unix compilation instructions

If you are using a git clone rather than a tarball distribution, you must first run autoconf in the root directory, to create the configure file from configure.in:

$ autoconf

For unix users, the compilation process should resume to:

$ ./configure

$ make

(as root)

make install-module

The installation script takes care of putting the built module in the apache module directory.

To do ./configure there should be a configure file isn't it? Please show me how to make one to get rid of this problem.


Solution

  • maintainer speaking ...

    mapcache and mapserver are switching to cmake for the next release and the docs for the master branch need updating. You can either use the branch-1-0 branch to continue using autoconf builds, or use cmake with master:

    $ mkdir build
    $ cd build
    $ cmake ..
    $ make
    $ sudo make install