- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Installing bison - receiving m4 error.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 06:14 AM
тАО07-25-2006 06:14 AM
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/bin/m4
checking whether m4 supports frozen files... no
configure: error: GNU M4 1.4 is required
Does anyone know why I'm getting this error and how to fix it?
I'm running this on HP-UX 11.0 box and have just installed GNU m4 1.4.
GBR
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 06:30 AM
тАО07-25-2006 06:30 AM
SolutionMost likely the PATH variable does not include the install point for GNU m4. /usr/bin/m4 is probably not where GNU m4 is installed. Change the PATH includes the actual m4 you need before /usr/bin
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 06:34 AM
тАО07-25-2006 06:34 AM
Re: Installing bison - receiving m4 error.
I'm pretty sure that will work, but that would involve modifying /etc/PATH right?
Is putting /usr/local/bin before /usr/bin a bad thing?
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 06:39 AM
тАО07-25-2006 06:39 AM
Re: Installing bison - receiving m4 error.
The reason I don't recommend chaning /etc/PATH is picky and the way I do things.
Better to do this right before configuring bison.
PATH=
example
PATH=/usr/local/bin/gnu/m4:$PATH
This sticks gnu in ahead of the m4 that is not capble of working with bison.
You can modify PATH in any number of ways but I prefer the way I just told you.
Gave fun and good luck. Note: The End of Support date on 11.00 is December 31, this year.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 07:16 AM
тАО07-25-2006 07:16 AM
Re: Installing bison - receiving m4 error.
Good advice.
I set the PATH just before configuration to /usr/local/bin (it worked). It didn't work with /user/local/bin/m4.
To clarify, if I set the PATH for the bison build, the bison app will always use the PATH that was set at compilation time (which is PATH=/usr/local/bin:$PATH)?
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2006 07:39 AM
тАО07-25-2006 07:39 AM
Re: Installing bison - receiving m4 error.
Glad to help btw.
what /usr/local/bin/m4
This should enable you to confirm that this is indeed the gnu version of m4.
There may be a need to change the ./configure file. I'm not the worlds greatest compiler, so can't be sure about that. There may be further advice in the README and other compile instructions that ship with bison source code.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2006 12:00 AM
тАО07-26-2006 12:00 AM
Re: Installing bison - receiving m4 error.
if the location of the m4 macro processor is configurable,
configure --help
will tell you the required option.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2006 05:45 AM
тАО08-09-2006 05:45 AM