- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mod_perl installation for Apache 2
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2002 05:32 AM
09-18-2002 05:32 AM
I have an issue trying to build mod_perl v1.99_05 for Apache 2, and I am not an expert at all in C.
The binary distribution is not yet available in the archive and I have to build mod_perl from sources.
when I run the "perl Makefile.PL" I have the following warning :
_____________________________
Reading Makefile.PL args from @ARGV
MP_AP_PREFIX = /usr/local/apache2
MP_INST_APACHE2 = 1
************* WARNING *************
mod_perl is unlikely to link with your libperl, suggestions:
*) Rebuild Perl with Configure -Accflags=+Z ...
************* WARNING *************
_____________________________
Then, make returns with the following error :
_____________________________
make
cd "src/modules/perl" && make -f Makefile.modperl
gcc -I/www/depot/apache2-0.4/mod_perl-1.99_05/src/modules/perl -I/www/depot/apache2-0.4/mod_perl-1.99_05/xs -I/usr/local/apac
he2/include -D_HPUX_SOURCE -fno-strict-aliasing -Ae -I/usr/local/lib/perl5/5.8.0/PA-RISC2.0/CORE -DMOD_PERL -fPIC -c mod_perl.c && mv mod_perl.o mod_perl.lo
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
_____________________________
I am using gcc (Thread model: posix - gcc version 3.2 - binary distribution from the HPUX Archive) and perl 5.8.0 (still from the archive).
Does someone can help me here ?
Many thanks,
Chris.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 07:09 AM
09-26-2002 07:09 AM
Re: mod_perl installation for Apache 2
I ran into the same issue using Perl from the archive. You need to do what it says and build your own Perl from the source including the '+Z' option. (It could be worth enabling threading too)
I've successfully build Perl 5.8.0 and Apache 2.0.40 from source with HP's aCC compiler but I can't get mod_perl to build against it so I would love to hear how you get on.
Cheers
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 07:22 AM
09-26-2002 07:22 AM
Re: mod_perl installation for Apache 2
I have lost too much time trying to install apache 2 + mod_perl 1.99, so:
I uninstalled apache 2 and re-built and installed apache 1.3.26 with mod_perl and I have no issue anymore...
Since, no issues anymore.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 08:06 AM
09-26-2002 08:06 AM
Re: mod_perl installation for Apache 2
Yep, I'm coming to the same conclusion myself.
However it looks like I've managed to get a Perl 5.8.0 build working with gCC 3.2 so I'm going to try rebuilding everything with that compiler and see what happens.
If it still fails I'll be going back to the old versions.
Cheers
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 08:38 AM
09-26-2002 08:38 AM
Re: mod_perl installation for Apache 2
./Configure -d -e -Dcc=gcc -Dprefix=/usr/local -Duseshrplib useposix=true -A append:ccflags=' -fpic'
But I still use to have issues building mod_perl 1.99.
So what I did is to build apache 1.3.26 and mod_perl 1.27 at the same time using:
* For mod_perl:
perl Makefile.PL APACHE_src=../apache_1.3.26/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 APACHE_PREFIX=/usr/local/apache
* For Apache:
./configure --activate-module=src/modules/perl/libperl.a --disable-rule=EXPAT --prefix=/usr/local/apache
But I am not sure that will do it anyway, as I have now issues to re-build the perl module DBD::Oracle. The module does not link properly with perl anymore!
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 09:47 AM