Difference between revisions of "Talk:Install (MinGW)"

From Open Babel
Jump to: navigation, search
Line 1: Line 1:
 
== Environnement ==
 
== Environnement ==
Compilation of Openbabel-2.0.2 with:
+
 
 +
I've the following environnement:
 
* Windows XP Pro SP2
 
* Windows XP Pro SP2
* MinGW 5.1.3
+
* MinGW v5.1.3
* msys and msysDTK
+
* msys v1.0.10
* libxml-2.6.26
+
* msysDTK v1.0.1
 +
* libxml2 v2.6.27
 +
* OpenBabel v2.0.2
  
 
== Compilation ==
 
== Compilation ==
  
 
=== libxml ===
 
=== libxml ===
 +
After decompressing the source package into msys home directory:
 +
<pre>
 +
cd libxml2-2.6.27
 +
./configure
 +
make
 +
make install
 +
</pre>
  
==== openbabel ====
+
=== openbabel ===
I've set the following env with the 'set' command:  
+
First, we need to set CPPFLAGS:
 
<pre>
 
<pre>
export set CPPFLAGS=-I/c/devel/include -I/c/openbabel-2.0.2/data
+
export CPPFLAGS=-I/home/jerome/openbabel-2.0.2/data
set LDFLAGS=-L/c/devel/
+
 
</pre>
 
</pre>
  
then:
+
Then:
 
<pre>
 
<pre>
sh configure --prefix=/c/devel --disable-xml-test
+
./configure
 
make
 
make
<pre>
+
</pre>
 
+
I get the following error:
+
libtool: link: ERROR: object name conflicts: .libs/libopenbabel.lax/libmath.a//c/openbabel-2.0.2/src/math/.libs/libmath.a</pre>
+

Revision as of 09:44, 13 February 2007

Environnement

I've the following environnement:

  • Windows XP Pro SP2
  • MinGW v5.1.3
  • msys v1.0.10
  • msysDTK v1.0.1
  • libxml2 v2.6.27
  • OpenBabel v2.0.2

Compilation

libxml

After decompressing the source package into msys home directory:

cd libxml2-2.6.27
./configure
make
make install

openbabel

First, we need to set CPPFLAGS:

export CPPFLAGS=-I/home/jerome/openbabel-2.0.2/data

Then:

./configure
make