[Trilinos-Users] SWIG Problems

Bill Spotz wfspotz at sandia.gov
Tue Oct 27 06:17:07 MDT 2009


Actually, now that I look at your messages more closely, I think CMake  
is using an older version of swig than you are picking up from the  
shell.

Try removing CMakeCache.txt and trying agin.  If that doesn't work,  
you may need to use

   -D SWIG_EXECUTABLE:FILEPATH=...

after deleting CMakeCache.txt.

On Oct 27, 2009, at 1:20 AM, Matt G wrote:

> I am compiling trilinos 10 with PyTrilinos.  Are there any  
> workarounds to the swig related problems reported earlier?
>
> I get the following:
>
> PACKAGE: PyTrilinos
> -- Processing enabled package: PyTrilinos (tests, examples)
> -- Enabled PyTrilinos modules:
> --     Teuchos;Epetra;EpetraExt;IFPACK;Anasazi;ML;NOX
> CMake Error at packages/PyTrilinos/cmake/FindSWIG.cmake:53 (MESSAGE):
>   SWIG version 1.3.36 is less than required version 1.3.38
> Call Stack (most recent call first):
>   packages/PyTrilinos/CMakeLists.txt:155 (FIND_PACKAGE)
>
>
> -- Configuring incomplete, errors occurred!
> meawoppl at leeloo:~/trilinos-10.0.1-Source$ which swig
> /usr/local/bin/swig
> meawoppl at leeloo:~/trilinos-10.0.1-Source$ swig -version
>
> SWIG Version 1.3.40
>
>
> Any thoughts?
> -Matthew Goodman
>
> =====================
> Find me on LinkedIn: http://tinyurl.com/d6wlch
> Follow me on twitter: http://twitter.com/meawoppl
>
> <ATT00002.txt>

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







More information about the Trilinos-Users mailing list