You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "B. Duffee" <bo...@cs.keele.ac.uk> on 2000/06/14 22:58:24 UTC
Handholding, please (whimper)
Sorry for just jumping on the list, but I've been through a great deal of the
Epigone archives and have come to the conclusion that I must be doing something
/really/ thick. I'm stuck on the Hello World module from the Eagle book.
Apache seems to be running fine (1.3.12 with perl5.6 on solaris 7) and mod_perl
1.24 seems to make alright (except for Leak.c - is that crucial??) After
modifying httpd.conf (and adding perl.conf and startup.pl) and restarting httpd
(which was built before mod perl was installed), it can't find /hello/world
Now, I didn't set up the server layout or do the original modifications on
httpd.conf to make it go, so maybe I have the files in the wrong place. The
error logs only show this:
->
peregrin# more /var/apache/logs/error_log
[Wed Jun 14 12:48:53 2000] [crit] (125)Address already in use: make_sock: could
not bind to port 80
<-
On the other hand, could it be something to do with the source being in a
different area than the apache source/installation?
->
peregrin# make
gcc -c -I/usr/local/include -O2 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\"
-fPIC -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE Leak.c
Leak.c: In function `XS_Apache__Leak_NoteSV':
Leak.c:165: `aTHX_' undeclared (first use in this function)
Leak.c:165: (Each undeclared identifier is reported only once
Leak.c:165: for each function it appears in.)
Leak.c:165: parse error before string constant
Leak.c:169: `dXSTARG' undeclared (first use in this function)
Leak.c:176: `XSprePUSH' undeclared (first use in this function)
Leak.c:176: `targ' undeclared (first use in this function)
Leak.c: In function `XS_Apache__Leak_CheckSV':
Leak.c:185: `aTHX_' undeclared (first use in this function)
Leak.c:185: parse error before string constant
Leak.c:187: parse error before `hash_ptr'
Leak.c:189: `dXSTARG' undeclared (first use in this function)
Leak.c:194: `XSprePUSH' undeclared (first use in this function)
Leak.c:194: `targ' undeclared (first use in this function)
Leak.c: In function `XS_Apache__Leak_check_arenas':
Leak.c:203: `aTHX_' undeclared (first use in this function)
Leak.c:203: parse error before string constant
*** Error code 1
make: Fatal error: Command failed for target `Leak.o'
Current working directory /opt/src/CPAN/build/mod_perl-1.24/Leak
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
<-
Thanks for listening. It's theraputic. ;}
---
Boyd Duffee Keele University Comp Sci (01782) 583437
Computing Officer http://www.astro.keele.ac.uk/~bjd/
"Give a man a fish and you feed him for a day. Show him to the Internet
and he won't bother you for weeks." - anon
Re: Handholding, please (whimper)
Posted by Vivek Khera <kh...@kciLink.com>.
>>>>> "BD" == B Duffee <bo...@cs.keele.ac.uk> writes:
BD> peregrin# more /var/apache/logs/error_log [Wed Jun 14 12:48:53
BD> 2000] [crit] (125)Address already in use: make_sock: could not
BD> bind to port 80 <- On the other hand, could it be something to do
BD> with the source being in a different area than the apache
You already have an httpd bound to port 80 on that machine. You can
have only one. Kill the other, or use a different port for this one
and adjust your URLs accordingly.