Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

gtk+ [error: conflicting types for 'Cursor' on emerge]

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


daniel.ibnzayd at inquisitor

Apr 23, 2012, 8:09 AM

Post #1 of 5 (376 views)
Permalink
gtk+ [error: conflicting types for 'Cursor' on emerge]

I've been waiting for pango 1.30 to become available and this morning on syncing noticed that everything was emerge-able (28 or so items), so I updated....last on that list were gtk+ and image magick.

Everything went fine until I got to gtk+; it's giving me the following error. I've tried looking up the error, and see something about conflicting X11 and Darwin....but I can't quite figure out how to go about fixing this from within portage....Any help is appreciated!

_______________

In file included from /opt/Gentoo/usr/include/X11/Xlib.h:44,
from ../gdk/x11/gdkx.h:30,
from gtkapplication.c:48:
/opt/Gentoo/usr/include/X11/X.h:103: error: conflicting types for 'Cursor'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:278: error: previous declaration of 'Cursor' was here
gtkapplication.c: In function 'gtk_application_startup_quartz':
gtkapplication.c:376: error: expected expression before '[' token
make[4]: *** [libgtk_3_la-gtkapplication.lo] Error 1
make[4]: Leaving directory `/opt/Gentoo/var/tmp/portage/x11-libs/gtk+-3.4.1/work/gtk+-3.4.1/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/Gentoo/var/tmp/portage/x11-libs/gtk+-3.4.1/work/gtk+-3.4.1/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/Gentoo/var/tmp/portage/x11-libs/gtk+-3.4.1/work/gtk+-3.4.1/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/Gentoo/var/tmp/portage/x11-libs/gtk+-3.4.1/work/gtk+-3.4.1'
make: *** [all] Error 2
* ERROR: x11-libs/gtk+-3.4.1 failed (compile phase):
* emake failed

_______________


Below is my emerge info file:

danielibnzayd [at] DI ~ $ emerge --info =x11-libs/gtk+-3.4.1
Portage 2.2.01.20389-prefix (prefix/darwin/macos/10.4/ppc, gcc-4.2.1, unavailable, 8.11.0 Power Macintosh)
=================================================================
System Settings
=================================================================
System uname: Darwin-8.11.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Mon, 23 Apr 2012 06:21:05 +0000
distcc 2.18.4-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash: 4.2_p20::gentoo_prefix
dev-lang/python: 2.7.2-r3::gentoo_prefix
dev-util/pkgconfig: 0.26::gentoo_prefix
sys-devel/autoconf: 2.68::gentoo_prefix
sys-devel/automake: 1.11.5::gentoo_prefix
sys-devel/gcc-config: 1.5-r2::gentoo_prefix
sys-devel/libtool: 2.4.2::gentoo_prefix
sys-devel/make: 3.82::gentoo_prefix
Repositories: gentoo_prefix
Installed sets:
ACCEPT_KEYWORDS="~ppc-macos"
ACCEPT_LICENSE="* - [at] EUL"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-mcpu=G4 -O2 -mtune=G4 -pipe"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=G4 -O2 -mtune=G4 -pipe"
DISTDIR="/opt/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-dead_strip_dylibs"
PKGDIR="/opt/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/opt/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/opt/Gentoo/var/tmp"
PORTDIR="/opt/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X animgif aqua blksha1 bzip2 coreaudio corefonts cracklib cramfs curl cxx djvu fftw fontconfig gif git glib graphviz gs gtk hdri hpn jbig jit jpeg jpeg2k lcms lzma modules ncurses net objc objc++ openmp pango perl png ppc-macos prefix readline recursion-limit ssl svg tiff truetype wmf xml xpm zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin
garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


w41ter at gmail

Apr 23, 2012, 9:46 AM

Post #2 of 5 (334 views)
Permalink
Re: gtk+ [error: conflicting types for 'Cursor' on emerge] [In reply to]

On 04/23/2012 08:09 AM, Daniel Ibn Zayd wrote:
> I've been waiting for pango 1.30 to become available and this morning
> on syncing noticed that everything was emerge-able (28 or so items),
> so I updated....last on that list were gtk+ and image magick.
>
> Everything went fine until I got to gtk+; it's giving me the
> following error. I've tried looking up the error, and see something
> about conflicting X11 and Darwin....but I can't quite figure out how
> to go about fixing this from within portage....Any help is
> appreciated!
>
> _______________
>
> In file included from /opt/Gentoo/usr/include/X11/Xlib.h:44, from
> ../gdk/x11/gdkx.h:30, from gtkapplication.c:48:
> /opt/Gentoo/usr/include/X11/X.h:103: error: conflicting types for
> 'Cursor'
> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:278:
> error: previous declaration of 'Cursor' was here gtkapplication.c: In
> function 'gtk_application_startup_quartz':

I know nothing about Darwin, so I'm asking instead of answering :)

It appears that you are installing gentoo as a virtual machine to be
run from inside of Darwin, is that how it works?


daniel.ibnzayd at inquisitor

Apr 24, 2012, 5:48 AM

Post #3 of 5 (328 views)
Permalink
Re: Re: gtk+ [error: conflicting types for 'Cursor' on emerge] [In reply to]

> On Mon, 23 Apr 2012 09:46:31 -0700, walt wrote:
>> On 04/23/2012 08:09 AM, Daniel Ibn Zayd wrote:
>>> I've been waiting for pango 1.30 to become available and this morning
>>> on syncing noticed that everything was emerge-able (28 or so items),
>>> so I updated....last on that list were gtk+ and image magick.
>>>
>>> Everything went fine until I got to gtk+; it's giving me the
>>> following error. I've tried looking up the error, and see something
>>> about conflicting X11 and Darwin....but I can't quite figure out how
>>> to go about fixing this from within portage....Any help is
>>> appreciated!
>>>
>>> _______________
>>>
>>> In file included from /opt/Gentoo/usr/include/X11/Xlib.h:44, from
>>> ../gdk/x11/gdkx.h:30, from gtkapplication.c:48:
>>> /opt/Gentoo/usr/include/X11/X.h:103: error: conflicting types for
>>> 'Cursor'
>>> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:278:
>>> error: previous declaration of 'Cursor' was here gtkapplication.c: In
>>> function 'gtk_application_startup_quartz':
>>
>> I know nothing about Darwin, so I'm asking instead of answering :)
>>
>> It appears that you are installing gentoo as a virtual machine to be
>> run from inside of Darwin, is that how it works?
>>
>>


Yes, more like its own shell/compiler environment. I tried both fink and macports to deal with packages on some old Macs; the problem with fink (which I had no real problem with otherwise) is that it wasn't obvious how to keep packages separate from the System stuff (like the System Perl), so I had a nightmare dealing with a different Perl version, plus CPAN, plus fink, and they didn't want to get along so well; macports did crazy stuff like make itself owner of apps and member of groups; again, a serious problem with boundaries. Gentoo took a while to get installed, but I'm really happy that everything is living in its own space....it comes with its own shell and basic apps and Perl and and and....so I don't have to worry that I'm going to mess up my basic OSX system.


w41ter at gmail

Apr 24, 2012, 2:42 PM

Post #4 of 5 (324 views)
Permalink
Re: gtk+ [error: conflicting types for 'Cursor' on emerge] [In reply to]

On 04/24/2012 05:48 AM, Daniel Ibn Zayd wrote:
>> On Mon, 23 Apr 2012 09:46:31 -0700, walt wrote:
>>>
>>> It appears that you are installing gentoo as a virtual machine to
>>> be run from inside of Darwin, is that how it works?

>
> Yes, more like its own shell/compiler environment. I tried both fink
> and macports to deal with packages on some old Macs; the problem with
> fink (which I had no real problem with otherwise) is that it wasn't
> obvious how to keep packages separate from the System stuff (like the
> System Perl), so I had a nightmare dealing with a different Perl
> version, plus CPAN, plus fink, and they didn't want to get along so
> well; macports did crazy stuff like make itself owner of apps and
> member of groups; again, a serious problem with boundaries. Gentoo
> took a while to get installed, but I'm really happy that everything
> is living in its own space....it comes with its own shell and basic
> apps and Perl and and and....so I don't have to worry that I'm going
> to mess up my basic OSX system.

Sounds like you understand the problems better than I do. Assuming
you have a newer Intel-based machine, *I* would say install gentoo as
the host OS and run OSX as a VirtualBox guest. I might even be able to
help you do it that way ;)


daniel.ibnzayd at inquisitor

Apr 27, 2012, 7:25 AM

Post #5 of 5 (342 views)
Permalink
Re: Re: gtk+ [error: conflicting types for 'Cursor' on emerge] [In reply to]

I kind of prefer that the dominant OS if you will be Mac....

Here's something else. The error message starts here:

In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from gtkapplication.c:41:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:60: error: stray '@' in program


and then there are lines and lines of this:

/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:97: error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:98: error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:99: error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:100: error: expected identifier or '(' before '-' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:102: error: expected identifier or '(' before '+' token
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:105: error: expected identifier or '(' before '+' token

and then the final error message that I posted before.


Anyone??





On Tue, 24 Apr 2012 14:42:56 -0700, walt wrote:
> On 04/24/2012 05:48 AM, Daniel Ibn Zayd wrote:
>>> On Mon, 23 Apr 2012 09:46:31 -0700, walt wrote:
>>>>
>>>> It appears that you are installing gentoo as a virtual machine to
>>>> be run from inside of Darwin, is that how it works?
>
>>
>> Yes, more like its own shell/compiler environment. I tried both fink
>> and macports to deal with packages on some old Macs; the problem with
>> fink (which I had no real problem with otherwise) is that it wasn't
>> obvious how to keep packages separate from the System stuff (like the
>> System Perl), so I had a nightmare dealing with a different Perl
>> version, plus CPAN, plus fink, and they didn't want to get along so
>> well; macports did crazy stuff like make itself owner of apps and
>> member of groups; again, a serious problem with boundaries. Gentoo
>> took a while to get installed, but I'm really happy that everything
>> is living in its own space....it comes with its own shell and basic
>> apps and Perl and and and....so I don't have to worry that I'm going
>> to mess up my basic OSX system.
>
> Sounds like you understand the problems better than I do. Assuming
> you have a newer Intel-based machine, *I* would say install gentoo as
> the host OS and run OSX as a VirtualBox guest. I might even be able to
> help you do it that way ;)
>
>

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.