/www/slash build error -- stopped on mod_perl

Greg Larkin glarkin at FreeBSD.org
Wed Aug 27 21:24:28 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guoqin Ren wrote:
> Hi,
> 
> I tried to install |/www/slash, but |it stopped on mod_perl build error.
> 
> The system:  freebsd 7.0 minimal install, with appache2.2.9, mysql 5.0
> and php5  installed and the ports are updated.
> 
> Information on freshports.org shows that there is no maintainer for this
> port and the last update was made in Sep 2007. Does this mean that this
> port is obsolete?
> 
> Advise and suggestions, please. Thanks!
> 
> _____________________________________________________________________
> |......
> ......
> |mod_perl.c:1704: error: 'request_rec' has no member named 'uri'
> mod_perl.c:1704: error: 'request_rec' has no member named 'uri'
> mod_perl.c: In function 'perl_request_rec':
> mod_perl.c:1728: warning: cast from pointer to integer of different size
> mod_perl.c:1732: warning: cast to pointer from integer of different size
> mod_perl.c: In function 'perl_setup_env':
> mod_perl.c:1747: error: 'array_header' undeclared (first use in this
> function)
> mod_perl.c:1747: error: 'arr' undeclared (first use in this function)
> mod_perl.c:1748: error: 'table_entry' undeclared (first use in this
> function)
> mod_perl.c:1748: error: 'elts' undeclared (first use in this function)
> mod_perl.c:1748: error: expected expression before ')' token
> *** Error code 1
> 
> Stop in /usr/ports/www/mod_perl/work/mod_perl-1.30/apaci.
> *** Error code 1
> 
> Stop in /usr/ports/www/mod_perl/work/mod_perl-1.30.
> *** Error code 1
> 
> Stop in /usr/ports/www/mod_perl.
> *** Error code 1
> 
> Stop in /usr/ports/www/p5-Apache-DBI.
> *** Error code 1
> 
> Stop in /usr/ports/www/p5-Bundle-Slash.
> *** Error code 1
> 
> Stop in /usr/ports/www/slash.
> ______________________________________________________________________

Hi Guoquin,

I found this documentation on
http://www.freebsd.org/doc/en/books/handbook/network-apache.html:

"mod_perl is available a few different ways. To use mod_perl remember
that mod_perl 1.0 only works with Apache 1.3 and mod_perl 2.0 only works
with Apache 2.X."

"mod_perl 1.0 is available in www/mod_perl and a statically compiled
version is available in www/apache13-modperl. mod_perl 2.0 is available
in www/mod_perl2."

www/slash specifies www/mod_perl as a RUN_DEPENDS, but you've installed
Apache 2.2.x, and it appears that combination won't work.  If you revert
back to Apache 1.3.x, you should be able to install www/slash.

Ideally, the www/slash port should specify that it conflicts with Apache
2.x, unless it can be ported to use mod_perl2 as well as mod_perl.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/       - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItcYp0sRouByUApARAv6qAJ0WtO1anAyi4jqpSZbw9ZVtiihwEgCgu7xJ
APetzLxocGEGLxfL6lPG3A4=
=yYS3
-----END PGP SIGNATURE-----



More information about the freebsd-ports mailing list