On Thu, Dec 12, 2013 at 1:41 PM, Kirk, Benjamin (JSC-EG311)
<benjamin.k...@nasa.gov> wrote:
> When I run configure twice in a row on linux, I get this the second time:
>
> ...
> config.status: creating include/libmesh_config.h.tmp
> config.status: include/libmesh_config.h.tmp is unchanged
> config.status: executing include/libmesh_config.h commands
> config.status: creating include/libmesh_config.h - prefix LIBMESH for 
> include/libmesh_config.h.tmp defines
> config.status: include/libmesh_config.h is unchanged
> config.status: executing depfiles commands
> === configuring in contrib/netcdf/v4 
> (/aerolab/benkirk/libmesh/gcc-4.6/contrib/netcdf/v4)
> …
>
>
> Do you not?
>
> Notice you can actually get this by running
>
> $ ./config.status
> $ ./config.status
>
> I'm guessing something is causing that logic to fail, but I can't guess why…


Repeated calls to ./config.status results in the same output for me:

...
config.status: creating include/libmesh_config.h.tmp
config.status: include/libmesh_config.h.tmp is unchanged
config.status: executing include/libmesh_config.h commands
config.status: creating include/libmesh_config.h - prefix LIBMESH for
include/libmesh_config.h.tmp defines
config.status: include/libmesh_config.h is unchanged


> Might have a look for 'unchanged' in the config.status file…

Did you mean config.log?  Looks like the same output of config.status
that I pasted above is in config.log as well.

Note that just running 'make install' repeatedly, even without
touching any files, updates the timestamp on the libmesh_config.h file
_every_ time on my linux box.


Another file that seems to get updated every time is
${LIBMESH_DIR}/bin/libmesh-config, but it's pretty easy to see why...
we do some sed magic on it and then manually move it to its final
location rather than /usr/bin/install'ing it:

cat /home/petejw/projects/libmesh_git/install/bin/libmesh-config |
/bin/sed "s/has_been_installed=no/has_been_installed=yes/g" >
/home/petejw/projects/libmesh_git/install/bin/libmesh-config.installed
mv /home/petejw/projects/libmesh_git/install/bin/libmesh-config.installed
/home/petejw/projects/libmesh_git/install/bin/libmesh-config && chmod
+x /home/petejw/projects/libmesh_git/install/bin/libmesh-config

But I don't think we're doing anything like that to libmesh_config.h.
In fact I can see the command that installs it:

/usr/bin/install -C -m 644 libmesh/libmesh_config.h (... bunch of
other files ...)
'/home/petejw/projects/libmesh_git/install/include/libmesh'

and that should really do the right thing.

-- 
John

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to