[torquedev] [Bug 219] New: datarootdir entry missing from Makefile.in in 4.1.3 tarball.
bugzilla-daemon at supercluster.org
bugzilla-daemon at supercluster.org
Wed Oct 31 11:46:41 MDT 2012
http://www.clusterresources.com/bugzilla/show_bug.cgi?id=219
Summary: datarootdir entry missing from Makefile.in in 4.1.3
tarball.
Product: TORQUE
Version: 4.0.*
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Documentation
AssignedTo: knielson at adaptivecomputing.com
ReportedBy: griznog at gmail.com
CC: torquedev at supercluster.org
Estimated Hours: 0.0
Building torque-4.1.3 on CentOS 6.3 with --enable-drmaa results in these
warnings during ./configure:
configure: creating ./config.status
config.status: creating torque.spec
config.status: creating buildutils/pbs_mkdirs
config.status: creating buildutils/self-extract-head-sh
config.status: creating buildutils/modulefiles
config.status: WARNING: 'buildutils/modulefiles.in' seems to ignore the
--datarootdir setting
config.status: creating buildutils/modulefiles.vers
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir
setting
config.status: creating contrib/blcr/Makefile
config.status: creating contrib/init.d/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man1/Makefile
config.status: creating doc/man3/Makefile
config.status: creating doc/man7/Makefile
config.status: creating doc/man8/Makefile
config.status: creating src/Makefile
config.status: creating src/cmds/Makefile
config.status: WARNING: 'src/cmds/Makefile.in' seems to ignore the
--datarootdir setting
config.status: creating src/daemon_client/Makefile
config.status: WARNING: 'src/daemon_client/Makefile.in' seems to ignore the
--datarootdir setting
config.status: creating src/gui/Makefile
config.status: WARNING: 'src/gui/Makefile.in' seems to ignore the
--datarootdir setting
config.status: creating src/gui/Ccode/Makefile
config.status: WARNING: 'src/gui/Ccode/Makefile.in' seems to ignore the
--datarootdir setting
config.status: creating src/include/Makefile
...
This appears to be the result of the tarball having it's Makefile.in and
modulefile.in files produced with an autoconf earlier that 2.60, see
http://www.gnu.org/software/autoconf/manual/autoconf.html#Changed-Directory-Variables.
A workaround that worked for me is:
# Add datarootdir to all Makefile.in files:
find . -name Makefile.in -exec sed -i 's/datadir = @datadir@/datadir =
@datadir@\ndatarootdir = @datarootdir@/g' {} \;
A more "correct" fix might be to produce the tarball on a host with newer
autoconf tools. When I check out the 4.1.3 branch and run autogen.sh on a clean
copy it produces correct *.in files to build on CentOS 6.3.
griznog
--
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the torquedev
mailing list