Indeed, that was also the error in my case. Now it works, thanks!
Kruno
-------- Original Message -------- Subject: FW: [ALPS-users] FW: error at installation for pyalea_c.so Date: Sat, 22 Jan 2011 17:56:25 +0100 From: "Prsa Krunoslav" Krunoslav.Prsa@psi.ch To: kprsa@phys.ethz.ch
------------------------------------------- From: comp-phys-alps-users-bounces@lists.phys.ethz.ch on behalf of Munehisa Matsumoto[SMTP:MATSUMOTO@PHYSICS.UCDAVIS.EDU] Sent: Saturday, January 22, 2011 5:56:18 PM To: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] FW: error at installation for pyalea_c.so Auto forwarded by a Rule
Dear Benoît,
Thank you for sending the file "cmake_install.cmake" which was taken from lib/pyalps under your build directory as I understood. It looks like your build directory is the same as your installation directory. Is that the case? In line 41 of the file your install destination reads
${CMAKE_INSTALL_PREFIX}/lib/pyalps
with ${CMAKE_INSTALL_PREFIX} being "/home/gremaud/alps/alps-2.0.0-r5363" as defined in line 5, while from the build directory "pyalea_c.so" is referenced as "/home/gremaud/alps/alps-2.0.0-r5363/lib/pyalps/pyalea_c.so" I guess your installation moves the file "pyalea.so" from your build directory to your installation directory and thus the file "pyalea.so" is deleted after this stage of installation is supposed to be passed. If the build directory and the installation directory is the same, it might happen that a target file is copied onto itself and then deleted. To avoid such complication having a separate installation directory might help. At least now I am reproducing the problem by setting the build directory and the installation directory to be the same.
best regards, Munehisa
comp-phys-alps-users@lists.phys.ethz.ch