petsc compilation error

Alexander Konovalenko kono at kth.se
Tue Oct 7 21:22:44 UTC 2008


Hi,

tried to compile petsc port and got an error:

...
===>  Applying FreeBSD patches for petsc-mpich-2.3.3.p0_1,1
===>   petsc-mpich-2.3.3.p0_1,1 depends on file: /usr/local/bin/python2.5 - 
found
===>   petsc-mpich-2.3.3.p0_1,1 depends on file: /usr/local/mpich2/bin/mpicc - 
found
===>   petsc-mpich-2.3.3.p0_1,1 depends on file: /usr/local/lib/libBS95.a - 
found
===>   petsc-mpich-2.3.3.p0_1,1 depends on 
file: /usr/local/lib/parmetis/libparmetis.a - found
===>   petsc-mpich-2.3.3.p0_1,1 depends on executable: svn - found
===>   petsc-mpich-2.3.3.p0_1,1 depends on executable: gfortran42 - found
===>   petsc-mpich-2.3.3.p0_1,1 depends on 
file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   petsc-mpich-2.3.3.p0_1,1 depends on shared library: umfpack.1 - found
===>   petsc-mpich-2.3.3.p0_1,1 depends on shared library: atlas.2 - found
===>  Configuring for petsc-mpich-2.3.3.p0_1,1
/usr/bin/sed -i.bak -e "s|AMD/Include|include/AMD|"      -e "s|
AMD/Lib|/usr/local/lib|"  /usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/python/PETSc/packages/UMFPACK.py
/usr/bin/sed -i.bak -e "s|/bin/ksh|/usr/local/bin/ksh|"  /usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/bin/popup
/usr/bin/sed -i.bak -e "s|
%%PACKAGE%%||"                         /usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/makefile /usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/config/configure.py
=================================================================================
             Configuring PETSc to compile on your system                         
=================================================================================
=================================================================================
             *** Do not run configure as root, or using sudo. ***
             *** Use the --with-sudo=sudo option to have      ***
             *** installs of external packages done with sudo ***
             *** use only with --prefix= when installing in   ***
             *** system directories                           ***
=================================================================================
===>  Script "config/configure.py" failed unexpectedly.
Please report the problem to ports at FreeBSD.org [maintainer] and attach the
"/usr/ports/math/petsc-mpich/work/petsc-2.3.3-p0/configure.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/math/petsc-mpich.


Any ideas?

Also, I want to compile petsc with option --with-clanguage=C++, have anybody 
tried this?


/Alexander Konovalenko

+46-8-5537-8143 (office)
+46-7-3752-2116
http://daemon.nanophys.kth.se/~kono

Royal Institute of Technology (KTH)
Nanostructure Physics Department, Albanova
Roslagstullsbacken 21
10691 Stockholm
Sweden


More information about the freebsd-ports mailing list