You are not logged in.

#1 2007-06-19 16:44:25

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

Can't build mod_fastcgi

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

#2 2007-06-19 17:12:40

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Can't build mod_fastcgi

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

#3 2007-06-19 17:17:53

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

Re: Can't build mod_fastcgi

I did.

Offline

#4 2007-06-19 17:32:13

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Can't build mod_fastcgi

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

#5 2007-06-19 18:04:06

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

Re: Can't build mod_fastcgi

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

#6 2007-06-19 19:14:04

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Can't build mod_fastcgi

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

#7 2008-12-31 02:39:18

cookiecaper
Member
Registered: 2007-09-22
Posts: 198

Re: Can't build mod_fastcgi

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

Board footer

Powered by FluxBB