I've been trying to build bundles-kde-ssl from source for the last few days
and have been increasingly frustrated in my efforts. Each time I try, it
chokes at building libglade2.

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libglade\" -I..
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0
-I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/libxml2
-I/sw/include -DGLADE_LIBDIR=\"/sw/lib\" -DG_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -no-cpp-precomp
-I/sw/include -O3 -funroll-loops -fstrict-aliasing -Wall -std=c9x -c
glade-init.c  -fno-common -DPIC -o .libs/glade-init.o
In file included from /usr/X11R6/include/gtk/gtkentry.h:32,
                 from /usr/X11R6/include/gtk/gtkcolorsel.h:35,
                 from /usr/X11R6/include/gtk/gtk.h:48,
                 from glade-private.h:26,
                 from glade-init.c:34:
/usr/X11R6/include/gtk/gtkeditable.h:66: error: parse error before 'GdkIC'
/usr/X11R6/include/gtk/gtkeditable.h:66: warning: no semicolon at end of
struct or union
/usr/X11R6/include/gtk/gtkeditable.h:67: warning: type defaults to 'int' in
declaration of 'ic_attr'
/usr/X11R6/include/gtk/gtkeditable.h:67: warning: data definition has no
type or storage class
/usr/X11R6/include/gtk/gtkeditable.h:70: error: parse error before '}' token
In file included from /usr/X11R6/include/gtk/gtkcolorsel.h:35,
                 from /usr/X11R6/include/gtk/gtk.h:48,
                 from glade-private.h:26,
                 from glade-init.c:34:
/usr/X11R6/include/gtk/gtkentry.h:52: error: field 'editable' has incomplete
type
In file included from /usr/X11R6/include/gtk/gtk.h:119,
                 from glade-private.h:26,
                 from glade-init.c:34:
