LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-01-2008, 06:11 AM   #1
bensington butters
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
odd error with make, and its a source i have compiled many times with no error


Just started using Mandriva Spring 2008 ed., and now I can't compile things I used to due to some new version of make. How do I fix this, much thanks in advance.

configure.ac:3: version mismatch. This is Automake 1.10.1,
configure.ac:3: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:3: comes from Automake 1.9.5. You should recreate
configure.ac:3: aclocal.m4 with aclocal and run automake again.
make[2]: *** [Makefile.in] Error 1
make[2]: Leaving directory `/home/abdel/sc/scatterchat-module-1.02/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/abdel/sc/scatterchat-module-1.02'
make: *** [all] Error 2
 
Old 07-01-2008, 10:19 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
As the error message suggests, you have to recreate the file aclocal.m4 and the template for the makefile. Simply run
Code:
$ aclocal
$ automake -a
inside the installation directory. Most likely automake will complain about some missing files. Some of them will be re-created (it will tell you about that, for example: required file "./install-sh" not found; installing) some will not. At this point you can create the missing files by yourself as empty files, using touch. Then re-run automake -a again, until it completes without any error message.

An intermediate step - between aclocal and automake - is
Code:
$ autoconf
to generate the configure file. But since the error message does not mention it, I would ignore this step at the moment. Then re-run the installation steps, ./configure && make.

You can find documentation about the automake tools, here.

Last edited by colucix; 07-01-2008 at 10:24 AM. Reason: Added link to docs
 
  


Reply



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
Downloaded Wireshark source code and while make rpm got this error, kindly help pkhera_2001 Linux - Newbie 1 03-20-2008 08:09 AM
elive/debian: Installed kernel headers and source, still make:65-error ikonqueror Linux - Software 3 08-07-2007 08:58 PM
Compile Tk from source: make error diego_cn Linux - Software 5 04-11-2006 06:46 AM
Odd Chars w/ make/C++ compile error on Fedora w/bash shell zemux Linux - General 2 01-22-2006 01:48 AM
Ndiswrapper Make Error - Kernal Source Andorin Linux - Software 13 03-30-2005 10:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:15 PM.

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