View previous topic :: View next topic |
Author |
Message |
chris200x9 n00b
Joined: 31 Dec 2007 Posts: 65
|
Posted: Fri May 23, 2008 8:36 pm Post subject: almost everything fails to compile?![solved] |
|
|
Hi everytime I try to compile I get the message message I need X in my use flags, but it IS there! This is very frustrating any help would be much appreciated.
Last edited by chris200x9 on Thu Jun 05, 2008 1:20 am; edited 1 time in total |
|
Back to top |
|
|
weisso5 Apprentice
Joined: 07 Dec 2007 Posts: 268 Location: NYC
|
Posted: Fri May 23, 2008 8:46 pm Post subject: |
|
|
Hello,
You need to be more provide more information, like exact errors, emerge --info, logs, etc... It's had to determine the root of problems with vague information.
Thanks,
weisso |
|
Back to top |
|
|
chris200x9 n00b
Joined: 31 Dec 2007 Posts: 65
|
Posted: Fri May 23, 2008 11:26 pm Post subject: |
|
|
my /etc/make.conf Code: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="keyboard mouse"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="X -qt3 -qt4 -arts -kde xvid cairo tiff wavpack gtk ipod java mpeg pdf png wxwindows aac ogg mp3 jpeg x264 alsa esd static truetype ieee1394 css opengl mmx sse sse2"
|
and output of emerge --info Code: | Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Fri, 23 May 2008 15:10:08 +0000
app-shells/bash: 3.2_p17-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb bzip2 cairo cli cracklib crypt css cups dri esd fortran gdbm gpm gtk iconv ieee1394 ipod ipv6 isdnlog java jpeg midi mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png pppd python readline reflection session spl sse sse2 ssl static tcpd tiff truetype unicode wavpack wxwindows x264 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat May 24, 2008 1:01 am Post subject: Re: almost everything fails to compile?! |
|
|
chris200x9 wrote: | everytime I try to compile I get the message message I need X in my use flags |
Since all USE flags are optional (yes, even the X USE flag), you are probably getting an error message that is somewhat different than the one you posted. |
|
Back to top |
|
|
AllenJB Veteran
Joined: 02 Sep 2005 Posts: 1285
|
Posted: Sat May 24, 2008 4:20 pm Post subject: |
|
|
USE flags do enable optional features, but some packages depend on others having certain features. The messages is most likely telling you that the package you're trying to install (foo) needs another package (bar) with the X USE flag enabled.
USE flag changes are not applied until a package is compiled, so to fix the problem you now need to "emerge -1vat bar"
Side note: -1 tells portage not to add the package to the list of installed packages, which is safe in this case because foo depends on bar |
|
Back to top |
|
|
chris200x9 n00b
Joined: 31 Dec 2007 Posts: 65
|
Posted: Sat May 24, 2008 5:05 pm Post subject: |
|
|
I did this "emerge -1vat bar" and I still get this:
Code: |
[31;01m*[0m Please re-emerge x11-libs/cairo with the X USE flag set
[31;01m*[0m
[31;01m*[0m ERROR: x11-libs/gtk+-2.12.8 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called pkg_setup
[31;01m*[0m gtk+-2.12.8.ebuild, line 55: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m die "cairo needs the X flag set"
[31;01m*[0m The die message:
[31;01m*[0m cairo needs the X flag set
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/die.env'.
[31;01m*[0m
|
|
|
Back to top |
|
|
Arrta Tux's lil' helper
Joined: 09 Nov 2003 Posts: 106
|
Posted: Sat May 24, 2008 5:12 pm Post subject: |
|
|
chris200x9 wrote: | I did this "emerge -1vat bar" and I still get this:
Code: |
[31;01m*[0m Please re-emerge x11-libs/cairo with the X USE flag set
[31;01m*[0m
[31;01m*[0m ERROR: x11-libs/gtk+-2.12.8 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called pkg_setup
[31;01m*[0m gtk+-2.12.8.ebuild, line 55: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m die "cairo needs the X flag set"
[31;01m*[0m The die message:
[31;01m*[0m cairo needs the X flag set
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/die.env'.
[31;01m*[0m
|
|
Um your error tells you what to do..
emerge -1vat cairo |
|
Back to top |
|
|
spindle Apprentice
Joined: 01 Dec 2003 Posts: 245
|
Posted: Sat May 24, 2008 5:21 pm Post subject: |
|
|
You also may need to rebuild some other packages with the X USE flag. I'd do a,
Code: | emerge -auvDN world |
The -N flag is the important one here. |
|
Back to top |
|
|
chris200x9 n00b
Joined: 31 Dec 2007 Posts: 65
|
Posted: Sat May 24, 2008 6:20 pm Post subject: |
|
|
thank you guys or girls so much! |
|
Back to top |
|
|
AllenJB Veteran
Joined: 02 Sep 2005 Posts: 1285
|
Posted: Sun May 25, 2008 9:26 am Post subject: |
|
|
Tip of the day: Don't skim-read posts - you may miss something important.
What do you know, there's a package called bar in portage:
* sys-apps/bar
Available versions: *1.10.2 1.10.3
Homepage: http://clpbar.sourceforge.net/
Description: Console Progress Bar
You can unmerge that if you want (foo, bar, etc are often used as example names) |
|
Back to top |
|
|
|