Question

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.

Was it helpful?

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

OTHER TIPS

The help file tells you exactly what you need to do

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

If you don't already have autoconf installed you'll need to install it in the normal way for your distribution.

The repository seems out of sync with the documentation

  • there is no configure.in as mentioned in the INSTALL file (nowhere not only in the root directory)
  • there is just a Makefile.vc file for MSVC++

You should contact the maintainer

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top