httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralf Mattes>
Subject Re: APXS troubles
Date Thu, 19 Jul 2007 16:12:26 GMT
On Thu, 2007-07-19 at 10:41 -0400, Farokh Irani wrote:
> Did you get the file OK and have you had a chance to look at it?\
Yes and yes - even so it was binhexed ...
I allready replied yesterday evening - no idea why you didn't get my
Anyway - indeed there is a bug in APXS. Unless your input files have the
extention '.c' APXS won't invoke libtool in compile mode (hence it's
missing from your trace). Libtool in link mode will just create an empty
library ...
The easy fix is to rename the files from '*.cpp' to '*.c' (no, '*.cc'
doesn't work either). If you find the time you might want to report the
bug to the APXS maintainers, the important lines are these:
---*----- apxs (line 351 ff.) --------------*-.--

if ($opt_c) {

    #   split files into sources and objects
    my @srcs = ();
    my @objs = ();
    my $f;
    foreach $f (@args) {
        if ($f =~ m|\.c$|) {  <---------------- Here, bad coder! BAD!
            push(@srcs, $f);
        else {
            push(@objs, $f);


 Ralf Mattes

> Thanks.

View raw message