[mpich-discuss] mpich2-1.2.1p1 - cannot create regular file `/index.htm': Permission denied
Preeti
preeti at csa.iisc.ernet.in
Thu Mar 11 11:44:34 CST 2010
Hello
No, I have not modified anything at all, this is directly downloaded from
the website.
I have earlier installed mpich2 in other systems, but never faced this
problem, I am not able to understand whats going wrong? What should I do?
Thanks
Preeti
On Thu, Mar 11, 2010 at 11:00 PM, Dave Goodell <goodell at mcs.anl.gov> wrote:
> For some reason the build system is attempting to re-run many of the
> autotools (aclocal, autoheader, autoconf, etc) in some of the subdirectories
> of your build. These fail for various reasons, including that your
> autotools versions aren't compatible with MPICH2. The real problem is that
> the autotools are being re-run, you shouldn't need to have them installed on
> your system at all.
>
> When the various autotools fail to run correctly the build still continues
> for some reason, but with many incorrect values set. This leads to the
> "cannot create regular file" errors that you are seeing.
>
> Did you modify something in the source directory? Perhaps a file ending in
> ".in" or ".am" or ".sm"? A fresh un-tar and build of mpich2-1.2.1p1
> shouldn't generally have this problem...
>
> -Dave
>
>
> On Mar 11, 2010, at 10:00 AM, Preeti wrote:
>
> Hello
>>
>> I have rebuilt everything without setting the flags also
>>
>> /home/vss/preeti/bin/mpich2-1.2.1p1/configure
>> --prefix=/home/vss/preeti/bin/2-1.2.1build --enable-f90 2>&1 | tee c.log
>>
>> make 2>&1 | tee m.log
>> make install 2>&1 | tee mi.log
>>
>>
>> and this time I get the following error
>>
>> /usr/bin/install -c -m 644 index.htm /index.htm
>> /usr/bin/install: cannot create regular file `/index.htm': Permission
>> denied
>> mkdir: cannot create directory `/www1': Permission denied
>>
>>
>> The log files are attached.
>> What am I missing?
>>
>> Appreciate your help.
>>
>>
>> Thanks
>> Preeti
>>
>>
>>
>>
>> On Thu, Mar 11, 2010 at 4:37 PM, Preeti <preeti at csa.iisc.ernet.in> wrote:
>> Hello
>>
>> I have rebuilt everything from scratch and did vpath build.
>> I set the following
>>
>>
>> export F90=gfortran
>> export F77=gfortran
>> export LD_LIBRARY_PATH=/usr/lib64:/lib:/usr/lib
>> export LD_RUN_PATH=/usr/lib64:/lib:/usr/lib
>>
>> /home/vss/preeti/bin/mpich2-1.2.1p1/configure
>> --prefix=/home/vss/preeti/bin/2-1.2.1p1 --enable-f90 2>&1 | tee c.log
>>
>> make 2>&1 | tee m.log
>>
>>
>> Then I get the error
>>
>> Making all in mpl
>> /bin/sh: line 17: cd: mpl: No such file or directory
>>
>> make[3]: *** [all-recursive] Error 1
>>
>> The files are attached.
>> Please help.
>>
>>
>> Thanks
>> Preeti
>>
>>
>>
>>
>>
>>
>> On Thu, Mar 11, 2010 at 1:53 AM, <chan at mcs.anl.gov> wrote:
>>
>> I don't think setting F77 and F90 causes the problem that
>> you are seeing. The directories or subpackges that have
>> problems use a different build system than the majority of
>> mpich2 base, so it could be that there is bugs in the build system
>> in those subpackage.
>>
>> Since you didn't do "make distclean" before you reconfigure, so
>> the m.log(.old) do not tell me much. Can you rebuild everything
>> from scratch ? i.e. untar the mpich2 tarball in a different location.
>> Instead of doing an inpath build (i.e. cd mpich2-1.2.1p1/ ;
>> ./configure....),
>> could you do a VPATH build as documented in the README (search for the
>> word VPATH)? Send us the configure and make outputs again
>> (be sure to add 2>&1 in creating the output files).
>>
>> A.Chan
>>
>>
>> ----- "Preeti" <preeti at csa.iisc.ernet.in> wrote:
>>
>> > Hello
>> >
>> > Thank you for the quick response.
>> >
>> > I forgot to mention that I had set two flags earlier.
>> > export F90=gfortran
>> > export F77=gfortran
>> >
>> > The earlier problem is gone when I compiled without setting these. I
>> > am
>> > attaching all log files, the earlier ones and the new ones.
>> >
>> > Now I am facing another error which is from "make install 2>& | tee
>> > mi.log"
>> >
>> > /usr/bin/install: cannot create regular file `/index.htm': Permission
>> > denied
>> >
>> > Probably some variable is not set. I tried setting docdir too.
>> > mi.log is also attached.
>> >
>> > Please help.
>> >
>> >
>> > Thanks
>> > Preeti
>> >
>> >
>> >
>> > On Wed, Mar 10, 2010 at 9:33 PM, <chan at mcs.anl.gov> wrote:
>> >
>> > >
>> > > It is unclear what went wrong based on what you've provided so far.
>> > > Can you send us the configure and make outputs as stated in the
>> > > README (be sure to include the stderr in the output file) ?
>> > >
>> > > ----- "Preeti" <preeti at csa.iisc.ernet.in> wrote:
>> > >
>> > > > Hello
>> > > >
>> > > > I am trying to install mpich2-1.2.1p1 on a 64-bit Linux system.
>> > > >
>> > > > Configuration was successful.
>> > > > ./configure --prefix=$HOME/local/mpich2-1.2.1 --enable-f90 | tee
>> > > > c.log
>> > >
>> > > BTW, you didn't include stderr in c.log. Depends on the shell you
>> > > use, you need to either add "&" or "2>&1". See README for
>> > details..
>> > >
>> > > A.Chan
>> > >
>> > > _______________________________________________
>> > > mpich-discuss mailing list
>> > > mpich-discuss at mcs.anl.gov
>> > > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> > >
>> > > --
>> > > This message has been scanned for viruses and
>> > > dangerous content by MailScanner, and is
>> > > believed to be clean.
>> > >
>> > >
>> >
>> > _______________________________________________
>> > mpich-discuss mailing list
>> > mpich-discuss at mcs.anl.gov
>> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
>>
>>
>> <c.log><config.log><m.log><mi.log>_______________________________________________
>>
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20100311/d8cde008/attachment-0001.htm>
More information about the mpich-discuss
mailing list