Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] problemi emerge
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
conoscenza
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2011
Posts: 105
Location: Spinazzola (bt) | Brescia | Parma

PostPosted: Mon Jan 09, 2012 9:25 pm    Post subject: [Risolto] problemi emerge Reply with quote

Ciao ragazzi,
ho un ulteriore problema!

se do emerge -DNu world ho un errore (riporto da dove inizia):
Quote:

checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/dev-libs/libevent-2.0.16/work/libevent-2.0.16-stable':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/libevent-2.0.16/work/libevent-2.0.16-stable/config.log
* ERROR: dev-libs/libevent-2.0.16 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 75: Called src_configure
* environment, line 2724: Called econf '--enable-static' '--enable-openssl'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =dev-libs/libevent-2.0.16',
* the complete build log and the output of 'emerge -pqv =dev-libs/libevent-2.0.16'.
* The complete build log is located at '/var/tmp/portage/dev-libs/libevent-2.0.16/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libevent-2.0.16/temp/environment'.
* S: '/var/tmp/portage/dev-libs/libevent-2.0.16/work/libevent-2.0.16-stable'

>>> Failed to emerge dev-libs/libevent-2.0.16, Log file:

>>> '/var/tmp/portage/dev-libs/libevent-2.0.16/temp/build.log'

* Messages for package dev-libs/libevent-2.0.16:

* ERROR: dev-libs/libevent-2.0.16 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 75: Called src_configure
* environment, line 2724: Called econf '--enable-static' '--enable-openssl'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =dev-libs/libevent-2.0.16',
* the complete build log and the output of 'emerge -pqv =dev-libs/libevent-2.0.16'.
* The complete build log is located at '/var/tmp/portage/dev-libs/libevent-2.0.16/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libevent-2.0.16/temp/environment'.
* S: '/var/tmp/portage/dev-libs/libevent-2.0.16/work/libevent-2.0.16-stable'


EDIT:
ho provato a compilare un:
Quote:

#include <stdio.h>
void main(){
printf("Hello world\n");
}



e poi ho dato:

Quote:
localhost Desktop # gcc test.c -o test
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'gcc'



che faccio?
non so come muovermi!

Quote:

localhost Desktop # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe -mssse3 -mfpmath=sse"
#CXXFLAGS="-march=native -O2 -pipe -mssse3 -mfpmath=sse"[/code]
CXXFLAGS="${CFLAGS}"
# 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="mmx sse sse2 sse3 ssse3 X Xaw3d a52 aac aalib alsa ao bash-completion bcmath gtk xorg glibc-omitfp mpi smp custom-cflags \
custom-optimization custom-cpuopts xvmc gtk extras audiofile cairo cdda cddb cdparanoia cdr cgi cracklib cdr css cups cxx dbus \
dga djvu dri gdu device-mapper gd posix disk-partition automount icu ntfs fat thunar gpm bluetooth gnome mysql sql webkit xulrunner \
kdrive dts dv dvb dvd dvdr eds encode evo exif axpat fastcgi ffmpeg fftw flac foomaticdb fortran gdbm policykit sqlite hddtemp gpm \
ggi gimp ginac gimp gnutls gphoto2 gps gsm gls graphviz gstreamer hal ieee1394 jbig jpeg jpeg2k lame twolame libv4l libv4l2 libgda lirc lzo matroska mng \
mp3 mp4 mpeg mtp mplayer musepack musicbrainz nas nptl openal ogg openexr openmp oss pch perl pda pcre pcntl pdf plasma posix png \
prelude ppds python pulseaudio qt4 raw scanner semantic-desktop shorten smartcard sndfile speex spell ssl svg svga tcl tk threads syslog \
subversion glib java mpi-threads fuse theora v4l v4l2 vcd win32codecs vorbis wapack wmf x264 xcb xft xine xpm xv xvid zlib optimized-qmake \
fontconfig imagemagick mjpeg floppy xrandr midi timidity curl libass libcaca vdr faac faad schroedinger glitz cleartype qt3support mono network \
static-libs opengl -mmxext -3dnow -3dnowext lm_sensors sip wav networkmanager laptop wicd dso php_targets_php5-2 embedded kde zip"
LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
INPUT_DEVICES="mouse keyboard evdev synaptics"
VIDEO_CARDS="vesa intel"
ACCEPT_LICENSE="@EULA"
EMERGE_DEFAULT_OPTS="--autounmask=n"


Risolto:

dando
Code:
gcc-config 1


Ora compila...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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