From owner-freebsd-ports@FreeBSD.ORG Tue Oct 7 21:22:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF8DF1065698 for ; Tue, 7 Oct 2008 21:22:43 +0000 (UTC) (envelope-from kono@kth.se) Received: from smtp-2.sys.kth.se (smtp-2.sys.kth.se [130.237.32.160]) by mx1.freebsd.org (Postfix) with ESMTP id 816AA8FC17 for ; Tue, 7 Oct 2008 21:22:43 +0000 (UTC) (envelope-from kono@kth.se) Received: from localhost (localhost [127.0.0.1]) by smtp-2.sys.kth.se (Postfix) with ESMTP id A59E714E471 for ; Tue, 7 Oct 2008 23:03:54 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-2.sys.kth.se ([127.0.0.1]) by localhost (smtp-2.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9khxyibBtPSg for ; Tue, 7 Oct 2008 23:03:51 +0200 (CEST) Received: from monster (76.58.227.87.static.ang.siw.siwnet.net [87.227.58.76]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 4BACD14C144 for ; Tue, 7 Oct 2008 23:03:51 +0200 (CEST) From: Alexander Konovalenko To: freebsd-ports@freebsd.org Date: Tue, 7 Oct 2008 23:03:26 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810072303.26671@3667> Subject: petsc compilation error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kono@kth.se List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 21:22:44 -0000 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@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