Can"t install libapreq2 on Fedora 2

Can"t install libapreq2 on Fedora 2

am 04.11.2005 16:50:59 von Victor Dias

I need to install Mason on Fedora 2 with Apache 2.
When I try to install Mason i receive:

* ERROR: Prerequisite Apache::Request isn't installed

I need to install the Apache2::Request (libapreq2) module for Apache
2, and when I try to install it:

build/version_check.pl failed: no version_string found in '' for 'mod_perl'=
..
../configure: line 1: apxs: command not found
build/version_check.pl failed: no version_string found in '' for 'apache2'.

If I pass the apxs path to the configure script works, but if I try to
install Mason again:

* ERROR: Prerequisite Apache::Request isn't installed

Im using:
Fedora 2
httpd-2.0.51-2.9
httpd-devel-2.0.51-2.9
perl-5.8.3-18
mod_perl-1.99_12-2.1
mod_perl-devel-1.99_12-2.1
libapreq2-2.06-dev
HTML-Mason-1.3101
kernel-2.6.10-1.771_FC2

Any help?

Thanks.

Re: Can"t install libapreq2 on Fedora 2

am 04.11.2005 17:03:17 von Perrin Harkins

On Fri, 2005-11-04 at 13:50 -0200, Victor Dias wrote:
> Im using:
[...]
> mod_perl-1.99_12-2.1

You need a newer mod_perl. The latest is 2.0.2.

- Perrin

Re: Can"t install libapreq2 on Fedora 2

am 04.11.2005 18:00:30 von Victor Dias

I did the same install on Fedora 4 with mod_perl-2.0.1-1.fc4.

cd libapreq2-2.06-dev
perl Makefile.PL --with-apache2-apxs=3D/usr/sbin/apxs
make

receive:
/var/www/html/libapreq2-2.06-dev/glue/perl/xsbuilder/apreq_x s_postperl.h:21=
:34:
error: modperl_perl_unembed.h: Arquivo ou diret=F3rio n=E3o encontrado
/var/www/html/libapreq2-2.06-dev/glue/perl/xsbuilder/apreq_x s_postperl.h:24=
:33:
error: modperl_common_util.h: Arquivo ou diret=F3rio n=E3o encontrado
In file included from Apache2.xs:45:
/var/www/html/libapreq2-2.06-dev/glue/perl/xsbuilder/APR/Req uest/Apache2/AP=
R__Request__Apache2.h:1:22:
error: mod_perl.h: Arquivo ou diret=F3rio n=E3o encontrado
Apache2.c: In function 'XS_APR__Request__Apache2_handle':
Apache2.c:65: warning: initialization makes pointer from integer without a =
cast
make[6]: ** [Apache2.o] Erro 1
make[6]: Leaving directory
`/var/www/html/libapreq2-2.06-dev/glue/perl/xs/APR/Request/A pache2'
make[5]: ** [subdirs] Erro 2
make[5]: Leaving directory
`/var/www/html/libapreq2-2.06-dev/glue/perl/xs/APR/Request'
make[4]: ** [subdirs] Erro 2
make[4]: Leaving directory `/var/www/html/libapreq2-2.06-dev/glue/perl/xs/A=
PR'
make[3]: ** [subdirs] Erro 2
make[3]: Leaving directory `/var/www/html/libapreq2-2.06-dev/glue/perl/xs'
make[2]: ** [subdirs] Erro 2
make[2]: Leaving directory `/var/www/html/libapreq2-2.06-dev/glue/perl'
make[1]: ** [perl_glue] Erro 2
make[1]: Leaving directory `/var/www/html/libapreq2-2.06-dev/glue'
make: ** [all-recursive] Erro 1

How can I install Mason without the Apache::Request dependency?
I want to try the CGI mode now.
The recomendation is to use CGI mode or modperl? What is better?

Any help?


2005/11/4, Perrin Harkins :
> On Fri, 2005-11-04 at 13:50 -0200, Victor Dias wrote:
> > Im using:
> [...]
> > mod_perl-1.99_12-2.1
>
> You need a newer mod_perl. The latest is 2.0.2.
>
> - Perrin
>
>

Re: Can"t install libapreq2 on Fedora 2

am 04.11.2005 18:10:47 von Chris Grau

--gMR3gsNFwZpnI/Ts
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 04, 2005 at 03:00:30PM -0200, Victor Dias wrote:
> I did the same install on Fedora 4 with mod_perl-2.0.1-1.fc4.
>=20
> cd libapreq2-2.06-dev
> perl Makefile.PL --with-apache2-apxs=3D/usr/sbin/apxs
> make
[snip]
> How can I install Mason without the Apache::Request dependency?
> I want to try the CGI mode now.
> The recomendation is to use CGI mode or modperl? What is better?
>=20
> Any help?

If you're using Fedora Core 4, why not just use the packages available?

[cgrau@anubis ~]$ yum list \*libapreq2 perl-HTML-Mason
Setting up repositories
Reading repository metadata in from local files
Available Packages
libapreq2.i386 2.06-2.fc4 extras
perl-HTML-Mason.noarch 1.3101-3.fc4 extras
perl-libapreq2.i386 2.06-2.fc4 extras

As for installing on FC-2, if one wants to continue using the package
management system instead of compiling from source, well, one can do
both. I recommend grabbing the source packages from FC-5 (development)
and building them on FC-2. It should work fairly well. I managed to do
it on Red Hat Linux 9 systems with minimal hassle.

--=20
Chris Grau

--gMR3gsNFwZpnI/Ts
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFDa5YXazB9LZvsfjMRAn0LAJ9terpgQ0rwT9IGRa0OdkbIOgiTogCf YN9s
Gq6VvNkLQR5OxfV2GhJ7kWM=
=Ux/o
-----END PGP SIGNATURE-----

--gMR3gsNFwZpnI/Ts--

Re: Can"t install libapreq2 on Fedora 2

am 04.11.2005 21:27:20 von Fred Moyer

On Fri, 4 Nov 2005 9:33 am, Victor Dias wrote:
> I did the same install on Fedora 4 with mod_perl-2.0.1-1.fc4.

> Any help?

Try building 2.0.2 from source. The redhat / fedora packages have never
been completely error free in my experience. I've built 2.0.2 with
libapreq 2.0.6-dev several times with no problems.