[torquedev] [Bug 179] New: autogen.sh tries to use incorrect m4 directory

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Mon Apr 23 19:22:52 MDT 2012


           Summary: autogen.sh tries to use incorrect m4 directory
           Product: TORQUE
           Version: 3.0.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: pbs_server
        AssignedTo: dbeer at adaptivecomputing.com
        ReportedBy: rhys.hill at adelaide.edu.au
                CC: torquedev at supercluster.org
   Estimated Hours: 0.0

On RHEL 5, autogen.sh from the 4.0.1 branch with revision r6023, creates a
configure script with the wrong m4 include directory:

[rhys at moby torque-4.0.1]$ ./autogen.sh 
Putting files in AC_CONFIG_AUX_DIR, `buildutils'.
aclocal:configure.ac:116: warning: macro `AM_SILENT_RULES' not found in library
aclocal:configure.ac:451: warning: macro `AM_SILENT_RULES' not found in library
[rhys at moby torque-4.0.1]$ ./configure 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: error: cannot find macro directory `m4'

Changing these two lines in the configure script:

case m4 in
  [\\/]* | ?:[\\/]* ) ac_macro_dir=m4         ;;
  *)                      ac_macro_dir=$srcdir/m4 ;;


case m4 in
  [\\/]* | ?:[\\/]* ) ac_macro_dir=buildutils         ;;
  *)                      ac_macro_dir=$srcdir/buildutils ;;

fixes the problem.

I have automake v1.9.6 and autoconf v2.59

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