i am trying to install mod_xsendfile to my gentoo server.

I did:

cd /usr/local/apache/bin
./apxs -cia /mod_xsendfile.c

and doenst' work.

it says:

gcc: /mod_sendfile.c: No such file or directory

but the file is there!

link|improve this question

78% accept rate
feedback

1 Answer

up vote 1 down vote accepted

Small chance that the file is located at /mod_xsendfile.c, it does not belong there. You possibly meant the current directory, either remove the slash, or replace the slash by ./ (current directory):

cd /usr/local/apache/bin
./apxs -cia mod_xsendfile.c
link|improve this answer
it works thanks. but stupid serverfault i can't accept this answer now – yes123 Feb 17 '11 at 15:54
Nah, serverfault is OK - otherwise, you would not have someone like me to answer your question :D – Lekensteyn Feb 17 '11 at 16:00
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.