Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] problem with C compiler?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
15 posts • Page 1 of 1
Author
Message
lordalbert
l33t
l33t
User avatar
Posts: 840
Joined: Sun Nov 26, 2006 4:21 pm
Location: Italy

[SOLVED] problem with C compiler?

  • Quote

Post by lordalbert » Tue Oct 06, 2015 9:05 pm

Hi. I have problems compiling a lot of packages. I post the output of one package, the others is the same :)
# emerge gutenprint wrote: # emerge gutenprint
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-print/gutenprint-5.2.9::gentoo
* gutenprint-5.2.9.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking gutenprint-5.2.9.tar.bz2 to /var/tmp/portage/net-print/gutenprint-5.2.9/work
>>> Source unpacked in /var/tmp/portage/net-print/gutenprint-5.2.9/work
>>> Preparing source in /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9 ...
* Applying gutenprint-5.2.4-CFLAGS.patch ... [ ok ]
* Applying gutenprint-5.2.8-genppd.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9' ...
* Running autopoint --force ... [ ok ]
* Running libtoolize --install --copy --force --automake ... [ ok ]
* Running aclocal -I m4 -I m4extra ... [ ok ]
* Running autoconf --force ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy --force-missing ... [ ok ]
* Running elibtoolize in: gutenprint-5.2.9/
* Running elibtoolize in: gutenprint-5.2.9/scripts/
* Applying portage/1.2.0 patch ...
* Applying sed/1.5.6 patch ...
* Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9 ...
* econf: updating gutenprint-5.2.9/scripts/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating gutenprint-5.2.9/scripts/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --enable-test --with-ghostscript --disable-translated-cups-ppds --disable-libgutenprintui2 --without-gimp2 --without-gimp2-as-gutenprint --with-cups --disable-nls --without-readline --disable-static --enable-cups-ppds --enable-cups-level3-ppds --without-foomatic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '250' is supported by ustar format... yes
checking whether GID '250' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/config.log
* ERROR: net-print/gutenprint-5.2.9::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2678: Called econf '--enable-test' '--with-ghostscript' '--disable-translated-cups-ppds' '--disable-libgutenprintui2' '--without-gimp2' '--without-gimp2-as-gutenprint' '--with-cups' '--disable-nls' '--without-readline' '--disable-static' '--enable-cups-ppds' '--enable-cups-level3-ppds' '--without-foomatic'
* phase-helpers.sh, line 662: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 117: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=net-print/gutenprint-5.2.9::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-print/gutenprint-5.2.9::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-print/gutenprint-5.2.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-print/gutenprint-5.2.9/temp/environment'.
* Working directory: '/var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9'
* S: '/var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9'

>>> Failed to emerge net-print/gutenprint-5.2.9, Log file:

>>> '/var/tmp/portage/net-print/gutenprint-5.2.9/temp/build.log'

* Messages for package net-print/gutenprint-5.2.9:

* ERROR: net-print/gutenprint-5.2.9::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 93: Called src_configure
* environment, line 2678: Called econf '--enable-test' '--with-ghostscript' '--disable-translated-cups-ppds' '--disable-libgutenprintui2' '--without-gimp2' '--without-gimp2-as-gutenprint' '--with-cups' '--disable-nls' '--without-readline' '--disable-static' '--enable-cups-ppds' '--enable-cups-level3-ppds' '--without-foomatic'
* phase-helpers.sh, line 662: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 117: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=net-print/gutenprint-5.2.9::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-print/gutenprint-5.2.9::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-print/gutenprint-5.2.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-print/gutenprint-5.2.9/temp/environment'.
* Working directory: '/var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9'
* S: '/var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9'
# cat /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/config.log wrote: # cat /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by gutenprint configure 5.2.9, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --enable-test --with-ghostscript --disable-translated-cups-ppds --disable-libgutenprintui2 --without-gimp2 --without-gimp2-as-gutenprint --with-cups --disable-nls --without-readline --disable-static --enable-cups-ppds --enable-cups-level3-ppds --without-foomatic

## --------- ##
## Platform. ##
## --------- ##

hostname = swing
uname -m = x86_64
uname -r = 4.0.5-gentoo
uname -s = Linux
uname -v = #3 SMP Tue Aug 11 00:33:30 CEST 2015

