Jump to content
  • 0

Stuck at autogen.sh


dcrookston

Question

Hello,

I'm following the instructions for installing on Debian which I found at this location: https://www.getmangos.eu/wiki/Installation%20Guides/Linux/Debianinstall.md on the 3rd of April 2015. (Providing documentation for someone who might read this thread later.)

Here are my notes on install so far:

root@raskol:~# uname -a

Linux raskol 3.19.1-x86-linode71 #1 SMP Tue Mar 10 15:42:56 EDT 2015 i686 i686 i686 GNU/Linux

Everything ran fine up until I tried to run cmake, which generated the following error:

CMake Error at CMakeLists.txt:97 (message):

The parameter PREFIX has been removed. Please re-run CMake and use

CMAKE_INSTALL_PREFIX instead to define your installation location!

I found that CMakeCache.txt had CMAKE_INSTALL_PREFIX:PATH=/home/mangos already set, so I checked /home/mangos/server/CMakeLists.txt and found the following (line numbers prepended):

95: # TODO: remove this in the future! it has only been added to make the switch easier for end users

96: if(PREFIX)

97: message(FATAL_ERROR "The parameter PREFIX has been removed. Please re-run CMake and use CMAKE_INSTALL_PREFIX instead to define your installation location!")

98: endif()

so I commented out lines 96-98 and cmake ran fine. Hope this didn't break anything. Afterward cmake, make, and make install all ran fine. Then I changed to ~/server/dep/libmpq (to clarify: I did this as the mangos user) and ran autogen.sh and got the following errors:

./autogen.sh: 11: ./autogen.sh: libtoolize: not found

./autogen.sh: 12: ./autogen.sh: aclocal: not found

./autogen.sh: 13: ./autogen.sh: autoheader: not found

./autogen.sh: 14: ./autogen.sh: automake: not found

./autogen.sh: 15: ./autogen.sh: autoconf: not found

Now you are ready to run ./configure

Am I? Am I ready, little autogen.sh?

I'm not sure what these commands are meant to do... `which libtoolize` shows nothing as expected, and an `updatedb` / `find libtool` turned up nothing either. `apt-cache search libtool` gave a few hits but I'm not sure which I'm supposed to install, if any.

Any hints or suggestions?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

I googled libtoolize and found that it's part of the standard libtool package, so I ran apt-get install libtool and rerunning ./autogen.sh got a little farther than last time:

mangos@raskol:~/server/dep/libmpq$ ./autogen.sh

Generating build information using aclocal, autoheader, automake and autoconf

This may take a while ...

libtoolize: putting auxiliary files in `.'.

libtoolize: copying file `./ltmain.sh'

libtoolize: You should add the contents of the following files to `aclocal.m4':

libtoolize: `/usr/share/aclocal/libtool.m4'

libtoolize: `/usr/share/aclocal/ltoptions.m4'

libtoolize: `/usr/share/aclocal/ltversion.m4'

libtoolize: `/usr/share/aclocal/ltsugar.m4'

libtoolize: `/usr/share/aclocal/lt~obsolete.m4'

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and

libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.

libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

./autogen.sh: 12: ./autogen.sh: aclocal: not found

./autogen.sh: 13: ./autogen.sh: autoheader: not found

./autogen.sh: 14: ./autogen.sh: automake: not found

./autogen.sh: 15: ./autogen.sh: autoconf: not found

Now you are ready to run ./configure

So I'm going to do the same with the rest of these (listed below) and hopefully I can identify which packages were missing from the apt-get install list, and then add them to the instructions I'm using.

libtoolize -- provided with libtool

aclocal

autoheader

automake

autoconf -- all of these were included with the autoconf package

In the end, `apt-get install libtool autoconf` fixed the problem. I have documented this issue here: https://www.getmangos.eu/issue.php?issueid=913

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use