LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mandrake 9.1 Libmng ./autogen.sh macro problem (https://www.linuxquestions.org/questions/linux-newbie-8/mandrake-9-1-libmng-autogen-sh-macro-problem-162141/)

:RoB:JoB: 03-25-2004 04:17 AM

Mandrake 9.1 Libmng ./autogen.sh macro problem
 
Here is a copy from my terminal, I'm running autogen.sh (for libmng) to create configure. At the end it trys to run configure after creating it, but it obviously didn't make it correctly.
Quote:

[rob@192 libmng]$ ./autogen.sh
running aclocal
aclocal: configure.in: 21: macro `AM_PROG_LIBTOOL' not found in library
running libtoolize
running automake
configure.in: `AM_INIT_AUTOMAKE' must be used
automake: no proper implementation of AM_INIT_AUTOMAKE was found,
automake: probably because aclocal.m4 is missing...
automake: You should run aclocal to create this file, then
automake: run automake again.
Makefile.am:12: Libtool library used but `LIBTOOL' is undefined.
Makefile.am:12: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
Makefile.am:12: to `configure.in' and run `aclocal' and `autoconf' again.
building configure script
./configure: line 1309: syntax error near unexpected token `libmng,'
./configure: line 1309: `AM_INIT_AUTOMAKE(libmng, 1.0.6)'
[rob@192 libmng]$
Here is the autogen.sh file:
Quote:

# autogen.sh
#
# invoke the auto* tools to create the configureation system

# move out configure.in
if ! test -f configure.in; then
echo "copying configure.in"
ln -s makefiles/configure.in .
fi

# move out the macros and run aclocal
if test ! -f acinclude.m4 -a -r makefiles/acinclude.m4; then
echo "copying configure macros"
ln -s makefiles/acinclude.m4 .
fi

# copy up our Makefile template
if ! test -f Makefile.am; then
echo "copying automake template"
ln -s makefiles/Makefile.am .
fi

echo "running aclocal"
aclocal

echo "running libtoolize"
libtoolize --automake

echo "running automake"
automake --foreign --add-missing

echo "building configure script"
autoconf

# and finally invoke our new configure
./configure $*

# end
As the title suggests, I'm running Mandrake 9.1, I'm still very new to Linux, and I'm trying to install libmng because it's a dependancy for DevIL.
Thanks for looking.
robjob

Baldrick65 03-25-2004 07:41 AM

Try installing libmng1-1.0.3-2mdk and libmng1-devel-1.0.3-2mdk off the Mandrake CD's with the Mandrake Control Centre. It might not be the latest version, but it may prove easier than compiling from source and all dependancies associated with libmng will be filled.

Baldrick


All times are GMT -5. The time now is 09:06 AM.