bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build m4 on RHEL 8


From: Duncan,Michael
Subject: Build m4 on RHEL 8
Date: Tue, 6 Jul 2021 16:38:41 +0000

Hello,

I am attempting to build a bison 3.7 module on a HPC cluster running RHEL 8.1

bison 3.7 requires gcc and m4 modules to build, so I am attempting to build the m4 module version 1.4.18

I loaded the gcc 9.2.0 module for the compile.

The configure step seems to work fine.
I run into the following error during the make step:

.
.
.
  CC       fclose.o
  CC       fcntl.o
  CC       fflush.o
  CC       fpurge.o
  CC       freadahead.o
freadahead.c: In function 'freadahead':
freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
   92 |  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
      |   ^~~~~
make[3]: *** [Makefile:1910: freadahead.o] Error 1
make[3]: Leaving directory '/cm/shared/build/m4-1.4.18/lib'
make[2]: *** [Makefile:1674: all] Error 2
make[2]: Leaving directory '/cm/shared/build/m4-1.4.18/lib'
make[1]: *** [Makefile:1572: all-recursive] Error 1
make[1]: Leaving directory '/cm/shared/build/m4-1.4.18'
make: *** [Makefile:1528: all] Error 2
[root@coprlclnhead1 m4-1.4.18]#

I do have coreutils installed, which is what I think this requires.  I am also attaching the output of the configure step. (I edited the hostname, but otherwise it is just as it was produced)

Can you assist in determining what I need to do to get this compiled?  Just installing through the OS does not work if bison requires m4 in order to run.  If bison only requires m4 to compile, then I may be able to just install m4 during the module build.

Thank you,

Mike Duncan

IT Engineering
MD Anderson
O 713-745-5742
The information contained in this e-mail message may be privileged, confidential, and/or protected from disclosure. This e-mail message may contain protected health information (PHI); dissemination of PHI should comply with applicable federal and state laws. If you are not the intended recipient, or an authorized representative of the intended recipient, any further review, disclosure, use, dissemination, distribution, or copying of this message or any attachment (or the information contained therein) is strictly prohibited. If you think that you have received this e-mail message in error, please notify the sender by return e-mail and delete all references to it and its contents from your systems.

Attachment: m4.configure
Description: m4.configure


reply via email to

[Prev in Thread] Current Thread [Next in Thread]