From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MR1Di-0006kL-0e for garchives@archives.gentoo.org; Wed, 15 Jul 2009 09:56:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3378AE02B6; Wed, 15 Jul 2009 09:56:12 +0000 (UTC) Received: from mail-vw0-f177.google.com (mail-vw0-f177.google.com [209.85.212.177]) by pigeon.gentoo.org (Postfix) with ESMTP id F3318E02B6 for ; Wed, 15 Jul 2009 09:56:11 +0000 (UTC) Received: by vwj7 with SMTP id 7so2780518vwj.32 for ; Wed, 15 Jul 2009 02:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=xUkhU5374cNaKDYtrbxcisx9gt01QYA58fRi16AjPcA=; b=tjhEOzOWCNjxAi8SexFLTmQEFypYzzMp8zY35wES/Ti3DUw0btPDXG8qInZoEK2PQ8 4QJzJMwduvM9mo6R12RdI4XQwxm96EPrO/PW+4l1fdrbiJZFkETDBWAz3iq3u7ktUzxy 1yMuup+q0c//KcrFDfP/OxmRO6UHUToqx/eBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=UbktEnlXSvwYLgMvBdEKLUCs5o9+6tOZPJeHLfdAJVC8mjNSKvbeVQO+4F78josSld fhAwo9WSV4taHTMkg4tHvD5hCesZxmfMQKhUj5yjC1VYUt5oUFEaDCF4OXyS+SE/63xW B/s5OYMjkgS0DdePU2Vfzve1hSclTVk9e78dk= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.75.70 with SMTP id x6mr10553250vcj.87.1247651771537; Wed, 15 Jul 2009 02:56:11 -0700 (PDT) Date: Wed, 15 Jul 2009 02:56:11 -0700 Message-ID: <9acccfe50907150256m3a36bfei7953f9326329a013@mail.gmail.com> Subject: [gentoo-user] mod_perl is hard to set up on gentoo; this even messes up vim From: "Kevin O'Gorman" To: users@httpd.apache.org, gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: ef5653ed-c5f1-4d51-a5c4-fe0f1a157c79 X-Archives-Hash: 33cb46259d53392920f22fb99b0f7b0e I wanted mod_perl on my gentoo system. It seems to be touchy about thread safety. Well that seemed reasonable, but it failed to emerge (gentoo-speak for "install from source"), and left me without my favorite editor (!!!): vim. To handle thread-safety issues, I put this in /etc/package.use: > # perl needs threads for mod_perl to work (or else mod_perl can't have threads) > # Moreover vim cannot be built unless perl and libperl have the same use flags > dev-lang/perl ithreads -ldap perlsuid doc > sys-devel/libperl ithreads -ldap perlsuid doc > www-apache/mod_perl ithreads -ldap doc The result was failure. I was not rebuilding vim, but it got killed in the process anyway: it errors out on startup. Moreover, I cannot re-emerge vim either, because it fails in about the same way as mod_perl. Both perl and libperl seem to build okay with the above lines in package-use. My running kernel matches /usr/src/linux, so the headers should be good. I'm looking for guidance from anyone who's using mod_perl with apache. Here's the build log: treat portage # cat /var/tmp/portage/www-apache/mod_perl-2.0.4-r1/temp/build.log >>> Unpacking source... >>> Unpacking mod_perl-2.0.4.tar.gz to /var/tmp/portage/www-apache/mod_perl-2.0.4-r1/work * Applying mod_perl-2.0.1-sneak-tmpdir.patch ... [ ok ] * Applying CVE-2009-0796.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/www-apache/mod_perl-2.0.4-r1/work >>> Compiling source in /var/tmp/portage/www-apache/mod_perl-2.0.4-r1/work/mod_perl-2.0.4 ... Errno architecture (i686-linux-2.6.24-gentoo-r4-kosmanor) does not match executable architecture (i686-linux-thread-multi-2.6.28-gentoo-r5-kosmanor) at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11. Compilation failed in require at /usr/lib/perl5/5.8.8/File/Path.pm line 185. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/File/Path.pm line 185. Compilation failed in require at Apache-Test/lib/Apache/TestConfig.pm line 46. BEGIN failed--compilation aborted at Apache-Test/lib/Apache/TestConfig.pm line 46. Compilation failed in require at lib/ModPerl/Code.pm line 27. BEGIN failed--compilation aborted at lib/ModPerl/Code.pm line 27. Compilation failed in require at lib/Apache2/Build.pm line 48. BEGIN failed--compilation aborted at lib/Apache2/Build.pm line 48. Compilation failed in require at Makefile.PL line 36. BEGIN failed--compilation aborted at Makefile.PL line 36. * * ERROR: www-apache/mod_perl-2.0.4-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2677: Called die * The specific snippet of code: * perl Makefile.PL PREFIX="${D}"/usr MP_TRACE=1 MP_DEBUG=1 MP_USE_DSO=1 MP_APXS=${APXS} INSTALLDIRS=vendor < /dev/null || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/www-apache/mod_perl-2.0.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apache/mod_perl-2.0.4-r1/temp/environment'. * -- Kevin O'Gorman, PhD