You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jens-Uwe Mager <ju...@helios.de> on 2001/07/17 09:38:55 UTC
Re: Problems building Bundle::Apache - libapreq-0.33
On Tue, Jul 17, 2001 at 12:29:25AM +0000, Alan Burlison wrote:
> I'm trying to build Bundle::Apache and I get the following error when
> building libapreq (everthing else in the bundle builds fine):
>
> cc -c -I../c
> -I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/Apache/include
> -I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/Apache/include/include
> -I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/Apache/include/regex
> -I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/Apache/include/os/unix
> -I/home1/web/apache_1.3.20/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"0.33\"
> -DXS_VERSION=\"0.33\" -KPIC -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE
> Request.c
> "Request.xs", line 40: cannot find include file: "mod_perl.h"
> "Request.xs", line 86: syntax error before or at: SV
> "Request.xs", line 86: cannot recover from previous errors
> cc: acomp failed for Request.c
>
> The platform is Solaris, Perl 5.6.1 and Apache 1.3.20. Everything else is
> the latest available from CPAN. The INSTALL file is less than helpful, and
> a search of the modperl archives didn't find anything.
Did you make install modperl yet?
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: jum@helios.de
Re: Problems building Bundle::Apache - libapreq-0.33
Posted by Jens-Uwe Mager <ju...@helios.de>.
On Tue, Jul 17, 2001 at 11:08:43AM +0100, Alan Burlison wrote:
> Jens-Uwe Mager wrote:
>
> > Did you make install modperl yet?
>
> Yes, via APXS. mod_perl is installed and works just fine. I can see the
> missing mod_perl.h file in the modperl build directory, but it doesn't
> appear anywhere under site_perl - should mod_perl copy it somewhere during
> 'make install'? I'm using a slightly non-standard perl layout, so instead
> of being under /usr/local perl lives under /usr/perl5. From looking at
> where stuff generally goes, and the -I flags used when building libapreq I
> guess mod_perl.h should be somewhere under
> /usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/Apache, but it isn't
> there.
In my build (using APACI, though) I find the file under:
/data/jum/perl/lib/site_perl/5.6.1/aix/auto/Apache/include/modules/perl/mod_perl.h
But isn't the install of mod_perl nearly the same if built via APACI or
APXS? APXS just means a different installation of the Apache module
itself, the perl modules for the perl directory are installed the same
using make install.
--
Jens-Uwe Mager
HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany
Phone: +49 5131 709320
FAX: +49 5131 709325
Internet: jum@helios.de
Re: Problems building Bundle::Apache - libapreq-0.33
Posted by Alan Burlison <Al...@sun.com>.
Stas Bekman wrote:
> > Here is the output of 'make install'
>
> I don't think it logs the install of these headers. Please check the
> created Makefile. Does it include the mod_perl.h in one of the targets?
No.
Alan Burlison
Re: Problems building Bundle::Apache - libapreq-0.33
Posted by Stas Bekman <st...@stason.org>.
On Wed, 18 Jul 2001, Stas Bekman wrote:
> On Tue, 17 Jul 2001, Alan Burlison wrote:
>
> > Stas Bekman wrote:
> >
> > > Looks like an issue with APACHE_HEADER_INSTALL
> > > http://perl.apache.org/guide/install.html#APACHE_HEADER_INSTALL
> > >
> > > Did you install mod_perl by yourself?
> >
> > Yes, as my attempt to build it as part of Bundle::Apache barfed.
> >
> > Here is the contents of my makepl_args.mod_perl:
> >
> > APACHE_SRC=/home1/software/apache/build/apache_1.3.20/src
> > EVERYTHING=1
> > USE_APXS=1
> > WITH_APXS=/home1/web/apache_1.3.20/bin/apxs
> >
> > Here is the output of 'make install'
>
> I don't think it logs the install of these headers. Please check the
> created Makefile. Does it include the mod_perl.h in one of the targets?
I didn't build the whole thing since my apache was built without mod_so,
but the created Makefile includes all the header files with the above
args. that's on linux box.
May be you could try to copy these manually? Here is what I have:
$ ls \
/usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Apache/include/modules/perl/
apache_inc.h mod_perl.h mod_perl_version.h mod_perl_xs.h perl_PL.h
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: Problems building Bundle::Apache - libapreq-0.33
Posted by Stas Bekman <st...@stason.org>.
On Tue, 17 Jul 2001, Alan Burlison wrote:
> Stas Bekman wrote:
>
> > Looks like an issue with APACHE_HEADER_INSTALL
> > http://perl.apache.org/guide/install.html#APACHE_HEADER_INSTALL
> >
> > Did you install mod_perl by yourself?
>
> Yes, as my attempt to build it as part of Bundle::Apache barfed.
>
> Here is the contents of my makepl_args.mod_perl:
>
> APACHE_SRC=/home1/software/apache/build/apache_1.3.20/src
> EVERYTHING=1
> USE_APXS=1
> WITH_APXS=/home1/web/apache_1.3.20/bin/apxs
>
> Here is the output of 'make install'
I don't think it logs the install of these headers. Please check the
created Makefile. Does it include the mod_perl.h in one of the targets?
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: Problems building Bundle::Apache - libapreq-0.33
Posted by Alan Burlison <Al...@sun.com>.
Stas Bekman wrote:
> Looks like an issue with APACHE_HEADER_INSTALL
> http://perl.apache.org/guide/install.html#APACHE_HEADER_INSTALL
>
> Did you install mod_perl by yourself?
Yes, as my attempt to build it as part of Bundle::Apache barfed.
Here is the contents of my makepl_args.mod_perl:
APACHE_SRC=/home1/software/apache/build/apache_1.3.20/src
EVERYTHING=1
USE_APXS=1
WITH_APXS=/home1/web/apache_1.3.20/bin/apxs
Here is the output of 'make install'
$ make install
(cd ./apaci && PERL5LIB=/home1/software/perl/cpan/build/mod_perl-1.26/lib
/usr/ccs/bin/make)
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing /usr/perl5/5.6.1/man/man3/Apache::PerlRunXS.3
Installing /usr/perl5/5.6.1/man/man3/Apache.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Log.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Constants.3
Installing /usr/perl5/5.6.1/man/man3/Apache::File.3
Installing /usr/perl5/5.6.1/man/man3/Apache::URI.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Table.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Util.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Symbol.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Leak.3
Installing /usr/perl5/5.6.1/man/man3/mod_perl_cvs.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Registry.3
Installing /usr/perl5/5.6.1/man/man3/Apache::SizeLimit.3
Installing /usr/perl5/5.6.1/man/man3/cgi_to_mod_perl.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Resource.3
Installing /usr/perl5/5.6.1/man/man3/Apache::PerlSections.3
Installing /usr/perl5/5.6.1/man/man3/Apache::PerlRun.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Debug.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Symdump.3
Installing /usr/perl5/5.6.1/man/man3/mod_perl_tuning.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Status.3
Installing /usr/perl5/5.6.1/man/man3/Apache::RedirectLogFix.3
Installing /usr/perl5/5.6.1/man/man3/Apache::ExtUtils.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Include.3
Installing /usr/perl5/5.6.1/man/man3/mod_perl_method_handlers.3
Installing /usr/perl5/5.6.1/man/man3/Apache::StatINC.3
Installing /usr/perl5/5.6.1/man/man3/Apache::test.3
Installing /usr/perl5/5.6.1/man/man3/Apache::RegistryLoader.3
Installing /usr/perl5/5.6.1/man/man3/Apache::httpd_conf.3
Installing /usr/perl5/5.6.1/man/man3/Apache::FakeRequest.3
Installing /usr/perl5/5.6.1/man/man3/mod_perl.3
Installing /usr/perl5/5.6.1/man/man3/mod_perl_traps.3
Installing /usr/perl5/5.6.1/man/man3/Apache::src.3
Installing /usr/perl5/5.6.1/man/man3/Apache::SIG.3
Installing /usr/perl5/5.6.1/man/man3/Bundle::Apache.3
Installing /usr/perl5/5.6.1/man/man3/Apache::Options.3
Writing
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/mod_perl/.packlist
(cd ./apaci && /usr/ccs/bin/make install;)
/home1/web/apache_1.3.20/bin/apxs -i -a -n perl libperl.so
[activating module `perl' in /home1/web/apache_1.3.20/conf/httpd.conf]
cp libperl.so /home1/web/apache_1.3.20/libexec/libperl.so
chmod 755 /home1/web/apache_1.3.20/libexec/libperl.so
cp /home1/web/apache_1.3.20/conf/httpd.conf
/home1/web/apache_1.3.20/conf/httpd.conf.bak
cp /home1/web/apache_1.3.20/conf/httpd.conf.new
/home1/web/apache_1.3.20/conf/httpd.conf
rm /home1/web/apache_1.3.20/conf/httpd.conf.new
Appending installation info to
/usr/perl5/5.6.1/lib/sun4-solaris-64int/perllocal.pod
No header files installed.
Alan Burlison
Re: Problems building Bundle::Apache - libapreq-0.33
Posted by Stas Bekman <st...@stason.org>.
On Tue, 17 Jul 2001, Alan Burlison wrote:
> Jens-Uwe Mager wrote:
>
> > Did you make install modperl yet?
>
> Yes, via APXS. mod_perl is installed and works just fine. I can see the
> missing mod_perl.h file in the modperl build directory, but it doesn't
> appear anywhere under site_perl - should mod_perl copy it somewhere during
> 'make install'? I'm using a slightly non-standard perl layout, so instead
> of being under /usr/local perl lives under /usr/perl5. From looking at
> where stuff generally goes, and the -I flags used when building libapreq I
> guess mod_perl.h should be somewhere under
> /usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/Apache, but it isn't
> there.
Looks like an issue with APACHE_HEADER_INSTALL
http://perl.apache.org/guide/install.html#APACHE_HEADER_INSTALL
Did you install mod_perl by yourself?
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: Problems building Bundle::Apache - libapreq-0.33
Posted by Alan Burlison <Al...@sun.com>.
Jens-Uwe Mager wrote:
> Did you make install modperl yet?
Yes, via APXS. mod_perl is installed and works just fine. I can see the
missing mod_perl.h file in the modperl build directory, but it doesn't
appear anywhere under site_perl - should mod_perl copy it somewhere during
'make install'? I'm using a slightly non-standard perl layout, so instead
of being under /usr/local perl lives under /usr/perl5. From looking at
where stuff generally goes, and the -I flags used when building libapreq I
guess mod_perl.h should be somewhere under
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/Apache, but it isn't
there.
Alan Burlison