Gentoo Forums
Gentoo Forums
Quick Search: in
can't emerge hylafax-4.3.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Wed Aug 08, 2007 3:25 pm    Post subject: can't emerge hylafax-4.3.1 Reply with quote

when I try to emerge hylafax I get these errors:
Code:
server ~ # cat /var/tmp/portage/net-misc/hylafax-4.3.1/temp/build.log
>>> Unpacking source...
>>> Unpacking hylafax-4.3.1.tar.gz to /var/tmp/portage/net-misc/hylafax-4.3.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/hylafax-4.3.1/work/hylafax-4.3.1 ...

Configuring HylaFAX (tm) (aka FlexFAX) 4.3.1.

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.
Wow, you've got 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.

Cannot locate a suitable C++ compiler.

We attempted to compile the following test program:

----------------------------------------------------------
class foo {
public:
    struct bar {
        int a;
        bar();
    };
    foo();
};
foo::bar::bar() { a = 0; }
foo::foo() { bar x; }
int main() { foo t; return 0; }
----------------------------------------------------------

with these compilers:

     g++ gcc CC NCC DCC gcc2 xlC

but none of them were successful.

To build this software you need a C++ compiler that supports a
reasonably modern version of C++.  In particular the compiler must
support nested types and process temporary variables according to the
ANSI Reference Manual (the ARM).

If such a compiler is in a non-standard location, you can specify its
location in several ways:

    o set the environment variable CXX
    o create a config.local or config.site file that includes a
      definition for CXX
    o supply it on the command line using -with-CXX=<pathname>

If you are trying to use GNU gcc, but you do not have version 2.6.1
or newer, then you must update your compiler (and probably libg++ as
well) before you can compile this software.  Consult the documentation
for information about obtaining an up-to-date version of gcc.

Unrecoverable error!  Once you've corrected the problem rerun this script.
 *
 * ERROR: net-misc/hylafax-4.3.1 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   hylafax-4.3.1.ebuild, line 102:   Called die
 *
 * ./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.1/temp/build.log'.


Code:
server ~ # emerge --info
Portage 2.1.3_rc9 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r1 i686)
=================================================================
System uname: 2.6.22-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 06 Aug 2007 00:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://gentoo.intergenia.de http://gentoo.prz.rzeszow.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/sunrise /usr/portage/local/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="nptl nptlonly x86" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1     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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt         mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage     siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I found some patches on bugzilla but they were 3+ years old and failed to apply to hylafax-4.3.1
Back to top
View user's profile Send private message
thpani
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2006
Posts: 144
Location: Tulln, Austria

PostPosted: Wed Aug 08, 2007 4:41 pm    Post subject: Reply with quote

have you tried stable gcc/hylafax?

works for me:
Code:
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.
Back to top
View user's profile Send private message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Wed Aug 08, 2007 5:31 pm    Post subject: Reply with quote

I tried stable gcc-4.1.2 and stable hylafax-4.3.0 and unfotunetly error remains the same:/
Back to top
View user's profile Send private message
jhuebner
n00b
n00b


Joined: 14 Aug 2007
Posts: 1

PostPosted: Tue Aug 14, 2007 6:54 pm    Post subject: Same problem Reply with quote

Hello!

I got exactly the same problem with stable versions (4.3.0 and 4.1.2 of hylafax / gcc).

Searching google and b.g.o did not help a bit.

Maybe a bug should be opened?
Edit: http://bugs.gentoo.org/show_bug.cgi?id=187118

Let me know if you found a solution.

Regards,
Jan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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