[Trilinos-Users] error with 'make install' for Teuchos with PyTrilinos

John Pye john.pye at anu.edu.au
Wed Jul 25 06:07:34 MDT 2007


Hi all

I think I have a problem with the 'make install' step with PyTrilinos in
the current 7.0.8 release. My 'make install' command (part of building
an RPM package) is:

|make prefix=/var/tmp/trilinos-7.0.8/usr
exec_prefix=/var/tmp/trilinos-7.0.8/usr
bindir=/var/tmp/trilinos-7.0.8/usr/bin
sbindir=/var/tmp/trilinos-7.0.8/usr/sbin
sysconfdir=/var/tmp/trilinos-7.0.8/etc
datadir=/var/tmp/trilinos-7.0.8/usr/share
includedir=/var/tmp/trilinos-7.0.8/usr/include
libdir=/var/tmp/trilinos-7.0.8/usr/lib
libexecdir=/var/tmp/trilinos-7.0.8/usr/libexec
localstatedir=/var/tmp/trilinos-7.0.8/var
sharedstatedir=/var/tmp/trilinos-7.0.8/usr/com
mandir=/var/tmp/trilinos-7.0.8/usr/share/man
infodir=/var/tmp/trilinos-7.0.8/usr/share/info install|

This gets a little bit of the  way in, with for example

| /usr/bin/install -c -m 644 ./Teuchos_XMLParameterListReader.hpp
/var/tmp/trilinos-7.0.8/usr/include/Teuchos_XMLParameterListReader.hpp
/usr/bin/install -c -m 644 ./Teuchos_XMLParameterListWriter.hpp
/var/tmp/trilinos-7.0.8/usr/include/Teuchos_XMLParameterListWriter.hpp
/usr/bin/install -c -m 644 ./Teuchos_XMLParser.hpp
/var/tmp/trilinos-7.0.8/usr/include/Teuchos_XMLParser.hpp
make[4]: Leaving directory
`/usr/src/redhat/BUILD/trilinos-7.0.8/packages/teuchos/src'|

but then it fails. It seems that the makefile in
packages/teuchos/python/src is ignoring the above 'make install' flags,
and just going ahead and instlaling the stuff in /usr. See below for the
error.

Chees
JP

|make[4]: Leaving directory
`/usr/src/redhat/BUILD/trilinos-7.0.8/packages/teuchos/example'
make[3]: Leaving directory
`/usr/src/redhat/BUILD/trilinos-7.0.8/packages/teuchos/example'
Making install in python
make[3]: Entering directory
`/usr/src/redhat/BUILD/trilinos-7.0.8/packages/teuchos/python'
Making install in src
make[4]: Entering directory
`/usr/src/redhat/BUILD/trilinos-7.0.8/packages/teuchos/python/src'
/usr/bin/python ./setup.py install --prefix=/usr
running install
running build
running build_py
running build_ext
running install_lib
creating /usr/lib/python2.5/site-packages/PyTrilinos
error: could not create '/usr/lib/python2.5/site-packages/PyTrilinos':
Permission denied
make[4]: *** [install] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/trilinos-7.0.8/packages/teuchos/python/src'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/trilinos-7.0.8/packages/teuchos/python'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/trilinos-7.0.8/packages/teuchos'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/trilinos-7.0.8/packages'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.40021 (%install)|


-------------- next part --------------
begin:vcard
fn:John Pye
n:Pye;John
org:Australian National University;Department of Engineering
adr:;;;Acton;ACT;0200;Australia
email;internet:john.pye at anu.edu.au
title:Assoc Lecturer
tel;work:+61261254056
x-mozilla-html:FALSE
url:http://pye.dyndns.org/
version:2.1
end:vcard



More information about the Trilinos-Users mailing list