Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [mp2] problems when MP_AP_PREFIX is used: msg#00359

apache.mod-perl.devel

Subject: Re: [mp2] problems when MP_AP_PREFIX is used

Stas Bekman wrote:

Kermit Tensmeyer wrote:

On Thu, 05 Aug 2004 17:50:46 -0700, Stas Bekman wrote:


we have a problem with the case when MP_AP_PREFIX and no MP_APXS is used. In such case post-modperl install, it's not possible to figure out things like modperl include dir and others, which otherwise available via apxs -q (.e.g apxs -q INCLUDEDIR). ---snip-- I think things should work fine as long MP_AP_PREFIX is the target where is installed plus using all-under-one-dir scheme. If MP_AP_PREFIX points to the source or if Apache install files are spread all over, it won't work.


Well, my post was regarding the DSO build, not the static, which is what you are trying to do.

it may still be a problem... (this came up as a fresh build on new machine)
+ MP_APXS used without using setting MP_AP_PREFIX screws up

+ Makefile.PL complains if MP_AP_PREFIX -and- MP_APXS are both used ----------------- cut and past --------------------
Apachkermit@Stafford:~/build/modperl-2.0> perl Makefile.PL Reading Makefile.PL args from /home/kermit/.makepl_args.mod_perl2
MP_APXS = /usr/sbin/apxs
MP_INST_APACHE2 = 1
MP_AP_CONFIGURE = -layout=SUSE9 --enable-mods-shared='info status dav' MP_AP_BUILD = 1
Reading Makefile.PL args from @ARGV
Configuring Apache/2.1.0-dev mod_perl/1.99_15-dev Perl/v5.8.3
Use of uninitialized value in concatenation (.) or string at lib/Apache/Build.pm line 267.
Use of uninitialized value in split at lib/Apache/Build.pm line 280.
Use of uninitialized value in concatenation (.) or string at lib/Apache/Build.pm line 283.
sh: line 1: ./configure: No such file or directory
httpd: ./configure -layout=SUSE9 --enable-mods-shared='info status dav' --with-mp failed at lib/Apache/Build.pm line 286.


Philippe?

Oupss, there is one argument check missing for the static build. I've fixed it and the error there would have
been :

"You specified MP_AP_BUILD but did not speficy the location of httpd's source tree with MP_AP_PREFIX"

--------------- cut and paste
kermit@Stafford:~/build/modperl-2.0> perl Makefile.PL
Reading Makefile.PL args from /home/kermit/.makepl_args.mod_perl2
MP_APXS = /usr/sbin/apxs
MP_INST_APACHE2 = 1
MP_AP_PREFIX = /usr/include/apache2
MP_AP_CONFIGURE = -layout=SUSE9 --enable-mods-shared='info status dav' --with-mp
MP_AP_BUILD = 1
Reading Makefile.PL args from @ARGV
[ error] You need to pass either MP_AP_PREFIX or MP_APXS, but not both

-----------------------------------
Should we assume that MP_APXS can't be used?


It's certainly the case. APXS is for when apache is already installed. In your case you are trying to build a static mod_perl, which requires a compilation of Apache from scratch, so APXS or any other Apache component that was previously built and installed makes no sense here.


Attachment: signature.asc
Description: OpenPGP digital signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation