Opened 14 years ago

Closed 14 years ago

#26527 closed defect (fixed)

mpich2 unrecognized configure options

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: mpich2

Description

Looks like lots of configure options mpich2 is using don't actually do anything:

$ sudo port configure mpich2
...
$ port log mpich2 | grep unrecognized
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --disable-f77, --disable-f90, --enable-sharedlibs
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --disable-f77, --disable-f90, --enable-sharedlibs
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --disable-f77, --disable-f90, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --disable-f77, --disable-f90, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --disable-f77, --disable-f90, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --disable-f77, --disable-f90, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --disable-f77, --disable-f90, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --with-python, --disable-f77, --disable-f90, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --disable-f77, --disable-f90, --enable-sharedlibs, --with-atomic-primitives
configure: WARNING: unrecognized options: --with-thread-package, --enable-timer-type, --enable-cxx, --with-htmldir, --with-docdir, --disable-f77, --disable-f90, --enable-sharedlibs, --with-atomic-primitives
$

In particular, the fact that the --with-docdir and --with-htmldir options do nothing means the documentation gets installed directly in /opt/local/share/doc, not in a subdirectory thereof, so that's wrong.

$ ls /opt/local/var/macports/software/mpich2/1.2.1p1_0/opt/local/share/doc/
index.htm	jumpshot-4	openpa		user.pdf	www3
install.pdf	logging.pdf	smpd_pmi.pdf	www1		www4
$

Change History (1)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
--disable-f77
--disable-f90
--enable-cxx
--enable-sharedlibs
--enable-timer-type
--with-thread-package

./configure --help says these are valid options so I'll leave them. mpich2 appears to run many configure scripts; perhaps not all of the options are applicable to all of the scripts.

--with-atomic-primitives

We are not passing this option; it's coming from mpich2 internally.

--with-python

There's no mention of python in ./configure --help, but the value passed to --with-python does end up in the shebang line of the installed python scripts, so I'll leave this option.

--with-docdir
--with-htmldir

./configure --help says these are called --docdir and --htmldir, respectively; changing that in r71648, which fixes part of the documentation problem. I got tired of dealing with this configure script so I fixed the rest in post-destroot.

Note: See TracTickets for help on using tickets.