Gentoo Archives: gentoo-science

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-science@l.g.o
Subject: [gentoo-science] openbabel-2.0.2 does not build with gcc-4.3.2
Date: Wed, 13 May 2009 05:48:20
Message-Id: 4A0A5F11.5000604@gmail.com
1 Hello,
2
3 Apparently openbabel does not build. Is this a header file problem?
4
5 -> gcc --version
6 gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
7 Copyright (C) 2008 Free Software Foundation, Inc.
8
9 [snip]
10
11 ../../src/data.h:113: error: 'strncpy' was not declared in this scope
12 make[3]: *** [vector3.lo] Error 1
13 make[3]: *** Waiting for unfinished jobs....
14 make[3]: *** [matrix3x3.lo] Error 1
15 make[3]: Leaving directory
16 `/var/tmp/portage/sci-chemistry/openbabel-2.0.2/work/openbabel-2.0.2/src/math'
17 make[2]: *** [all-recursive] Error 1
18 make[2]: Leaving directory
19 `/var/tmp/portage/sci-chemistry/openbabel-2.0.2/work/openbabel-2.0.2/src'
20 make[1]: *** [all] Error 2
21 make[1]: Leaving directory
22 `/var/tmp/portage/sci-chemistry/openbabel-2.0.2/work/openbabel-2.0.2/src'
23 make: *** [all-recursive] Error 1
24 *
25 * ERROR: sci-chemistry/openbabel-2.0.2 failed.
26 * Call stack:
27 * ebuild.sh, line 48: Called src_compile
28 * environment, line 90: Called _eapi0_src_compile
29 * ebuild.sh, line 591: Called _eapi2_src_compile
30 * ebuild.sh, line 625: Called die
31 * The specific snippet of code:
32 * emake || die "emake failed"
33 * The die message:
34 * emake failed
35 *
36 * If you need support, post the topmost build error, and the call stack
37 if relevant.
38 * A complete build log is located at
39 '/var/tmp/portage/sci-chemistry/openbabel-2.0.2/temp/build.log'.
40 * The ebuild environment file is located at
41 '/var/tmp/portage/sci-chemistry/openbabel-2.0.2/temp/environment'.
42
43
44 Thanks for any help.
45
46 --
47 Valmor

Replies

Subject Author
Re: [gentoo-science] openbabel-2.0.2 does not build with gcc-4.3.2 Mathias Weigt <m.weigt@××××××××.de>