ok i found the solution

there's an error at line 144 of mpich2-1.0.8.ebuild
a "\" is missing at the end of the line

is

    econf $(mpi_econf_args) ${c} ${romio_conf} \
        --docdir=$(mpi_root)/usr/share/doc/${PF}
        --with-pm=mpd:gforker \
        --disable-mpe \
        $(use_enable romio) \
        $(use_enable !nocxx cxx) \
        || die

should be

    econf $(mpi_econf_args) ${c} ${romio_conf} \
        --docdir=$(mpi_root)/usr/share/doc/${PF} \
        --with-pm=mpd:gforker \
        --disable-mpe \
        $(use_enable romio) \
        $(use_enable !nocxx cxx) \
        || die


how can i use git to send this in the main repo?
bye
Vittorio Giovara

On Thu, Feb 19, 2009 at 2:36 AM, Vittorio <vitto.giova@yahoo.it> wrote:
hi!
i was trying to build mpich2 with empi and the build fails just after "configuration done" with

/var/tmp/portage/mpi-mpich2/mpich2-1.0.8/temp/environment: line 3438: --with-pm=mpd:gforker: command not found

(content of the script)
3439:    econf $(mpi_econf_args) ${c} ${romio_conf} --docdir=$(mpi_root)/usr/share/doc/${PF};
3438:    --with-pm=mpd:gforker --disable-mpe $(use_enable romio) $(use_enable !nocxx cxx) || die;

how is it possible to fix this?
thanks
Vittorio