Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
almost everything fails to compile?![solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
chris200x9
n00b
n00b


Joined: 31 Dec 2007
Posts: 65

PostPosted: Fri May 23, 2008 8:36 pm    Post subject: almost everything fails to compile?![solved] Reply with quote

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
View user's profile Send private message
weisso5
Apprentice
Apprentice


Joined: 07 Dec 2007
Posts: 268
Location: NYC

PostPosted: Fri May 23, 2008 8:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
chris200x9
n00b
n00b


Joined: 31 Dec 2007
Posts: 65

PostPosted: Fri May 23, 2008 11:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat May 24, 2008 1:01 am    Post subject: Re: almost everything fails to compile?! Reply with quote

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
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1285

PostPosted: Sat May 24, 2008 4:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
chris200x9
n00b
n00b


Joined: 31 Dec 2007
Posts: 65

PostPosted: Sat May 24, 2008 5:05 pm    Post subject: Reply with quote

I did this "emerge -1vat bar" and I still get this:

Code:

 * Please re-emerge x11-libs/cairo with the X USE flag set
 *
 * ERROR: x11-libs/gtk+-2.12.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *      gtk+-2.12.8.ebuild, line   55:  Called die
 * The specific snippet of code:
 *         die "cairo needs the X flag set"
 *  The die message:
 *   cairo needs the X flag set
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/die.env'.
 *
Back to top
View user's profile Send private message
Arrta
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 106

PostPosted: Sat May 24, 2008 5:12 pm    Post subject: Reply with quote

chris200x9 wrote:
I did this "emerge -1vat bar" and I still get this:

Code:

 * Please re-emerge x11-libs/cairo with the X USE flag set
 *
 * ERROR: x11-libs/gtk+-2.12.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *      gtk+-2.12.8.ebuild, line   55:  Called die
 * The specific snippet of code:
 *         die "cairo needs the X flag set"
 *  The die message:
 *   cairo needs the X flag set
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.12.8/temp/die.env'.
 *


Um your error tells you what to do..
emerge -1vat cairo
Back to top
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Sat May 24, 2008 5:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
chris200x9
n00b
n00b


Joined: 31 Dec 2007
Posts: 65

PostPosted: Sat May 24, 2008 6:20 pm    Post subject: Reply with quote

thank you guys or girls so much!
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1285

PostPosted: Sun May 25, 2008 9:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum