🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1259

m4 version 1.0.3

#1259
From: Eric Backus
Date: Tue, 05 Jan 1993 22:55
32 lines
1861 bytes
I recently got m4-1.0.3.tar.Z from prep.ai.mit.edu.  I tried building
it on an HP 350 running HP-UX 8.0.  I did "./configure" followed by
"make".  The make failed when trying to create the "libm4.a" in the
"lib" subdirectory.  Output looked like this:


< Lots more stuff leading to this deleted >
        cd lib; make  CC='gcc' CFLAGS='-O2 -finline-functions -fomit-frame-pointer' LIBOJBS=''  RANLIB='ranlib' AWK='gawk' libm4.a
        gcc -c -O2 -finline-functions -fomit-frame-pointer  -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TMPFILE=1 -DHAVE_EFGCVT=2 -I. obstack.c
        gcc -c -O2 -finline-functions -fomit-frame-pointer  -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TMPFILE=1 -DHAVE_EFGCVT=2 -I. regex.c
        gcc -c -O2 -finline-functions -fomit-frame-pointer  -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TMPFILE=1 -DHAVE_EFGCVT=2 -I. getopt.c
        gcc -c -O2 -finline-functions -fomit-frame-pointer  -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_TMPFILE=1 -DHAVE_EFGCVT=2 -I. getopt1.c
         cru libm4.a obstack.o regex.o getopt.o getopt1.o
Make: Cannot load cru.  Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


I tried again, using GNU make rather than HP's make, and everything
worked correctly.

The cause of the problem appears to be that HP's make does not provide
a default value for the "AR" variable, while GNU make does.  Is this
something that "configure" could fix?
--
				Eric Backus
				ericb@lsid.hp.com
				(206) 335-2495
Technical Details
Message-ID: <9301052255.AA20298@labejb.lsid.hp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!lsid.hp.com!ericb

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!lsid.hp.com!ericb
From: ericb@lsid.hp.com (Eric Backus)
Subject: m4 version 1.0.3
Message-ID: <9301052255.AA20298@labejb.lsid.hp.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 5 Jan 1993 22:55:29 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 33