[Trilinos-Users] Problems with PyTrilinos and MinGW

Johannes Ring johannr at simula.no
Wed Nov 19 02:18:57 MST 2008


Hi all,

I am trying to build PyTrilinos (on Windows with MinGW and MSYS but it
fails to find Python.h when running configure (see error message below).
The file Python.h is available under C:\Python25\include but it seems that
the configure script is looking under c:\Python25/include/python2.5 which
does not exists. I have tried to add -I/c/Python25/include to CPPFLAGS but
this does not seem to make any difference. I am using Trilinos 8.0.8. Any
ideas?

Best regards,

Johannes Ring

=== configuring in packages/PyTrilinos
(/c/src/trilinos-8.0.8/packages/PyTrilinos)
configure: running /bin/sh ./configure
'--prefix=/c/src/trilinos-8.0.8/local'  '--enable-default-packages'
'--enable-galeri' '--enable-ml' '--enable-epetra' '--enable-amesos'
'--enable-python' '--enable-pytrilinos' '--disable-export-makefiles'
'--disable-examples' '--disable-tests'
'--with-blas=/c/src/lapack-3.1.1/blas.dll'
'--with-lapack=/c/src/lapack-3.1.1/lapack.dll' '--with-trilinos'
'--enable-teuchos' '--enable-triutils' '--enable-ifpack'
'--enable-aztecoo' '--enable-epetraext' '--enable-nox'
'--enable-new_package' '--enable-shared' --cache-file=/dev/null --srcdir=.
-----------------------------------
Running PyTrilinos Configure Script
-----------------------------------
checking whether to use default-packages... yes
checking whether to build optional teuchos dependent code in pytrilinos...
yes
checking whether to build optional epetra dependent code in pytrilinos... yes
checking whether to build optional triutils dependent code in
pytrilinos... yes
checking whether to build optional epetraext dependent code in
pytrilinos... yes
checking whether to use epetraext-hdf5... no
checking whether to build optional aztecoo dependent code in pytrilinos...
yes
checking whether to use aztecoo-teuchos... yes
checking whether to build optional galeri dependent code in pytrilinos... yes
checking whether to build optional amesos dependent code in pytrilinos... yes
checking whether to build optional ifpack dependent code in pytrilinos... yes
checking whether to build optional anasazi dependent code in pytrilinos... no
checking whether to build optional ml dependent code in pytrilinos... yes
checking whether to build optional nox dependent code in pytrilinos... yes
checking whether to use nox-epetra... no
checking whether to build optional rtop dependent code in pytrilinos... no
checking whether to build optional kokkos dependent code in pytrilinos... no
checking whether to build optional tpetra dependent code in pytrilinos... no
checking whether to build optional thyra dependent code in pytrilinos... no
checking whether to build optional isorropia dependent code in
pytrilinos... no
checking whether to build optional komplex dependent code in pytrilinos... no
checking whether to build optional claps dependent code in pytrilinos... no
checking whether to build optional belos dependent code in pytrilinos... no
checking whether to build optional moertel dependent code in pytrilinos... no
checking whether to build optional stratimikos dependent code in
pytrilinos... no
checking whether to build optional meros dependent code in pytrilinos... no
checking whether to build optional sacado dependent code in pytrilinos... no
checking whether to build optional loca dependent code in pytrilinos... no
checking whether to build optional rythmos dependent code in pytrilinos... no
checking whether to build optional moocho dependent code in pytrilinos... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... none
checking whether we are using MPI... no
checking for style of include used by make... GNU
checking for C++ compiler default output file name... a.exe
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++-sjlj accepts -g... yes
checking dependency style of g++-sjlj... gcc3
checking how to run the C++ preprocessor... g++-sjlj -E
checking whether additional library search paths defined... no
checking whether additional include search paths defined... no
checking for --enable-python... yes
checking for python... /c/Python25/python
checking for python... (cached) /c/Python25/python
checking whether /c/Python25/python version >= 2.3 ... yes
checking whether to use tests... no
checking whether to use pytrilinos-tests... yes
checking whether to use examples... no
checking whether to use pytrilinos-examples... yes
checking whether to use pytrilinos... yes
configure: PYTHON_CSPEC=None -Ic:\Python25/include/python2.5
Traceback (most recent call last):
  File "conftest.py", line 8, in <module>
    if -1 ==  strConfigArgs.find(strUseFrameWork):
AttributeError: 'NoneType' object has no attribute 'find'
configure: PYTHON_LSPEC=
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking Python.h usability... no
checking Python.h presence... no
checking for Python.h... no
configure: error: You must have Python.h in order to build the Python
support!!
configure: error: ./configure failed for packages/PyTrilinos






More information about the Trilinos-Users mailing list