Re: Problems to get GTK+ to run on Mac OS X Panther



Stephan von Lingelsheim wrote:
You might want to consider downloading FINK and letting that program install it for you.

Yes i have done that too
GTK+ is availaible on fink
but not the GTK+extra
i need GTK+extra in order to run gpsim
so i tried to install everything manually, as fink gave me no luck

Hi, you've installed gtk2, and gtkextra (the standard tarball, anyway) needs gtk1.2.

You can use fink to get gtk on there, then do gtk+extra yourself. Do

	fink install gtk+

then download gtk+extra. You need to patch gtk+extra 0.99.17 (the most recent release) for mac os. The bundled config.guess/config.sub do not know about mac os, so swap them for the fink versions

	cd gtk+extra-0.99.17
	cp /sw/share/libtool/config.* .

also gtkextra/gtkplotdt.c #includes malloc.h for some reason. Just delete this line (line 23 of gtkextra/gtkplotdt.c). Then

	./configure --prefix=/sw
	make
	make install

... bingo!

John






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]