Opened 15 years ago

Closed 15 years ago

#24132 closed defect (duplicate)

openmpi-1.4.1 variant gcc44 Portfile error - configuration failure

Reported by: csumma@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: openmpi

Description

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
}}

Change History (2)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: csumma@… mww@… openmaintainer@… removed
Keywords: openmpi removed
Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.