[MOAB-dev] Configure error with README.moabuse
Vijay S. Mahadevan
vijay.m at gmail.com
Mon Oct 22 16:40:14 CDT 2012
Ah yes. Autoreconf fixed the issues. Thanks.
Vijay
On Mon, Oct 22, 2012 at 4:25 PM, Milad Fatenejad <icksa1 at gmail.com> wrote:
> Yea, since the code I removed was in configure.ac, I think you have to run
> autoconf again, which will update the configure script. Then rerun
> configure.
>
> Milad
>
>
> On Mon, Oct 22, 2012 at 4:23 PM, Iulian Grindeanu <iulian at mcs.anl.gov>
> wrote:
>>
>> a make clean should fix your issues (or distclean?)
>> there are no references now to moabuse , except the folder itself + files,
>> which should be fine
>>
>> ________________________________
>>
>> > OK, I just removed all references to moabuse from configure.ac. So if
>> > you
>> > pull and run autoconf again, things should be ok.
>>
>> I just did but the error persists. I'm at -r5820.
>>
>> You did not update the configure script to remove references to
>> moabuse and hence it still fails. You will have to update config_files
>> in config.status and any other references to these files in the
>> configure script. Also, you can add the header and sources to the
>> installation by adding them part of AM_INSTALL or some other variable.
>> So please revert the *.in for sources.
>>
>> Autotools is a small learning curve. These are easy mistakes to fix
>> and so no worries.
>>
>> Best,
>> Vijay
>>
>> On Mon, Oct 22, 2012 at 4:12 PM, Milad Fatenejad <icksa1 at gmail.com> wrote:
>> > Hi Vijay:
>> >
>> > OK, I just removed all references to moabuse from configure.ac. So if
>> > you
>> > pull and run autoconf again, things should be ok.
>> >
>> > So, the idea was that these files would get copied into the install
>> > directory. I spoke to Iulian today and realized that I kind of screwed
>> > this
>> > up. The way it is set up now, the files will get copied into the build
>> > directory. You are correct that the write thing to do is create a
>> > Makefile.am and work with that. I am new to autoconf and made a lot of
>> > mistakes, so my hope is to just disable all of this until I can learn
>> > more.
>> >
>> > My apologies.
>> > Milad
>> >
>> >
>> > On Mon, Oct 22, 2012 at 3:51 PM, Vijay S. Mahadevan <vijay.m at gmail.com>
>> > wrote:
>> >>
>> >> Milad,
>> >>
>> >> I still get the same configure error after pulling your latest
>> >> changes. I now have a README.moabuse.in but looks like you need to
>> >> update configure or add Makefile.am for the changes to take effect.
>> >>
>> >> config.status: error: cannot find input file:
>> >> examples/moabuse/README.moabuse
>> >>
>> >> [vijaysm at janus moab-dev] ls examples/moabuse/
>> >> Makefile Makefile.in mberr.hpp.in moabuse1.cpp.in moabuse2.cpp.in
>> >> moabuse3.cpp.in moabuse4.cpp.in README.moabuse.in
>> >>
>> >> As Iulian pointed out, why are these configure time files anyway and
>> >> not just sources that get compiled during make ? The hpp/cpp files
>> >> dont need to be inspected during configure and it is unnecessary.
>> >>
>> >> Vijay
>> >>
>> >> On Mon, Oct 22, 2012 at 2:52 PM, Milad Fatenejad <icksa1 at gmail.com>
>> >> wrote:
>> >> > Hi Vijay:
>> >> >
>> >> > Sorry, this was my fault. I just checked in a fix.
>> >> >
>> >> > Milad
>> >> >
>> >> >
>> >> > On Mon, Oct 22, 2012 at 2:37 PM, Vijay S. Mahadevan
>> >> > <vijay.m at gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> While updating the repository to the latest version, I pulled and
>> >> >> re-configured with the command below but the configure process gives
>> >> >> an error message now and stops.
>> >> >>
>> >> >> ./configure --prefix=/home/vijaysm/software/opt/moab
>> >> >> --with-hdf5=/home/jain/hdf5-1.8.9 --disable-debug --enable-optimize
>> >> >> --with-mpi=/soft/mvapich2/1.5.1p1/intel/11.1.059 --enable-mbcoupler
>> >> >> --enable-mbpart --enable-mbsize
>> >> >> --with-netcdf=/home/jain/lib/netcdf-4.1.2
>> >> >> --with-zoltan=/home/jain/lib/Zoltan_v3.3
>> >> >> --with-parmetis=/home/jain/ParMETIS3_1
>> >> >> checking build system type... x86_64-unknown-linux-gnu
>> >> >> ...
>> >> >> ...
>> >> >> config.status: creating examples/moabuse/Makefile
>> >> >> config.status: creating examples/moabuse/README.moabuse
>> >> >> config.status: error: cannot find input file:
>> >> >> examples/moabuse/README.moabuse
>> >> >> ------------------------
>> >> >>
>> >> >> When I do an svn up again, I get
>> >> >> Restored 'examples/moabuse/README.moabuse'.
>> >> >>
>> >> >> Perhaps somewhere inside configure, the README file is being deleted
>> >> >> (I checked Makefile.in and it is part of the Clean files). Also I
>> >> >> dont
>> >> >> understand the logic for adding a README file as part of the
>> >> >> configure
>> >> >> process. This seems to be static and a reconfigure wipes it out. Is
>> >> >> there a README.moabuse.in that is not in the repository ? Let me
>> >> >> know
>> >> >> if you need config.log for more details.
>> >> >>
>> >> >> Thanks,
>> >> >> Vijay
>> >> >
>> >> >
>> >
>> >
>>
>>
>
More information about the moab-dev
mailing list