From: Jonathan B. <jbr...@ea...> - 2005-10-19 12:17:22
|
On Tue, 2005-10-18 at 22:47 -0700, Dethe Elza wrote: > Hi folks, > > I've finally gotten some time to look at porting VPython to OS X > Aqua. Excellent! > I've got Boost.python installed, and stubbed in the platmac.[h| > cpp], and the osxgl.[h|cpp], but I'm having no luck getting a working > configure file to compile it. When I run autoconf I get a configure > file, but running aclocal tells me: > > aclocal: macro `AM_PATH_GTK' required but not defined > > But GTK shouldn't be required, so how do I turn that off? Generating the configure script is much more difficult than actually running it, since it is designed to determine settings on every platform that Visual can run on. Therefore, you actually do need GTK installed (or at least its .m4 files). I face a similar problem when rebuilding configure using MinGW on Windows. To work around it, I have a copy of gtk.m4 and pkg.m4 in VPython's CVS. Look under vpython/share/aclocal. Copy those files to $prefix/share/aclocal. You will probably have an easier time getting autoconf, automake, and libtool to work if you use the packages in Fink. In that case, you will want to copy the .m4 files into /sw/share/aclocal, but only if they are not already included in Fink's GTK 1.2 development package. > I can > delete the offending line from acinclude.m4, but that still leaves me > with my next problem, which is that when I run the resulting > configure script it complains that in the line: > > AM_INIT_AUTOMAKE( visual, 3.2.3) What is the current version of automake and autoconf on your system? > that the symbol "visual" is unknown. > > I'm not an avid user of autoconf or even configure, and after poking > around in it for a day or so, I'm not any more enlightened. Can > anyone tell me what I'm doing that's stupid and hosing the build? I've given a few guesses above, but also see the file autogen.sh in the top-level of VPython's source tree (maybe only in CVS). It is what I use to sequence the operation of the autotools when building the configure scripts themselves. -Jonathan |