[Xapian-discuss] AM_PROG_CC_C_O not found
Jim
jim at fayettedigital.com
Wed Oct 24 11:45:27 BST 2007
Jim wrote:
> Marcus Rueckert wrote:
>> On 2007-10-23 21:32:29 +0100, Olly Betts wrote:
>>
>>> On Tue, Oct 23, 2007 at 03:55:28PM -0400, Jim wrote:
>>>
>>>> Marcus Rueckert wrote:
>>>>
>>>>> On 2007-10-23 15:23:35 -0400, Jim wrote:
>>>>>
>>>>>> alnut:~/xapian103$ ./bootstrap
>>>>>> Bootstrapping `swig'
>>>>>> + test -d Tools/config
>>>>>> + aclocal -I Tools/config
>>>>>> aclocal: configure.in: 31: macro `AM_PROG_CC_C_O' not found in
>>>>>> library
>>>>>> Bootstrap failed
>>>>>>
>>>>> update your automake version. mostlikely you have 1.4 installed atm
>>>>>
>>>> Checked that:
>>>>
>>>> alnut:~$ automake --version
>>>> automake (GNU automake) 1.9.6
>>>>
>>
>> is automake14 installed aswell?
>>
>>
>>> It appears to be aclocal which is moaning - what about aclocal
>>> --version?
>>>
>>
>> AM_PROG_CC_C_O should be an automake macro.
>> on my systems it is defined in /usr/share/aclocal-1.*/minuso.m4
>>
>> darix
>>
>>
> Yes, and removing it fixed the problem. Thanks.
>
> Now, I'm getting
> configure: error: Can't find SWIG utility
> When I do a ./configure at the same level as the bootstrap program,
> however I don't give a hoot about swig, I just need the latest
> libraries and omega. Is there an option to say "just build those and
> ignore the rest of the stuff?" I found the --disable-documentation
> flag and am using it.
>
> Thanks,
> Jim.
>
> _
Oh, I also attempted to do a manual configure in the xapian/xapian-core
directory such as
libtoolize
aclocal
autoconf
automake
These were the only warnings I received:
alnut:~/xapian/xapian-core$ autoconf
configure.ac:111: error: possibly undefined macro: AM_CXXFLAGS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:116: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:163: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:430: error: possibly undefined macro: AM_CONDITIONAL
alnut:~/xapian/xapian-core$ aclocal
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of
AM_PATH_LIBMCRYPT
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
When then I tried:
alnut:~/xapian/xapian-core$ automake
configure.ac: required file `./install-sh' not found
configure.ac: required file `./missing' not found
automake-1.9: cannot open < docs/docsource.mk: No such file or directory
I didn't consider that a warning.
Jim.
More information about the Xapian-discuss
mailing list