Jump to content
Excelsior Forums
Sign in to follow this  

Library building problem

Recommended Posts

I'm using a freshly installed version of Red hat 4, and trying to install Modula 2.

In readme.txt, part 1.2 gives instructions for building the runtime library.

When following those instructions I get an error:

$ make -f lib.mfk

gcc -D_unix -D_linux -DX2C_no_spawn -DX2C-strcmp -DX2C_native_library -02 -fno-strength-reduce -I../../include -c -o ../../C/COROUTINES.o ../../C/COROUTINES.c

make: execvp: gcc: Permision denied

make: ***  [../../C/COROUTINES.o] Error 127

I've checked permissions for all relevant directories and files, and they are all 755 or looser.  Can anybody make sense of this error?



PS: It seems odd, but gcc here is a directory, not a file. 

Share this post

Link to post
Share on other sites

Ok, I found out enough about make to figure out that 'permission denied' can mean that it expected an executable file but found a directory, so please ignore the previous question.

( BTW, when I said 'red hat 4' in the original post, I meant to say 'Fedora 4'. )

For some bizarre reason, the gnu c compiler is no longer called 'gcc' on Fedora 4.  It appears to be 'cc1', and is buried in several sub-directories inside the gcc directory.

I'm going back to Fedora 3 and retry the whole install from the beginning.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this