/usr/bin/uname -p = Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/lib/portage/python2.7/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2644: checking for a BSD-compatible install
configure:2712: result: /usr/bin/install -c
configure:2723: checking whether build environment is sane
configure:2778: result: yes
configure:2929: checking for a thread-safe mkdir -p
configure:2968: result: /bin/mkdir -p
configure:2975: checking for gawk
configure:2991: found /usr/bin/gawk
configure:3002: result: gawk
configure:3013: checking whether make sets $(MAKE)
configure:3035: result: yes
configure:3064: checking whether make supports nested variables
configure:3081: result: yes
configure:3170: checking whether UID '250' is supported by ustar format
configure:3173: result: yes
configure:3180: checking whether GID '250' is supported by ustar format
configure:3183: result: yes
configure:3191: checking how to create a ustar tar archive
configure:3202: tar --version
tar (GNU tar) 1.27.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:3205: $? = 0
configure:3245: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3248: $? = 0
configure:3252: tar -xf - <conftest.tar
configure:3255: $? = 0
configure:3257: cat conftest.dir/file
GrepMe
configure:3260: $? = 0
configure:3273: result: gnutar
configure:3408: checking build system type
configure:3422: result: x86_64-pc-linux-gnu
configure:3442: checking host system type
configure:3455: result: x86_64-pc-linux-gnu
configure:3496: checking how to print strings
configure:3523: result: printf
configure:3556: checking for style of include used by make
configure:3584: result: GNU
configure:3615: checking for x86_64-pc-linux-gnu-gcc
configure:3631: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:3642: result: x86_64-pc-linux-gnu-gcc
configure:3911: checking for C compiler version
configure:3920: x86_64-pc-linux-gnu-gcc --version >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:3931: $? = 1
configure:3920: x86_64-pc-linux-gnu-gcc -v >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:3931: $? = 1
configure:3920: x86_64-pc-linux-gnu-gcc -V >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:3931: $? = 1
configure:3920: x86_64-pc-linux-gnu-gcc -qversion >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:3931: $? = 1
configure:3951: checking whether the C compiler works
configure:3973: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed conftest.c >&5
* gcc-config: Active gcc profile is invalid!
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:3977: $? = 1
configure:4015: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gutenprint"
| #define PACKAGE_TARNAME "gutenprint"
| #define PACKAGE_VERSION "5.2.9"
| #define PACKAGE_STRING "gutenprint 5.2.9"
| #define PACKAGE_BUGREPORT "gimp-print-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "gutenprint"
| #define VERSION "5.2.9"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4020: error: in `/var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9':
configure:4022: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_GIMP2_CFLAGS_set=
ac_cv_env_GIMP2_CFLAGS_value=
ac_cv_env_GIMP2_LIBS_set=
ac_cv_env_GIMP2_LIBS_value=
ac_cv_env_GTK2_CFLAGS_set=
ac_cv_env_GTK2_CFLAGS_value=
ac_cv_env_GTK2_LIBS_set=
ac_cv_env_GTK2_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
am_cv_prog_tar_ustar=gnutar

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/scripts/missing aclocal-1.15'
ALL_LINGUAS='cs da de el en_GB es fi fr gl hu it ja nb nl pl pt ru sk sl sv uk zh_CN zh_TW'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/scripts/missing autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/scripts/missing autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/scripts/missing automake-1.15'
AWK='gawk'
BUILD_CUPS_1_2_FALSE=''
BUILD_CUPS_1_2_TRUE=''
BUILD_CUPS_FALSE=''
BUILD_CUPS_PPDS=''
BUILD_CUPS_PPDS_FALSE=''
BUILD_CUPS_PPDS_TRUE=''
BUILD_CUPS_TRUE=''
BUILD_DOC_FALSE=''
BUILD_DOC_TRUE=''
BUILD_ESCPUTIL_FALSE=''
BUILD_ESCPUTIL_TRUE=''
BUILD_FOOMATIC_3_FALSE=''
BUILD_FOOMATIC_3_TRUE=''
BUILD_FOOMATIC_FALSE=''
BUILD_FOOMATIC_TRUE=''
BUILD_GENPPD_STATIC_FALSE=''
BUILD_GENPPD_STATIC_TRUE=''
BUILD_GHOSTSCRIPT_FALSE=''
BUILD_GHOSTSCRIPT_TRUE=''
BUILD_GIMP2_AS_GUTENPRINT_FALSE=''
BUILD_GIMP2_AS_GUTENPRINT_TRUE=''
BUILD_GIMP2_FALSE=''
BUILD_GIMP2_TRUE=''
BUILD_GLOBALIZED_CUPS_PPDS_FALSE=''
BUILD_GLOBALIZED_CUPS_PPDS_TRUE=''
BUILD_LIBGUTENPRINTUI2_FALSE=''
BUILD_LIBGUTENPRINTUI2_TRUE=''
BUILD_MODULES_FALSE=''
BUILD_MODULES_TRUE=''
BUILD_SIMPLIFIED_CUPS_PPDS_FALSE=''
BUILD_SIMPLIFIED_CUPS_PPDS_TRUE=''
BUILD_TESTPATTERN_FALSE=''
BUILD_TESTPATTERN_TRUE=''
BUILD_TEST_FALSE=''
BUILD_TEST_TRUE=''
BUILD_TRANSLATED_CUPS_PPDS_FALSE=''
BUILD_TRANSLATED_CUPS_PPDS_TRUE=''
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=native -O2 -pipe'
CONVERT=''
CPP=''
CPPFLAGS=''
CUPS_CFLAGS=''
CUPS_CONFIG=''
CUPS_LIBS=''
CUPS_PPDS_AT_TOP_LEVEL_FALSE=''
CUPS_PPDS_AT_TOP_LEVEL_TRUE=''
CUPS_PPD_PS_LEVEL=''
CYGPATH_W='echo'
DB2HTML=''
DB2PDF=''
DB2PS=''
DEFS=''
DEPDIR='.deps'
DIALOG=''
DLLTOOL=''
DOXYGEN=''
DSYMUTIL=''
DUMPBIN=''
DVIPDF=''
DVIPS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
FIND=''
FOOMATIC_CONFIGURE=''
FOOMATIC_KITLOAD=''
FOOMATIC_PPDFILE=''
GENPPD_LIBS=''
GIMP2_CFLAGS=''
GIMP2_LIBS=''
GIMPTOOL2_CHECK=''
GLIB_MKENUMS=''
GMSGFMT=''
GMSGFMT_015=''
GNUCFLAGS=''
GREP=''
GTK2_CFLAGS=''
GTK2_LIBS=''
GUTENPRINTUI2_BINARY_AGE='0'
GUTENPRINTUI2_CFLAGS=''
GUTENPRINTUI2_CURRENT_INTERFACE='1'
GUTENPRINTUI2_INTERFACE_AGE='0'
GUTENPRINTUI2_LIBDEPS=' $(GUTENPRINT_LIBS)'
GUTENPRINTUI2_LIBS='-lgutenprintui2'
GUTENPRINTUI2_VERSION=''
GUTENPRINT_BINARY_AGE='1'
GUTENPRINT_CFLAGS=''
GUTENPRINT_CURRENT_INTERFACE='3'
GUTENPRINT_INTERFACE_AGE='0'
GUTENPRINT_LIBDEPS=''
GUTENPRINT_LIBS='-lgutenprint'
GUTENPRINT_MAJOR_VERSION='5'
GUTENPRINT_MICRO_VERSION='9'
GUTENPRINT_MINOR_VERSION='2'
GUTENPRINT_VERSION='5.2.9'
IJS_CFLAGS=''
IJS_CONFIG=''
IJS_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SAMPLES_FALSE=''
INSTALL_SAMPLES_TRUE=''
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTALL_USER_GUIDE_FALSE=''
INSTALL_USER_GUIDE_TRUE=''
INTLLIBS=''
INTL_MACOSX_LIBS=''
LD=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBICONV=''
LIBINTL=''
LIBM=''
LIBOBJS=''
LIBREADLINE_DEPS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIPO=''
LN_S=''
LTALLOCA=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_CFLAGS=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/scripts/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='gutenprint'
PACKAGE_BUGREPORT='gimp-print-devel@lists.sourceforge.net'
PACKAGE_NAME='gutenprint'
PACKAGE_STRING='gutenprint 5.2.9'
PACKAGE_TARNAME='gutenprint'
PACKAGE_URL=''
PACKAGE_VERSION='5.2.9'
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
PLUG_IN_PATH=''
POSUB=''
RANLIB=''
RELEASE_DATE=''
RM=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TEST=''
TEXI2HTML=''
TRUE=''
USE_LEVEL3_PS_FALSE=''
USE_LEVEL3_PS_TRUE=''
USE_NLS=''
USE_NLS_FALSE=''
USE_NLS_TRUE=''
VERSION='5.2.9'
WHICH_PPDS=''
XGETTEXT=''
XGETTEXT_015=''
YACC=''
YFLAGS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
cups_bindir=''
cups_conf_datadir=''
cups_conf_serverbin=''
cups_conf_serverroot=''
cups_exec_prefix=''
cups_prefix=''
cups_sbindir=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
gimp2_plug_indir=''
gutenprint_cflags=''
gutenprint_libdeps=''
gutenprint_libs=''
gutenprintui2_cflags=''
gutenprintui2_libdeps=''
gutenprintui2_libs=''
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='${SHELL} /var/tmp/portage/net-print/gutenprint-5.2.9/work/gutenprint-5.2.9/scripts/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "gutenprint"
#define PACKAGE_TARNAME "gutenprint"
#define PACKAGE_VERSION "5.2.9"
#define PACKAGE_STRING "gutenprint 5.2.9"
#define PACKAGE_BUGREPORT "gimp-print-devel@lists.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "gutenprint"
#define VERSION "5.2.9"

