Jim,

Hi, I made some headway by changing to gcc, but still had the following errors:

gcc -I . /var/www/cgi-bin/tmda-cgi/tmda-cgi.c -o tmda.cgi
/var/www/cgi-bin/tmda-cgi/tmda-cgi.c:22:20: /usr/include/stdlib.h: Permission denied
/var/www/cgi-bin/tmda-cgi/tmda-cgi.c:22:20: stdlib.h: Permission denied
/var/www/cgi-bin/tmda-cgi/tmda-cgi.c:23:19: /usr/include/fcntl.h: Permission denied
/var/www/cgi-bin/tmda-cgi/tmda-cgi.c:23:19: fcntl.h: Permission denied
make: *** [tmda.cgi] Error 1


Thanks,

Bhavesh



On Dec 10, 2003, at 9:20 AM, Jim Ramsay wrote:

Bhavesh Patel wrote:

cc -I . /var/www/cgi-bin/tmda-cgi/tmda-cgi.c -o tmda.cgi
make: execvp: cc: Permission denied
make: *** [tmda.cgi] Error 127
what can I do about this? Is this a limitation of my permissions on the server, or is there something else that I'm missing?

Can you run `cc` when you are logged in? Perhaps your system only has gcc on it. If you can run `gcc` when you are logged in, edit the Makefile (even though it says not to) and change the following line:


cc -I . /home/ramsay/src/tmda/tmda-cgi/tmda-cgi.c -o tmda.cgi

to

gcc -I . /home/ramsay/src/tmda/tmda-cgi/tmda-cgi.c -o tmda.cgi

and see if that works for now. If you run ./configure again, you'll have to edit the makefile again.

I'll edit the configure script so that in the next release we don't force people to use 'cc' to compile.

--
Jim Ramsay


_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users


_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users

Reply via email to