You are not logged in.
I was following this wiki:
http://wiki.archlinux.org/index.php/Apache_fastcgi
in the hopes of getting RoR set up, however I can't build mod_fastcgi as the tutorial says. I run the patch, it says "patching file fcgi.h", then when I run make thereafter (I did remember to copy the Makefile.AP2 to Makefile), it spits out:
Makefile:12: /home/httpd/apache2/build/special.mk: No such file or directory
make: *** No rule to make target `/home/httpd/apache2/build/special.mk'. Stop.
I don't know why, any help?
Offline
did you edit the makefile?
Make sure you do that part of the instructions too.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I did.
Offline
Based on those log messages, it doesn't look like it.
I would recommend comparing the makefile to the one on the wiki page.
Especially look at the
include ${top_builddir}/build/special.mk
portion of the makefile.
It should be looking at:
/home/httpd/build/special.mk
and not
/home/httpd/apache2/build/special.mk
which is what you are getting in your error output.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I don't know how I screwed that up, I double checked it...must have forgot in one of the times I redownloaded. Sorry. Now, though, after I execute make, and try to do "make install" as root, I get this problem:
make[1]: Entering directory `/root/mod_fastcgi-2.4.2'
/usr/share/apr-1/build/libtool --silent --mode=install cp mod_fastcgi.la /usr/lib/apache/
make[1]: Leaving directory `/root/mod_fastcgi-2.4.2'
make: *** No rule to make target `install-modules', needed by `install'. Stop.
Once again...stuck. The makefile just says: install: install-modules, and doesn't have a target as the error says. Seems odd.
As far as I can tell though, it worked. But if I look for mod_fastcgi.so in /usr/lib/apache/, it isn't there.
Last edited by Intrepidus (2007-06-19 18:07:57)
Offline
Just built it on a test box.
WTF. It looks like apache change the target for modules-install...
in the Makefile in the mod_fastcgi directory, change..
install: install-modules
to say
install: install-modules-yes
then just make install..seems to install now (wasn't able to test running it though).
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Having trouble with this now too. The only place special.mk exists on my machine is /usr/lib/httpd/build, and plugging that in pisses other things off.
Offline