I've been trying to install m4, Bison, and Flex on an Ultra 10 running Solaris 8 and I keep running into problems when I try to run make. Perhaps it's a very simple problem but I'm very new to Unix and I can't seem to find the answer in any of the books I have so maybe someone can help.
Sorry if this is too much information, but here's my experience for each of the three programs.
When I type ./configure for bison or flex, one of the output lines says:
checking whether make sets $MAKE... ./configure: make: not found no
When I run ./configure for m4, it doesn't have any problem finding make
(make and an older version of m4 are in /usr/ccs/bin on my system. I have updated the PATH to include /usr/ccs/bin)
Then if I type make for bison, I get the following output:
make: Fatal error: No arguments to build
If I type make for flex, I get the following output:
cp ./initscan.c scan.c
touch .bootstrap
cc -c -I. -I. -g ccl.c
/usr/ucb/cc: language optional software package not installed
*** Error code 1
make: Fatal error: command failed for target 'ccl.o'
If I type make for m4, I get the following output:
for subdir in doc lib src checks examples; do echo making all in $subdir; (cd $subdir && make CC='cc' CFLAGS='-g' LDFLAGS='' LIBS='' prefix='/usr/local' exec_prefix='/usr/local' bindir ='/usr/local/bin' infodir='/usr/local/info' all) || exit 1; done
making all in doc
sh: make: not found
*** Error code 1
make: Fatal error: Command failed for target 'all'
Any help would very much appreciated!!
Thanks,
Shaun
Sorry if this is too much information, but here's my experience for each of the three programs.
When I type ./configure for bison or flex, one of the output lines says:
checking whether make sets $MAKE... ./configure: make: not found no
When I run ./configure for m4, it doesn't have any problem finding make
(make and an older version of m4 are in /usr/ccs/bin on my system. I have updated the PATH to include /usr/ccs/bin)
Then if I type make for bison, I get the following output:
make: Fatal error: No arguments to build
If I type make for flex, I get the following output:
cp ./initscan.c scan.c
touch .bootstrap
cc -c -I. -I. -g ccl.c
/usr/ucb/cc: language optional software package not installed
*** Error code 1
make: Fatal error: command failed for target 'ccl.o'
If I type make for m4, I get the following output:
for subdir in doc lib src checks examples; do echo making all in $subdir; (cd $subdir && make CC='cc' CFLAGS='-g' LDFLAGS='' LIBS='' prefix='/usr/local' exec_prefix='/usr/local' bindir ='/usr/local/bin' infodir='/usr/local/info' all) || exit 1; done
making all in doc
sh: make: not found
*** Error code 1
make: Fatal error: Command failed for target 'all'
Any help would very much appreciated!!
Thanks,
Shaun