/usr/X11R6/include/gtk/gtktext.h:65: error: field 'editable' has incomplete
type
In file included from glade-init.c:34:
glade-private.h:81: error: parse error before 'AtkRelationSet'
glade-private.h:81: warning: no semicolon at end of struct or union
glade-private.h:81: warning: no semicolon at end of struct or union
glade-private.h:81: warning: no semicolon at end of struct or union
glade-private.h:82: warning: type defaults to 'int' in declaration of
'relation_type'
glade-private.h:82: warning: data definition has no type or storage class
glade-private.h:83: warning: type defaults to 'int' in declaration of 'rel'
glade-private.h:83: warning: data definition has no type or storage class
glade-private.h:84: error: parse error before '}' token
glade-private.h:84: warning: type defaults to 'int' in declaration of 'd'
glade-private.h:84: warning: data definition has no type or storage class
glade-private.h:85: error: parse error before '}' token
make[2]: *** [glade-init.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-libglade2-2.5.1-1003
(Reading database ... 74586 files and directories currently installed.)
Removing fink-buildlock-libglade2-2.5.1-1003 ...
Failed: phase compiling: libglade2-2.5.1-1003 failed

I've also had problems building gconf2 that looked somewhat similar.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -I/sw/include/libxml2
-I/sw/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
-I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2
-I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include
-I/sw/include/orbit-2.0   -DG_LOG_DOMAIN=\"GConf\" -DPREFIX=\""/sw"\"
-DGCONF_LOCALE_DIR=\""/sw//locale"\"
-DGCONF_SRCDIR=\""/sw/src/fink.build/gconf2-2.12.1-1/GConf-2.12.1"\"
-DGCONF_CONFDIR=\""/sw/etc/gconf/2"\" -DGCONF_ETCDIR=\""/sw/etc/gconf"\"
-DGCONF_BINDIR=\""/sw/bin"\" -DGCONF_SERVERDIR=\""/sw/lib/gconf2"\"
-DGCONF_BUILDDIR=\"".."\" -DGCONF_BACKEND_DIR=\""/sw/lib/GConf/2"\"
-DVERSION=\""2.12.1"\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\""gconfd-2"\"
-no-cpp-precomp -I/sw/include  -O3 -funroll-loops -fstrict-aliasing -Wall
-DG_DISABLE_CHECKS=1 -DG_DISABLE_ASSERT=1 -c `test -f 'gconf-sanity-check.c'
|| echo './'`gconf-sanity-check.c
In file included from /usr/X11R6/include/gtk/gtkentry.h:32,
                 from /usr/X11R6/include/gtk/gtkcolorsel.h:35,
                 from /usr/X11R6/include/gtk/gtk.h:48,
                 from gconf-sanity-check.c:25:
/usr/X11R6/include/gtk/gtkeditable.h:66: error: parse error before 'GdkIC'
/usr/X11R6/include/gtk/gtkeditable.h:66: warning: no semicolon at end of
struct or union
/usr/X11R6/include/gtk/gtkeditable.h:67: warning: type defaults to 'int' in
declaration of 'ic_attr'
/usr/X11R6/include/gtk/gtkeditable.h:67: warning: data definition has no
type or storage class
/usr/X11R6/include/gtk/gtkeditable.h:70: error: parse error before '}' token
In file included from /usr/X11R6/include/gtk/gtkcolorsel.h:35,
                 from /usr/X11R6/include/gtk/gtk.h:48,
                 from gconf-sanity-check.c:25:
/usr/X11R6/include/gtk/gtkentry.h:52: error: field 'editable' has incomplete
type
In file included from /usr/X11R6/include/gtk/gtk.h:119,
                 from gconf-sanity-check.c:25:
/usr/X11R6/include/gtk/gtktext.h:65: error: field 'editable' has incomplete
type
gconf-sanity-check.c: In function 'show_fatal_error_dialog':
gconf-sanity-check.c:303: warning: implicit declaration of function
'gtk_message_dialog_new'
gconf-sanity-check.c:304: error: 'GTK_MESSAGE_ERROR' undeclared (first use
in this function)
gconf-sanity-check.c:304: error: (Each undeclared identifier is reported
only once
gconf-sanity-check.c:304: error: for each function it appears in.)
gconf-sanity-check.c:305: error: 'GTK_BUTTONS_CLOSE' undeclared (first use
in this function)
gconf-sanity-check.c:306: warning: assignment makes pointer from integer
without a cast
gconf-sanity-check.c:310: warning: implicit declaration of function
'gtk_dialog_run'
gconf-sanity-check.c: In function 'offer_delete_locks':
gconf-sanity-check.c:338: error: 'GTK_MESSAGE_ERROR' undeclared (first use
in this function)
gconf-sanity-check.c:339: error: 'GTK_BUTTONS_NONE' undeclared (first use in
this function)
gconf-sanity-check.c:340: warning: assignment makes pointer from integer
without a cast
gconf-sanity-check.c:342: warning: implicit declaration of function
'gtk_dialog_add_buttons'
gconf-sanity-check.c:344: error: 'GTK_RESPONSE_REJECT' undeclared (first use
in this function)
gconf-sanity-check.c:346: error: 'GTK_RESPONSE_ACCEPT' undeclared (first use
in this function)
make[3]: *** [gconf-sanity-check.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-gconf2-2.12.1-1
(Reading database ... 67432 files and directories currently installed.)
Removing fink-buildlock-gconf2-2.12.1-1 ...
Failed: phase compiling: gconf2-2.12.1-1 failed

In any event, I've tried fink selfupdate after each failure. I've also
rebuilt both GTK+ and GTK2+, reinstalled fink a number of times and have
also reinstalled X11 and Xcode 2.3 for good measure. Basically, I've run
through the limited repertory of solutions that I am cognizant of and have
not been able to find much help in the list archives (when I've been able to
search them  that is. Getting access to them through gmane or sourceforge
has been really hit or miss for me). I'm running the latest versions of fink
for PPC on 10.4.6. 

One other thing I noticed that seemed kind of weird was that during its
configuration, libglade looked for GTK+

checking for GTK+ - version >= 2.5.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for
the
*** exact error that occured. This usually means GTK+ is incorrectly
installed.

Correct me if I'm wrong, but isn't the current GTK+ 1.2.10-51?

fink list -i gtk
Information about 5816 packages read in 8 seconds.
 i   gtk+             1.2.10-51    The Gimp Toolkit
 i   gtk+-data        1.2.10-51    The Gimp Toolkit
 i   gtk+-shlibs      1.2.10-51    The Gimp Toolkit
 i   gtk+2            2.6.10-1001  The Gimp Toolkit
 i   gtk+2-dev        2.6.10-1001  The Gimp Toolkit
 i   gtk+2-shlibs     2.6.10-1001  The Gimp Toolkit
 i   gtk-doc          1.6-1002     GTK+ - API documentation generator

Anyway, please pardon my ignorance and thanks in advance for your help.

Tom Pulhamus


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to