Re: Building problems on mac intel
> Hello, > > I am attempting to build gtk+ on the new macbook pro (mac os x 10.4.5 > intel). > Hi Lillian, I've committed the relevant fixes so everything should (hopefully) build now. Anders ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Building problems on mac intel
Lillian Angel skrev: I have, but i have run into more errors (see below). If anyone knows how to fix this new error, please let me know. It is definitely a GTK error though. Attached is patch for gdk/Makefile.am. Hopefully it will get committed to the gtk repo. I ran into the same problem yesterday, the patch works for me. /Richard -- Imendio AB, http://www.imendio.com/ ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: Building problems on mac intel
On Fri, 2006-03-24 at 21:25 +0100, Easy B wrote: > Hello Lillian > > > Hanging at the same errors here. Looks to me like gcc doesn't > understand Objective-C. But it totally should: > > > easyb$ gcc -v > Using built-in specs. > Target: powerpc-apple-darwin8 > Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure > --disable-checking --prefix=/usr --mandir=/share/man > --enable-languages=c,objc,c++,obj-c++ > --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ > --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ > --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 > --target=powerpc-apple-darwin8 > Thread model: posix > gcc version 4.0.0 (Apple Computer, Inc. build 5026) > > > Made any progress? > I have, but i have run into more errors (see below). If anyone knows how to fix this new error, please let me know. It is definitely a GTK error though. Attached is patch for gdk/Makefile.am. Hopefully it will get committed to the gtk repo. Please let me know how successful your build is. Lillian /bin/sh ../libtool --mode=link gcc -DG_DISABLE_DEPRECATED -g -O2 -g -Wall -flat_namespace -o gtk-query-immodules-2.0 queryimmodules.o libgtk-quartz-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-quartz-2.0.la gcc -DG_DISABLE_DEPRECATED -g -O2 -g -Wall -flat_namespace -o .libs/gtk-query-immodules-2.0 queryimmodules.o ./.libs/libgtk-quartz-2.0.dylib -L/Users/lillian/install/lib -L/Users/lillian/install//lib /Users/lillian/sources/gtk+/gdk/.libs/libgdk-quartz-2.0.dylib /Users/lillian/install/lib/libatk-1.0.dylib ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib ../gdk/.libs/libgdk-quartz-2.0.dylib /Users/lillian/install/lib/libpangocairo-1.0.dylib /Users/lillian/install/lib/libpango-1.0.dylib /Users/lillian/install/lib/libcairo.dylib /Users/lillian/sources/gtk+/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib /Users/lillian/install/lib/libgmodule-2.0.dylib /Users/lillian/install/lib/libgobject-2.0.dylib /Users/lillian/install/lib/libglib-2.0.dylib /Users/lillian/install/lib/libintl.dylib /usr/lib/libiconv.dylib -lc /usr/local/lib/libiconv.dylib -lpng12 -lz -lm /usr/bin/ld: warning multiple definitions of symbol _locale_charset /usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /Users/lillian/install/lib/libintl.dylib(localcharset.o) definition of _locale_charset /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used /usr/bin/ld: Undefined symbols: _gtk_drag_dest_set_track_motion symbol _locale_charset used from dynamic library /usr/lib/libiconv.dylib(localcharset.o) not from earlier dynamic library /Users/lillian/install/lib/libintl.3.dylib(localcharset.o) collect2: ld returned 1 exit status make[4]: *** [gtk-query-immodules-2.0] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 > > Or does anybody else feel like helping an ignorant Mac user? > > > Thanx in advance, > Ezra. > > > > Date: Tue, 21 Mar 2006 22:29:46 -0500 > > > > From: "Lillian Angel" <[EMAIL PROTECTED]> > > > > Subject: Re: Building problems on mac intel > > > > To: gtk-devel-list@gnome.org > > > > Message-ID: > > > > <[EMAIL PROTECTED]> > > > > Content-Type: text/plain; charset=ISO-8859-1 > > > > > > On 3/21/06, Lillian Angel <[EMAIL PROTECTED]> wrote: > > > > Hello again, > > > > > > > Below is the output of > > > > > > make (at the point where the error occurs). > > > > > > > > > I realized there is more errors. I am still not sure why there are > > > > happening. I added more to the output below. > > > > > > If anyone has any ideas, please let me know. > > > > Thanks again. > > > > > > > > > > Running make: > > > > > > [normal make output] > > > > > > > In file included from > > > > /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8, > > > > from > > > > /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8, > > > > from > > > > /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:28, > > > > from > > > > /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13, > > > > from gtkclipboard-quartz.c:26: > > > > /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:15: > > > > error: stray '@' in program > > > > /System/Library/Frameworks/AppKit.framework/
Re: Building problems on mac intel
On 3/21/06, Lillian Angel <[EMAIL PROTECTED]> wrote: Hello again, > Below is the output of > make (at the point where the error occurs). I realized there is more errors. I am still not sure why there are happening. I added more to the output below. If anyone has any ideas, please let me know. Thanks again. > > Running make: > [normal make output] In file included from /System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:8, from /System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8, from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:28, from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13, from gtkclipboard-quartz.c:26: /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:15: error: stray '@' in program /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:16: error: stray '@' in program /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:16: error: parse error before 'NSNotification' /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:17: error: stray '@' in program /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:17: error: parse error before 'NSToolbar' /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:89: error: stray '@' in program /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:89: error: parse error before 'NSWindowAuxiliary' /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:90: error: stray '@' in program /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:90: error: parse error before 'NSEvent' /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:91: error: stray '@' in program [more similar errors.] > In file included from ../gdk/gdkcolor.h:30, > from ../gdk/gdkcairo.h:23, > from ../gdk/gdk.h:30, > from ../gtk/gtkselection.h:31, > from gtkclipboard.h:25, > from gtkclipboard-quartz.c:28: > /Users/lillian/install/include/cairo/cairo.h:55: error: syntax error > before 'int' > In file included from gtkclipboard-quartz.c:36: > gtkquartz.h:29: error: parse error before '*' token > gtkquartz.h:29: warning: type defaults to 'int' in declaration of > '_gtk_quartz_target_list_to_pasteboard_types' > gtkquartz.h:29: warning: data definition has no type or storage class > gtkquartz.h:30: error: parse error before '*' token > gtkquartz.h:31: warning: type defaults to 'int' in declaration of > '_gtk_quartz_target_entries_to_pasteboard_types' > gtkquartz.h:31: warning: data definition has no type or storage class > gtkquartz.h:33: error: parse error before '*' token > gtkquartz.h:34: error: parse error before '*' token > gtkquartz.h:36: error: parse error before '*' token > gtkquartz.h:40: error: parse error before '*' token > gtkquartz.h:43: error: parse error before '*' token > gtkquartz.h:43: warning: type defaults to 'int' in declaration of > '_gtk_quartz_create_image_from_pixbuf' > gtkquartz.h:43: warning: data definition has no type or storage class > gtkclipboard-quartz.c:49: error: parse error before 'NSPasteboard' > gtkclipboard-quartz.c:49: warning: no semicolon at end of struct or union > gtkclipboard-quartz.c:70: error: parse error before '}' token > gtkclipboard-quartz.c:80: error: stray '@' in program > gtkclipboard-quartz.c:80: error: parse error before 'GtkClipboardOwner' > gtkclipboard-quartz.c:87: error: parse error before '}' token > gtkclipboard-quartz.c:89: error: stray '@' in program > gtkclipboard-quartz.c:91: error: stray '@' in program > gtkclipboard-quartz.c:106: error: parse error before '->' token > gtkclipboard-quartz.c:106: warning: type defaults to 'int' in > declaration of '_gtk_quartz_set_selection_data_for_pasteboard' > gtkclipboard-quartz.c:106: error: conflicting types for > '_gtk_quartz_set_selection_data_for_pasteboard' > gtkquartz.h:41: error: previous declaration of > '_gtk_quartz_set_selection_data_for_pasteboard' was here > gtkclipboard-quartz.c:106: warning: data definition has no type or storage > class > gtkclipboard-quartz.c:108: error: parse error before '.' token > gtkclipboard-quartz.c:108: warning: type defaults to 'int' in > declaration of 'g_free' > gtkclipboard-quartz.c:108: error: conflicting types for 'g_free' > /Users/lillian/install/include/glib-2.0/glib/gmem.h:51: error: > previous declaration of 'g_free' was here > gtkclipboard-quartz.c:108: warning: data definition has no type or storage > class > gtkclipboard-quartz.c:110: error: stray '@' in program > gtkclipboard-quartz.c:110: error: parse error before string constant > gtkclipboard-quartz.c:110: warning: type defaults to 'int' in > declaration of 'NSLog' > gtkclipboard-quartz.c:110: error: conflicting types for 'NSLog' > /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:68: > error: previous declaration of 'NSLog' was here > gtkclipboard-quartz.c:11
Building problems on mac intel
Hello, I am attempting to build gtk+ on the new macbook pro (mac os x 10.4.5 intel). I have used these instructions: http://developer.imendio.com/wiki/Gtk_Mac_OS_X/Build_Instructions I have successfully build all other packages, except gtk+. It configures fine, but when I run make.. it acts up. I have no idea why. I have gone through the steps several times. I am using a non-standard prefix (eg. /Users/lillian/install) and I have added it to my $PATH var. I am currently working on developing open source java, and it would be a great help if I could use my mac to do so. Below is the output of make (at the point where the error occurs). Thanks a lot, Lillian Angel Running make: [normal make output] [..] In file included from ../gdk/gdkcolor.h:30, from ../gdk/gdkcairo.h:23, from ../gdk/gdk.h:30, from ../gtk/gtkselection.h:31, from gtkclipboard.h:25, from gtkclipboard-quartz.c:28: /Users/lillian/install/include/cairo/cairo.h:55: error: syntax error before 'int' In file included from gtkclipboard-quartz.c:36: gtkquartz.h:29: error: parse error before '*' token gtkquartz.h:29: warning: type defaults to 'int' in declaration of '_gtk_quartz_target_list_to_pasteboard_types' gtkquartz.h:29: warning: data definition has no type or storage class gtkquartz.h:30: error: parse error before '*' token gtkquartz.h:31: warning: type defaults to 'int' in declaration of '_gtk_quartz_target_entries_to_pasteboard_types' gtkquartz.h:31: warning: data definition has no type or storage class gtkquartz.h:33: error: parse error before '*' token gtkquartz.h:34: error: parse error before '*' token gtkquartz.h:36: error: parse error before '*' token gtkquartz.h:40: error: parse error before '*' token gtkquartz.h:43: error: parse error before '*' token gtkquartz.h:43: warning: type defaults to 'int' in declaration of '_gtk_quartz_create_image_from_pixbuf' gtkquartz.h:43: warning: data definition has no type or storage class gtkclipboard-quartz.c:49: error: parse error before 'NSPasteboard' gtkclipboard-quartz.c:49: warning: no semicolon at end of struct or union gtkclipboard-quartz.c:70: error: parse error before '}' token gtkclipboard-quartz.c:80: error: stray '@' in program gtkclipboard-quartz.c:80: error: parse error before 'GtkClipboardOwner' gtkclipboard-quartz.c:87: error: parse error before '}' token gtkclipboard-quartz.c:89: error: stray '@' in program gtkclipboard-quartz.c:91: error: stray '@' in program gtkclipboard-quartz.c:106: error: parse error before '->' token gtkclipboard-quartz.c:106: warning: type defaults to 'int' in declaration of '_gtk_quartz_set_selection_data_for_pasteboard' gtkclipboard-quartz.c:106: error: conflicting types for '_gtk_quartz_set_selection_data_for_pasteboard' gtkquartz.h:41: error: previous declaration of '_gtk_quartz_set_selection_data_for_pasteboard' was here gtkclipboard-quartz.c:106: warning: data definition has no type or storage class gtkclipboard-quartz.c:108: error: parse error before '.' token gtkclipboard-quartz.c:108: warning: type defaults to 'int' in declaration of 'g_free' gtkclipboard-quartz.c:108: error: conflicting types for 'g_free' /Users/lillian/install/include/glib-2.0/glib/gmem.h:51: error: previous declaration of 'g_free' was here gtkclipboard-quartz.c:108: warning: data definition has no type or storage class gtkclipboard-quartz.c:110: error: stray '@' in program gtkclipboard-quartz.c:110: error: parse error before string constant gtkclipboard-quartz.c:110: warning: type defaults to 'int' in declaration of 'NSLog' gtkclipboard-quartz.c:110: error: conflicting types for 'NSLog' /System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:68: error: previous declaration of 'NSLog' was here gtkclipboard-quartz.c:110: warning: data definition has no type or storage class gtkclipboard-quartz.c:133: error: stray '@' in program gtkclipboard-quartz.c:135: error: syntax error before 'static' gtkclipboard-quartz.c: In function 'gtk_clipboard_get_type': gtkclipboard-quartz.c:166: error: invalid application of 'sizeof' to incomplete type 'GtkClipboard' gtkclipboard-quartz.c: In function 'gtk_clipboard_finalize': gtkclipboard-quartz.c:208: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c:214: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c:216: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c:218: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c:218: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c:219: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c:221: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c:222: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c:224: error: dereferencing pointer to incomplete type gtkclipboard-quartz.c: In function 'clipboard_owner_destroyed': gtkclipboard-quartz.c:327: err