configure: exit 77
#emerge --info wrote: # emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.2.20.1 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, [unavailable], glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.2
KiB Mem: 4046296 total, 1561844 free
KiB Swap: 4095996 total, 4095996 free
Timestamp of repository gentoo: Sat, 03 Oct 2015 15:30:01 +0000
sh bash 4.3_p39
ld ld di GNU (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p39::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake: 3.3.1-r1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.17::gentoo
sys-apps/sandbox: 2.6-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 4.9.3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc: 2.20-r2::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau" XFCE_PLUGINS="clock" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
eix gcc wrote: ...

sys-devel/gcc
Available versions:
(2.95.3) ~*2.95.3-r10^s
(3.3.6) ~3.3.6-r1^s
(3.4.6) 3.4.6-r2^s
(4.0.4) **4.0.4^s
(4.1.2) 4.1.2^s
(4.2.4) ~4.2.4-r1^s
(4.3.6) 4.3.6-r1^s
(4.4.7) 4.4.7^s
(4.5.4) 4.5.4^s
(4.6.4) 4.6.4^s
(4.7) 4.7.4^s
(4.8) ~4.8.0^s ~4.8.1-r1^s ~4.8.2^s 4.8.3^s 4.8.4^s 4.8.5^s
(4.9) ~*4.9.0^s ~*4.9.1^s ~4.9.2^s 4.9.3^s
(5) **5.1.0^s **5.2.0^s
{altivec awt boundschecking cilk +cxx d debug doc fixed-point +fortran gcj go graphite hardened libssp mudflap multilib multislot +nls nopie nossp +nptl objc objc++ objc-gc +openmp regression-test +sanitize vanilla}
Installed versions: 4.9.3(4.9)^s(19:06:14 03/10/2015)(cxx fortran multilib nls nptl openmp sanitize -altivec -awt -cilk -debug -doc -fixed-point -gcj -go -graphite -hardened -libssp -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla)
Homepage: https://gcc.gnu.org/
Description: The GNU Compiler Collection


sys-devel/gcc-config
Available versions: 1.4.1-r1 ~1.5-r1 1.5-r2 ~1.5.1 ~1.5.1-r1 1.6 ~1.7 ~1.7.1 ~1.7.2 1.7.3 ~1.8 [M]~1.8-r1
Installed versions: 1.7.3(04:59:30 28/05/2015)
Homepage: https://gitweb.gentoo.org/proj/gcc-config.git/
Description: utility to manage compilers

...



seem like it doesn't find gcc, but it is installed. Any idea?
Last edited by lordalbert on Tue Oct 06, 2015 9:42 pm, edited 1 time in total.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Tue Oct 06, 2015 9:12 pm

Report the output of

Code: Select all

gcc-config -l
please.

That's a dash ell, not a dash wun. ;)

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
lordalbert
l33t
l33t
User avatar
Posts: 840
Joined: Sun Nov 26, 2006 4:21 pm
Location: Italy

  • Quote

Post by lordalbert » Tue Oct 06, 2015 9:14 pm

# gcc-config -l wrote: # gcc-config -l
* gcc-config: Active gcc profile is invalid!

[1] x86_64-pc-linux-gnu-4.9.3
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

Re: problem with C compiler?

  • Quote

Post by krinn » Tue Oct 06, 2015 9:14 pm

lordalbert wrote:seem like it doesn't find gcc, but it is installed. Any idea?
Better than an idea, a clue...
* gcc-config: Active gcc profile is invalid!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Oct 06, 2015 9:15 pm

John R. Graham

heh, dash wun will probably fix it :)
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
lordalbert
l33t
l33t
User avatar
Posts: 840
Joined: Sun Nov 26, 2006 4:21 pm
Location: Italy

