Bugs item #2951414, was opened at 2010-02-13 23:35 Message generated for change (Tracker Item Submitted) made by htl10 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=2951414&group_id=40728
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Installation/Building Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Hin-Tak Leung (htl10) Assigned to: Nobody/Anonymous (nobody) Summary: build problem (and solution) for Tru64/gcc 4.3.3 Initial Comment: See background reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14608 Building openbabel 2.2.3 with gcc 4.3.3 on Tru64 requires two things: (1) -D_GLIBCXX_USE_C99_MATH in CXX_FLAGS , e.g. CXXFLAGS='-D_GLIBCXX_USE_C99_MATH -g -O2' ./configure (2) whenever isfinite() is used, #include <cmah> is needed, there are too many of them and I got fed up after adding the first couple, so I just added it to the end of src/config.h.in (adding it to the end of include/openbabel/babelconfig.h also get included to everything). These steps are probably required for most older unix systems which is not linux nor Mac X. (I'd like to know if either of these are needed on linux, actually, but can't be bothered, since openbabel is shipped with fedora) Also I have a comment to make: the top level INSTALL is misleading. since isfinite() is C99, the c89 part in CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure is misleading, and further more, most of openbabel is c++ code so the effective variables are really CXX and CXXFLAGS, not CC/CFLAGS . ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428740&aid=2951414&group_id=40728 ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ OpenBabel-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbabel-devel
