From owner-freebsd-ports@FreeBSD.ORG Wed Aug 27 21:24:28 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A40891065677 for ; Wed, 27 Aug 2008 21:24:28 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 874F38FC0C for ; Wed, 27 Aug 2008 21:24:27 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KYSV5-000FI5-FF; Wed, 27 Aug 2008 17:24:26 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id D56CD2403FD2; Wed, 27 Aug 2008 17:24:22 -0400 (EDT) Message-ID: <48B5C629.1020303@FreeBSD.org> Date: Wed, 27 Aug 2008 17:24:57 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Guoqin Ren References: <48B5BBCF.5020504@unh.edu> In-Reply-To: <48B5BBCF.5020504@unh.edu> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: freebsd-ports@freebsd.org Subject: Re: /www/slash build error -- stopped on mod_perl X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2008 21:24:28 -0000 -----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-----