Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-25-2004, 05:17 AM   #1
LQ Newbie
Registered: Mar 2004
Distribution: Mandrake 9.1
Posts: 3

Rep: Reputation: 0
Mandrake 9.1 Libmng ./ macro problem

Here is a copy from my terminal, I'm running (for libmng) to create configure. At the end it trys to run configure after creating it, but it obviously didn't make it correctly.
[rob@192 libmng]$ ./
running aclocal
aclocal: 21: macro `AM_PROG_LIBTOOL' not found in library
running libtoolize
running automake `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. Libtool library used but `LIBTOOL' is undefined. The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' to `' 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 file:
# invoke the auto* tools to create the configureation system

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

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

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

echo "running aclocal"

echo "running libtoolize"
libtoolize --automake

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

echo "building configure script"

# 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.
Old 03-25-2004, 08:41 AM   #2
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Libmng problems muppski Linux - Software 1 11-03-2005 03:09 PM
#defining a macro inside a macro? saravkrish Programming 1 05-24-2005 10:48 PM
Slight Problem with a Tecplot 10 Macro illiniguy3043 Linux - General 1 12-27-2004 08:13 AM
missing in suse 7.1 jbrealey Linux - Hardware 2 10-07-2002 06:46 PM
suse 7.1 missing jbrealey Linux - Distributions 2 10-07-2002 06:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration