Summary: | net-misc/hylafax-4.3.1 with gcc-4.3.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Manfred Knick <Manfred.Knick> |
Component: | [OLD] GCC Porting | Assignee: | Steve Arnold (nerdboy) (OBSOLETE) <comm-fax+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nerdboy, steeeeeveee |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 |
Description
Manfred Knick
2008-06-24 18:17:08 UTC
Please post a build log. (In reply to comment #1) > Please post a build log. > That _IS_ part of the build log: - as stated, during configure phase - - snip - Actual Results: Missing C++ runtime support for g++ (/usr/bin/g++). Compilation of the following test program failed: ---------------------------------------------------------- #include "iostream.h" int main(){ cout << "Hello World!" << endl; return 0;} ---------------------------------------------------------- (In reply to comment #1) More complete quote: - snip - Configuring HylaFAX (tm) (aka FlexFAX) 4.3.0. If configure does the wrong thing, check the file config.log for information that may help you understand what went wrong. Reading site-wide parameters from ./config.site. Hmm, looks like a x86_64-unknown-linux-gnu system. Using /usr/bin/gcc for a C compiler (set CC to override). Looks like /usr/bin/gcc supports the -g option. ... but not together with the -O option, not using it. Looks like /usr/bin/gcc has an ANSI C preprocessor. ... but __ANSI_CPP__ is not automatically defined, will compensate. Looks like /usr/bin/gcc supports the -M option for generating make dependencies. Using /usr/bin/g++ for a C++ compiler (set CXX to override). Looks like /usr/bin/g++ supports the -g option. Using " -g" for C++ compiler options. Looks like /usr/bin/g++ has an ANSI C preprocessor. ... but __ANSI_CPP__ is not automatically defined, will compensate. Using /usr/bin/make to configure the software. Using "include file" syntax for Makefiles. Looks like make supports "sinclude" for conditional includes. Using /bin/bash to process command scripts. Missing C++ runtime support for g++ (/usr/bin/g++). Compilation of the following test program failed: ---------------------------------------------------------- #include "iostream.h" int main(){ cout << "Hello World!" << endl; return 0;} ---------------------------------------------------------- Usually this is because you do not have a standard C++ library installed on your system or you have installed it in a non-standard location. If you do not have a C++ library installed, then you must install it. If it is installed in a non-standard location, then you should configure the compiler so that it will automatically be found. (For recent gcc releases this is libstdc++, for older gcc - libg++) Unrecoverable error! Once you've corrected the problem rerun this script. * * ERROR: net-misc/hylafax-4.3.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2596: Called die * The specific snippet of code: * eval ./configure --nointeractive ${my_conf} || die "./configure failed"; * The die message: * ./configure failed Having the exact same issue with Hylafax 4.3.0 with GCC 4.3.1: gentoo ~ # cat /var/tmp/portage/net-misc/hylafax-4.3.0/temp/build.log >>> Unpacking source... >>> Unpacking hylafax-4.3.0.tar.gz to /var/tmp/portage/net-misc/hylafax-4.3.0/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-misc/hylafax-4.3.0/work/hylafax-4.3.0 ... * Applying gentoo-gcc-version.patch ... [ ok ] Configuring HylaFAX (tm) (aka FlexFAX) 4.3.0. If configure does the wrong thing, check the file config.log for information that may help you understand what went wrong. Reading site-wide parameters from ./config.site. YOW!! Did something bad happen or am I on a i686-pc-linux-gnu system? Using /usr/bin/gcc for a C compiler (set CC to override). Looks like /usr/bin/gcc supports the -g option. ... but not together with the -O option, not using it. Looks like /usr/bin/gcc has an ANSI C preprocessor. ... but __ANSI_CPP__ is not automatically defined, will compensate. Looks like /usr/bin/gcc supports the -M option for generating make dependencies. Using /usr/bin/g++ for a C++ compiler (set CXX to override). Looks like /usr/bin/g++ supports the -g option. Using " -g" for C++ compiler options. Looks like /usr/bin/g++ has an ANSI C preprocessor. ... but __ANSI_CPP__ is not automatically defined, will compensate. Using /usr/bin/make to configure the software. Using "include file" syntax for Makefiles. Looks like make supports "sinclude" for conditional includes. Using /bin/bash to process command scripts. Missing C++ runtime support for g++ (/usr/bin/g++). Compilation of the following test program failed: ---------------------------------------------------------- #include "iostream.h" int main(){ cout << "Hello World!" << endl; return 0;} ---------------------------------------------------------- Usually this is because you do not have a standard C++ library installed on your system or you have installed it in a non-standard location. If you do not have a C++ library installed, then you must install it. If it is installed in a non-standard location, then you should configure the compiler so that it will automatically be found. (For recent gcc releases this is libstdc++, for older gcc - libg++) Unrecoverable error! Once you've corrected the problem rerun this script. * * ERROR: net-misc/hylafax-4.3.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2533: Called die * The specific snippet of code: * eval ./configure --nointeractive ${my_conf} || die "./configure failed"; * The die message: * ./configure failed * * 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/net-misc/hylafax-4.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/hylafax-4.3.0/temp/environment'. * gentoo ~ # Trying Hylafax 4.3.1 is even worse: gentoo ~ # emerge hylafax These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-misc/hylafax-4.3.1 [4.3.0] USE="faxonly pam -html -jbig -mgetty" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) net-misc/hylafax-4.3.1 to / * hylafax-4.3.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking hylafax-4.3.1.tar.gz ;-) ... [ ok ] * * ERROR: net-misc/hylafax-4.3.1 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * hylafax-4.3.1.ebuild, line 40: Called built_with_use 'pkg_setup' 'pkg_setup' 'pkg_setup' '--missing' * eutils.eclass, line 1698: Called die * The specific snippet of code: * [[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package" * The die message: * Unable to resolve net-dialup/mgetty to an installed package * * 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/net-misc/hylafax-4.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/hylafax-4.3.1/temp/die.env'. * * Messages for package net-misc/hylafax-4.3.1: * * ERROR: net-misc/hylafax-4.3.1 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * hylafax-4.3.1.ebuild, line 40: Called built_with_use 'pkg_setup' 'pkg_setup' 'pkg_setup' '--missing' * eutils.eclass, line 1698: Called die * The specific snippet of code: * [[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package" * The die message: * Unable to resolve net-dialup/mgetty to an installed package * * 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/net-misc/hylafax-4.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/hylafax-4.3.1/temp/die.env'. * gentoo ~ # cat /var/tmp/portage/net-misc/hylafax-4.3.1/temp/build.log * * ERROR: net-misc/hylafax-4.3.1 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * hylafax-4.3.1.ebuild, line 40: Called built_with_use 'pkg_setup' 'pkg_setup' 'pkg_setup' '--missing' * eutils.eclass, line 1698: Called die * The specific snippet of code: * [[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package" * The die message: * Unable to resolve net-dialup/mgetty to an installed package * * 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/net-misc/hylafax-4.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/hylafax-4.3.1/temp/die.env'. * gentoo ~ # *** Bug 231070 has been marked as a duplicate of this bug. *** This is fixed in the latest versions; if it tests okay we can add it to stable (although it looks like it's time for a new stable version). Reopen if it doesn't fix your problem. (In reply to comment #6) I can confirm successful emerge of 4.3.7 here. Thanks a lot !! Kind regards Manfred |