HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: configuring flex:Make: Cannot load yacc. Stop...
Operating System - HP-UX
1833871
Members
1722
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-01-2002 08:31 AM
02-01-2002 08:31 AM
configuring flex:Make: Cannot load yacc. Stop.
When I do a make CFLAGS=-O2 LDFLAGS=-s under flex I get the following message:
make CFLAGS=-O2 LDFLAGS=-s
cp ./initscan.c scan.c
touch .bootstrap
CONFIG_FILES= CONFIG_HEADERS=config.h:conf.in ./config.status
creating config.h
config.h is unchanged
echo timestamp >stamp-h
gcc -c -I. -I. -O2 ccl.c
gcc -c -I. -I. -O2 dfa.c
gcc -c -I. -I. -O2 ecs.c
gcc -c -I. -I. -O2 gen.c
gcc -c -I. -I. -O2 main.c
gcc -c -I. -I. -O2 misc.c
gcc -c -I. -I. -O2 nfa.c
yacc -d ./parse.y
Make: Cannot load yacc. Stop.
*** Error exit code 1
Stop.
I have put the full path to flex in my profile.
Can anyone help Please?
make CFLAGS=-O2 LDFLAGS=-s
cp ./initscan.c scan.c
touch .bootstrap
CONFIG_FILES= CONFIG_HEADERS=config.h:conf.in ./config.status
creating config.h
config.h is unchanged
echo timestamp >stamp-h
gcc -c -I. -I. -O2 ccl.c
gcc -c -I. -I. -O2 dfa.c
gcc -c -I. -I. -O2 ecs.c
gcc -c -I. -I. -O2 gen.c
gcc -c -I. -I. -O2 main.c
gcc -c -I. -I. -O2 misc.c
gcc -c -I. -I. -O2 nfa.c
yacc -d ./parse.y
Make: Cannot load yacc. Stop.
*** Error exit code 1
Stop.
I have put the full path to flex in my profile.
Can anyone help Please?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 08:33 AM
02-01-2002 08:33 AM
Re: configuring flex:Make: Cannot load yacc. Stop.
You need to install yacc first.
live free or die
harry
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 08:52 AM
02-01-2002 08:52 AM
Re: configuring flex:Make: Cannot load yacc. Stop.
Well, since you are using gcc you almost certainly didn't purchase any sort of development system. Yacc and lex are bundled with any of the C/C++ deveopment systems. You need to install the Gnu version of yacc which is called bison.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2002 08:56 AM
02-01-2002 08:56 AM
Re: configuring flex:Make: Cannot load yacc. Stop.
Hi,
Check your /opt/langtools/bin directory to see if you have yacc installed (comes with any C/C++ development toolkit) If so, modify your path.
Else you can get Berkeley yacc from this site.
http://hpux.ee.ualberta.ca/hppd/hpux/Languages/byacc-3.0/
-Sri
Check your /opt/langtools/bin directory to see if you have yacc installed (comes with any C/C++ development toolkit) If so, modify your path.
Else you can get Berkeley yacc from this site.
http://hpux.ee.ualberta.ca/hppd/hpux/Languages/byacc-3.0/
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP