When I do 'scons' in the tritetmesh root, and then I get
mpic++ -o tritetmesh/trimesh/swig/_trimesh.so -Wl,-rpath,/home/garth/local/src/slepc-3.0.0-p7/linux-gnu-cxx-opt/lib -Wl,-rpath,/home/garth/local/src/petsc-release-3.0.0/linux-gnu-cxx-opt/lib -pthread -Wl,--export-dynamic -shared tritetmesh/trimesh/swig/trimesh_wrap.os -Ltritetmesh/trimesh -L/home/garth/local/lib -L/home/garth/code/fenics/dolfin/dolfin-all/local/lib -L/home/garth/local/lib -L/usr/lib/atlas -L/home/garth/local/src/slepc-3.0.0-p7/linux-gnu-cxx-opt/lib -L/home/garth/local/src/petsc-release-3.0.0/linux-gnu-cxx-opt/lib -ltriangle -ldolfin -lboost_program_options-mt -lboost_filesystem-mt -lxml2 -lCGAL -lCGAL_Core -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd -lparmetis -lmetis -llapack -lblas -lslepc -lz -lgts -lm -lscotch -lscotcherr -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc -lX11 -lgthread-2.0 -lrt -lgmodule-2.0 -lglib-2.0 -ltrimesh
scons: *** [/usr/local/include/tritetmesh] /usr/local/include/tritetmesh: Permission denied
scons: building terminated because of errors.
If I do 'scons install prefix=/home/foo/my_dir' it works fine.
On Thursday 28 January 2010 13:24:42 Garth Wells wrote: trimesh/ swig/_trimesh. so /home/garth/ local/src/ slepc-3. 0.0-p7/ linux-gnu- cxx-opt/ lib /home/garth/ local/src/ petsc-release- 3.0.0/linux- gnu-cxx- opt/lib dynamic -shared trimesh/ swig/trimesh_ wrap.os -Ltritetmesh/ trimesh garth/local/ lib garth/code/ fenics/ dolfin/ dolfin- all/local/ lib garth/local/ lib -L/usr/lib/atlas garth/local/ src/slepc- 3.0.0-p7/ linux-gnu- cxx-opt/ lib garth/local/ src/petsc- release- 3.0.0/linux- gnu-cxx- opt/lib program_ options- mt -lboost_ filesystem- mt include/ tritetmesh] include/ tritetmesh: Permission denied scons: building /home/foo/ my_dir' it works fine.
> Public bug reported:
>
> When I do 'scons' in the tritetmesh root, and then I get
>
> mpic++ -o tritetmesh/
> -Wl,-rpath,
> -Wl,-rpath,
> -pthread -Wl,--export-
> tritetmesh/
> -L/home/
> -L/home/
> -L/home/
> -L/home/
> -L/home/
> -ltriangle -ldolfin -lboost_
> -lxml2 -lCGAL -lCGAL_Core -lumfpack -lcholmod -lamd -lcamd -lcolamd
> -lccolamd -lparmetis -lmetis -llapack -lblas -lslepc -lz -lgts -lm
> -lscotch -lscotcherr -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat
> -lpetscvec -lpetsc -lX11 -lgthread-2.0 -lrt -lgmodule-2.0 -lglib-2.0
> -ltrimesh scons: *** [/usr/local/
> /usr/local/
> terminated because of errors.
>
> If I do 'scons install prefix=
I have tried clean install, with and with out a /usr/local/include dir but
cannot reproduce it. I suppose it crash when you are compiling the demos, as
_trimesh.so is the last library to get linked by in the packages.
What version of SCons do you have?
Johan