Re: problem with C compiler?

  • Quote

Post by lordalbert » Tue Oct 06, 2015 9:16 pm

krinn wrote:
lordalbert wrote:seem like it doesn't find gcc, but it is installed. Any idea?
Better than an idea, a clue...
* gcc-config: Active gcc profile is invalid!
i don't touch gcc profile... and i don't know anything about it! :lol: 8O
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Tue Oct 06, 2015 9:19 pm

As usual, NeddySeagoon is right. :)

Try:

Code: Select all

gcc-config 1
source /etc/profile
(that's a wun) and then retry your emerge.

- John
Last edited by John R. Graham on Tue Oct 06, 2015 9:20 pm, edited 1 time in total.
I can confirm that I have received between 0 and 499 National Security Letters.
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

Re: problem with C compiler?

  • Quote

Post by krinn » Tue Oct 06, 2015 9:20 pm

lordalbert wrote:
krinn wrote:
lordalbert wrote:seem like it doesn't find gcc, but it is installed. Any idea?
Better than an idea, a clue...
* gcc-config: Active gcc profile is invalid!
i don't touch gcc profile... and i don't know anything about it! :lol: 8O
A sure sign that you are touching and knowing (badly) too much --depclean then :)

Here's the solve

Code: Select all

gcc-config x86_64-pc-linux-gnu-4.9.3

