[MacPorts] #24132: openmpi-1.4.1 variant gcc44 Portfile error - configuration failure
MacPorts
noreply at macports.org
Fri Mar 19 09:27:55 PDT 2010
#24132: openmpi-1.4.1 variant gcc44 Portfile error - configuration failure
-------------------------------+--------------------------------------------
Reporter: csumma@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: openmpi | Port: openmpi
-------------------------------+--------------------------------------------
initial configuration of openmpi gcc44 variant fails due to a typo in the
Portfile.
{{{
sudo port install openmpi +gcc44
---> Computing dependencies for openmpi
---> Fetching openmpi
---> Attempting to fetch openmpi-1.4.1.tar.bz2 from http://www.open-
mpi.org/software/ompi/v1.4/downloads/
---> Verifying checksum(s) for openmpi
---> Extracting openmpi
---> Configuring openmpi
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build"
&&
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.4.1/configure
--prefix=/opt/local --with-xgrid --sysconfdir=/opt/local/etc/openmpi
--includedir=/opt/local/include/openmpi
--bindir=/opt/local/lib/openmpi/bin --mandir=/opt/local/share/man
--enable-mpi-f77 --enablepi--f90 " returned error 1
Command output: configure: error: unrecognized option: --enablepi--f90
Try
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.4.1/configure
--help' for more information.
Error: Status 1 encountered during processing.
}}}
Build still fails later in the process due to currently open zlib issues
[https://trac.macports.org/ticket/24067]
patch follows:
{{{
--- Portfile.orig 2010-03-18 23:44:51.000000000 -0700
+++ Portfile 2010-03-18 23:46:00.000000000 -0700
@@ -83,7 +83,7 @@
variant gcc44 description {build mpif77 and mpif90 using gcc44} conflicts
gcc42 gcc43 g95 {
configure.args-delete --disable-mpi-f77 --disable-mpi-f90
- configure.args-append --enable-mpi-f77 --enablepi--f90
+ configure.args-append --enable-mpi-f77 --enable-mpi-f90
configure.f77 ${prefix}/bin/gfortran-mp-4.4
configure.fc ${prefix}/bin/gfortran-mp-4.4
depends_lib-append port:gcc44
}}
--
Ticket URL: <http://trac.macports.org/ticket/24132>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list