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: sanity check problem: Help installing mod_perl1.27andapache1.3.27: msg#00450

apache.mod-perl

Subject: Re: sanity check problem: Help installing mod_perl1.27andapache1.3.27

Ged,
 
attached are the source files I had to modify to get the mod_perl stuff to compile with Apache.
TestCompile
ldopts
 
The TestCompile routine had to be modified to remove the LIBS1 on line 248.
This goes into the apache 1.3.27 distribution under src/helpers/TestCompile.  Maybe you or someone else could help
code the test for an OS in this shell file. I left this out, so the user will have to use the modified file rather than
the original.
 
I modified ldopts file, which is included in both the mod_perl distribution and the apache distribution, under
.../src/modules/perl/ldopts
I modified this file to check the OS before removing the -Wl  parameter from the returned opts.
 
What is procedure to get these put in as patch?
 
Thanks,
Charlie Smith

>>> "Ged Haywood" <ged@xxxxxxxxxxxxxxxxxxxxxxx> 02/24/03 04:57PM >>>
Hi Charlie,

On Mon, 24 Feb 2003, Charlie Smith wrote:

> Ok.  I'll give it a whack or hack or whatever you want to call it.  Where are
> the Wl flags loaded from for the mod_perl stuff?

Actually they're from the Apache source, the mod_perl configuration may hack them.
The tool I use most for poking around in sources is 'grep'...

hurricane:~$ >>> grep -r Wl /home/ged/src/apache_1.3.27/*
[snip,snip]
/home/ged/src/apache_1.3.27/htdocs/manual/programs/apxs.html:     -<strong>Wc,</strong><em>compiler</em>-<em>flags</em> ] [ -<strong>Wl,</strong><em>linker</em>-<em>flags</em> ] <em>files</em> ...
/home/ged/src/apache_1.3.27/htdocs/manual/programs/apxs.html:     -<strong>Wl,</strong><em>linker</em>-<em>flags</em>
/home/ged/src/apache_1.3.27/src/CHANGES:  *) Allow special options -Wc,xxx and -Wl,xxx on APXS compile/link command.
/home/ged/src/apache_1.3.27/src/Configure:    LDFLAGS_SHLIB_EXPORT="-Zlink=dynamic -Wl,-Bexport"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Wl,-E"
/home/ged/src/apache_1.3.27/src/Configure:             LDFLAGS_SHLIB_EXPORT="-Wl,-E"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Wl,-E"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"
/home/ged/src/apache_1.3.27/src/Configure:         LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"
/home/ged/src/apache_1.3.27/src/Configure:               LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Wl,-Blargedynsym"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Wl,-E -Wl,-B,deferred"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Wl,-E -Wl,-B,deferred -Wl,+s"
/home/ged/src/apache_1.3.27/src/Configure:           LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport:\$(SRCDIR)/support/httpd.exp"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Wl,-bE:\$(SRCDIR)/support/httpd.exp"
/home/ged/src/apache_1.3.27/src/Configure:        LDFLAGS_SHLIB_EXPORT="-Zlink=dynamic -Wl,-Bexport"
/home/ged/src/apache_1.3.27/src/modules/perl/mod_perl.config.sh:#replace -Wl args meant for cc with args for ld
/home/ged/src/apache_1.3.27/src/modules/perl/mod_perl.config.sh:    while ($ldopts =~ s/-Wl,(\S+)/$1/) {
/home/ged/src/apache_1.3.27/src/support/apxs.8:.BI \-Wl, "linker-flags"
/home/ged/src/apache_1.3.27/src/support/apxs.8:.BI \-Wl, "linker-flags"
/home/ged/src/apache_1.3.27/src/support/apxs.pl:    print STDERR "               [-Wl,<flags>] <files> ...\n";
/home/ged/src/apache_1.3.27/src/support/apxs.pl:    my ($opt_Wl, $opt_L, $opt_l);
/home/ged/src/apache_1.3.27/src/support/apxs.pl:    foreach $opt_Wl (@opt_W) {
/home/ged/src/apache_1.3.27/src/support/apxs.pl:            $opt .= " $1" if ($opt_Wl =~ m|^\s*l,(.*)$|);
/home/ged/src/apache_1.3.27/src/support/apxs.pl:            $opt .= " -W$opt_Wl";
/home/ged/src/apache_1.3.27/src/support/apxs:    print STDERR "               [-Wl,<flags>] <files> ...\n";
/home/ged/src/apache_1.3.27/src/support/apxs:    my ($opt_Wl, $opt_L, $opt_l);
/home/ged/src/apache_1.3.27/src/support/apxs:    foreach $opt_Wl (@opt_W) {
/home/ged/src/apache_1.3.27/src/support/apxs:            $opt .= " $1" if ($opt_Wl =~ m|^\s*l,(.*)$|);
/home/ged/src/apache_1.3.27/src/support/apxs:            $opt .= " -W$opt_Wl";

hurricane:~$ >>> grep -r Wl /home/ged/src/mod_perl-1.27/*
/home/ged/src/mod_perl-1.27/apaci/mod_perl.config.sh:#replace -Wl args meant for cc with args for ld
/home/ged/src/mod_perl-1.27/apaci/mod_perl.config.sh:    while ($ldopts =~ s/-Wl,(\S+)/$1/) {

73,
Ged.


------------------------------------------------------------------------------
This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed.


==============================================================================

Attachment: TestCompile
Description: Binary data

Attachment: ldopts
Description: Binary data

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

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
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