note to self: never said "C compiler" anywhere, it attract site admin too much
Last edited by krinn on Tue Oct 06, 2015 9:22 pm, edited 1 time in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Oct 06, 2015 9:21 pm

lordalbert,

Your gcc was working fine. One day you got a new gcc in a different slot but you did not select it, so portage continued to use tho old active gcc.
Later still you ran emerge --depclean. This removed your old but active gcc, leaving you with a newer but inactive gcc.

gcc is installed but not active. You need to select it with gcc-config.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

Re: problem with C compiler?

  • Quote

Post by John R. Graham » Tue Oct 06, 2015 9:23 pm

krinn wrote:note to self: never said "C compiler" anywhere, it attract site admin too much
We're watching you, krinn. ;)

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
lordalbert
l33t
l33t
User avatar
Posts: 840
Joined: Sun Nov 26, 2006 4:21 pm
Location: Italy

  • Quote

Post by lordalbert » Tue Oct 06, 2015 9:24 pm

ok, now is working! :)

I learned something now today! :D

Thank you all!
Top
Buffoon
Veteran
Veteran
User avatar
Posts: 1369
Joined: Wed Jun 17, 2015 2:22 pm
Location: EU or US

  • Quote

Post by Buffoon » Tue Oct 06, 2015 9:29 pm

You should have run

Code: Select all

gcc-config --help
Posting simple questions on forums and waiting for answers is a waste of time.
Top
lordalbert
l33t
l33t
User avatar
Posts: 840
Joined: Sun Nov 26, 2006 4:21 pm
Location: Italy

  • Quote

Post by lordalbert » Tue Oct 06, 2015 9:41 pm

Buffoon wrote:You should have run

Code: Select all

gcc-config --help
Posting simple questions on forums and waiting for answers is a waste of time.
I didn't know is a gcc-config problem. I didn't know also there is a profile of gcc (i knew only system profile, which listed by "eselect profile").

Not knowing gcc-config, i couldn't run a "gcc-config --help" :)

There aren't "simple questions". There are only questions you know or questions you don't know.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56080
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Oct 06, 2015 9:43 pm

Buffoon,

Its like everything ... its simple when you know the answer.

I didn't even know that gcc-config had a --help option.
gcc-config, with no options gets you the useage.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Buffoon
Veteran
Veteran
User avatar
Posts: 1369
Joined: Wed Jun 17, 2015 2:22 pm
Location: EU or US

  • Quote

Post by Buffoon » Tue Oct 06, 2015 9:51 pm

The answer this time was very generic. Just any command will spit out some help when run with --help or -h. You may not know what a particular command does, but you should know how to make it tell it to you.

Not knowing how to change gcc profile is not a simple question, but after you were told to use gcc-config the question how to use it was simple.

No insult intended, I recommend you rely more on yourself.
Top
Post Reply

15 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic