[Trilinos-Users] error with --enable-python

Bill Spotz wfspotz at sandia.gov
Mon Jul 23 10:13:51 MDT 2007


John,

This problem stems from the fact that we cannot test all combinations  
of enabled and disabled packages, because the numbers get to be too  
huge.  A quick fix would be to delete line 506 from

     packages/ml/python/src/Makefile

in your build directory.  A more sturdy solution would be to add -- 
enable-galeri to your configure invocation script.  (I suspect you  
may have to also add --enable-amesos.)

In the next release, the python wrappers are removed from the  
individual packages and are all contained in the PyTrilinos package.   
This makes these python-related configuration issues easier to  
handle.  In fact, I have verified that this particular problem does  
not occur in the release scheduled for August.

On Jul 22, 2007, at 8:28 PM, John Pye wrote:

> Hi all
>
> I get an error when compiling trilinos with the following configure  
> command:
>
>
> %configure \
>     F77=%{f77} \
>     CC="%{?ccache} gcc" \
>     CXX="%{?ccache} g++" \
>     --with-gnumake \
>     --disable-new_package \
>     --enable-moocho \
>     --enable-thyra \
>         --enable-python
> make
>
>
> Here is the error:|
>
>
> make[4]: Leaving directory
> `/usr/src/redhat/BUILD/trilinos-7.0.8/packages/ml/doc'
> Making all in python
> make[4]: Entering directory
> `/usr/src/redhat/BUILD/trilinos-7.0.8/packages/ml/python'
> Making all in src
> make[5]: Entering directory
> `/usr/src/redhat/BUILD/trilinos-7.0.8/packages/ml/python/src'
> Makefile:506: ../../../galeri/Makefile.export.galeri: No such file or
> directory
> make[5]: *** No rule to make target
> `../../../galeri/Makefile.export.galeri'. Stop.
> make[5]: Leaving directory
> `/usr/src/redhat/BUILD/trilinos-7.0.8/packages/ml/python/src'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/usr/src/redhat/BUILD/trilinos-7.0.8/packages/ml/python'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/trilinos-7.0.8/packages/ml'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/redhat/BUILD/trilinos-7.0.8/ 
> packages'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/trilinos-7.0.8'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.93082 (%build)
>
>
> |
> |The full build log is available at
> http://build.opensuse.org/package/live_build_log? 
> arch=i586&repository=Fedora_7&package=trilinos&project=home%3Ajdpipe
> (registration may be required though).
> |||
>
> ||
>
> |
> Cheers
> JP
>
> |
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users

** Bill Spotz                                              **
** Sandia National Laboratories  Voice: (505)845-0170      **
** P.O. Box 5800                 Fax:   (505)284-5451      **
** Albuquerque, NM 87185-0370    Email: wfspotz at sandia.gov **




More information about the Trilinos-Users mailing list