From: paul k. <pau...@xs...> - 2005-05-13 09:24:34
|
Hi Michael, >>- clean get from cvs >>- ./configure >>tux lcd4linux # make >>cd . && aclocal-1.4 >>aclocal: macro `AM_PATH_PYTHON' required but not defined >>make: *** [aclocal.m4] Error 1 >> >> > >Well, this is *really* strange. Works here like a charm. > > > I am not that good with CVS, are there any changes since last night and today? I did this about 30 minutes ago and it builds correctly. However the problem is not solved, yet. Once I change configure.in to remove the i2c detection. (I modified this file a couple of weeks ago without any problems) And then do make. I still get the same error as above. So for some reason regenerating files like configure (from configure.in) and probably Makefile (from Makefile.am) produces incorrect results. >>This definition is cached in aclocal.m4 and is in >> >> >HereI get no definitions about python in aclocal.m4 (neither from >plugins.m4 and drivers.m4) > > Sorry, you are richt. it is not really cached in this file.but there is in a situation a autom4te.cache directory created that, possibly cashes stuff. >Did you try to rename the python.m4 in the lcd4linux directory and to >change the sinclude(python.m4) line in configure.in? > > I did this and that is how I found out that there is some sort of caching somewhere. There are files used when processing configure.in, that are recreated by that same process. There is some sort of circular dependency in there. >>But no object files are created and the linking stage fails >>See the attached files for the make output. >> >> >Well, this is even more strange. > > > >>make all-am >> >> >why not simply 'make'? >make[1]: Entering directory `/root/lcd4linux' > > >>source='lcd4linux.c' object='lcd4linux.o' libtool=no \ >>DEPDIR=.deps depmode=none /bin/sh ./depcomp \ >>gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/python2.3 -D_GNU_SOURCE -Wall -W -g -O2 -c lcd4linux.c >> >> >looks strange... > >what's this depcomp? It's in CVS, but with zero size. Maybe something >from libtool? > > > > All this is probably related to an incorrectly recreated Makefile om my system. All this is really strange. When I take out the AC_PYTHON_DEVEL line in configure.in followed by make, then everything goes well. Inserting AC_PYTHON_DEVEL again, breaks it again. bye, Paul |