Share

Avogadro

Tracker: Bugs

5 Building Openbabel in Mac OS 10.6.1 - ID: 2890392
Last Update: Settings changed ( sf-robot )

Hi All.

This certainly is not the list to post this, but.

I have not tried compiling Avo from sources for a while,
but since I migrated to Snow Leopard, I can no longer
compile OB and, hence, Avo, be it from older sources
or the latest svn (for OB).

The problem arises from the new default 64 bit option
in gcc 4.2. OB compiles and runs perfectly in 64 bit mode.
The problem is that QT won't at the moment, so OB
must be compiled in 32 bit.

I tried "export CXXFLAGS=-m32" before configure and
sort of works, but some binaries are still "x86_84"
rather than "i386".

Any clues ?

A file type list joined.

Louis


Louis Ricard ( lricard ) - 2009-11-01 19:33

5

Closed

Works For Me

Nobody/Anonymous

Building / Install

None

Public


Comments ( 4 )

Date: 2009-12-03 02:20
Sender: sf-robotSourceForge.net Site Admin

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2009-11-18 19:26
Sender: ghutchisProject Admin

This is a known Cmake bug. I think it should be fixed with the new CMake
2.8.x


Date: 2009-11-03 17:05
Sender: lricard

Following Konstantin's remarks, I compiled OB using cmake.
This is using a MacOSX 10.6.1 system and cmake 2.6.4.
Compile OK, all files have the requested architecture (i386),
but babel complains that the requested output file cannot
be opened for writing (???). Never could compile OB on my Mac
using cmake, by the way.

So I tried export both CXXFLAGS and CFLAGS=-m32 before
running configure. Works OK.
OB now can read and write requested files and I am now able
to compile Avo from git.

Thanks all and cheers,

Louis


Date: 2009-11-01 20:19
Sender: annulen

Have you tried to set CXXFLAGS and CFLAGS in dialog of ccmake?
If no, run "ccmake .." in build directory, then press t to get advanced
options, and set corresponding variables


Attached File ( 1 )

Filename Description Download
wrong_type.txt Download

Changes ( 7 )

Field Old Value Date By
allow_comments 1 2009-12-03 02:20 sf-robot
status_id Pending 2009-12-03 02:20 sf-robot
close_date 2009-11-18 19:26 2009-12-03 02:20 sf-robot
close_date - 2009-11-18 19:26 ghutchis
status_id Open 2009-11-18 19:26 ghutchis
resolution_id None 2009-11-18 19:26 ghutchis
File Added 349098: wrong_type.txt 2009-11-01 19:33 lricard