1 TITLE: GTK+ compilation problems
3 AUTHOR: unknown <unknown>
6 This addresses compilation problems in the 1.2.7 version of GTK+. (ed. note: this problem has been fixed in 1.2.8)
9 One major blunder I think I found was when I tried to compile gtk+1.2.7.
10 I couldn't first but I found the solution and so here it is:
12 tar xfz gtk+1.2.7.tar.gz ; rm gtk+1.2.7.tar.gz
13 cd gtk+1.2.7 ( There is a gdk and a gtk directory in the main direcotory )
15 rm Makefile ; rm Makefile.in
17 Search for the following lines:
19 # GTK+ header files that don't get installed
20 gtk_private_h_sources = @STRIP_BEGIN \
23 If you don't put something in there and you try to compile it, you get the
24 following error message:
25 Insufficient number of arguments (0) to function `strip'. Stop.
26 So I copied a header file from the gdk directory to the gtk directory and named
28 cp gdk.h ../gtk/dummy.h. Put this dummy.h into the Makefile.am - Now it has an
29 argument, right?-: (don't forget the Tab's!)
31 # GTK+ header files that don't get installed
32 gtk_private_h_sources = @STRIP_BEGIN \
35 Now you can do in the main directory an automake and compile it. make and make
37 It took me one whole day to figure this out, so I hope this will be usefull to
38 you when you get there.
39 I know it's not the best way, but it worked for me.