You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Greg Ames <gr...@apache.org> on 2003/03/25 01:16:44 UTC

[PATCH] build problem with stable and older libtool

I'm trying to get WROWE_2_0_45_RC1 going on daedalus and got:

/home/gregames/httpd-2.0.45-wr1/shlibtool: 
/home/gregames/httpd-2.0.45-wr1/shlibtool: No such file or directory
*** Error code 127

...when make tried to build mod_access (the first module we build as a DSO). 
This is a symptom of using libtool 1.3 without having ltconfig and ltmain.sh 
accessable to httpd's configure.  Looks like we need 1.29 and 1.31 in the tag.
That's what this patch does, in addition to tweaking the comment a little to 
make it more obvious why this code is important.

This patch solves the problem.  Can I get some +1's on committing it to the 
stable branch?

Thanks,
Greg

Index: buildconf
===================================================================
RCS file: /home/cvspublic/httpd-2.0/buildconf,v
retrieving revision 1.27.2.3
diff -u -d -b -r1.27.2.3 buildconf
--- buildconf   11 Mar 2003 07:07:52 -0000      1.27.2.3
+++ buildconf   25 Mar 2003 00:04:20 -0000
@@ -162,6 +162,14 @@
     $apr_src_dir/build/PrintPath $apr_src_dir/build/apr_common.m4 \
     $apr_src_dir/build/find_apr.m4 $apu_src_dir/build/find_apu.m4 build

+# Copy libtool-1.3.x files if they exist
+if [ -f $apr_src_dir/build/ltconfig ]; then
+    cp $apr_src_dir/build/ltconfig build
+fi
+if [ -f $apr_src_dir/build/ltmain.sh ]; then
+    cp $apr_src_dir/build/ltmain.sh build
+fi
+
  echo rebuilding $pcre_configure
  (cd srclib/pcre && ${AUTOCONF:-autoconf})



Re: [PATCH] build problem with stable and older libtool

Posted by Greg Ames <gr...@apache.org>.
Jeff Trawick wrote:
> This has been in the STATUS file a while anyway.  That makes 3 +1s, 
> since there was already my vote:

ooops, I should have looked there first.

 From the commit logs it appeared that there might have been a misunderstanding 
about what was essential and what was a nice new feature.

Greg


Re: [PATCH] build problem with stable and older libtool

Posted by Jeff Trawick <tr...@attglobal.net>.
This has been in the STATUS file a while anyway.  That makes 3 +1s, 
since there was already my vote:

     * get out-of-tree APR builds to work for libtool 1.3.x users
       buildconf: r1.32
       +1: trawick

(Note that the diff is different from r1.32 with APACHE_2_0_BRANCH since 
the code has to be added to APACHE_2_0_BRANCH instead of modified.  The 
only difference was the comment...  I kept the comment the same as in 
HEAD so that APACHE_2_0_BRANCH doesn't have unique code.)

William A. Rowe, Jr. wrote:
> I'll see your +1 and raise you +1... I thought the patch was required
> to build with apr out of tree - if everyone is going to be bit on 
> libtool 1.3 releases let's get it in there now, and into the .45 release.
> 
> Bill
> 
> At 06:16 PM 3/24/2003, Greg Ames wrote:
> 
>>I'm trying to get WROWE_2_0_45_RC1 going on daedalus and got:
>>
>>/home/gregames/httpd-2.0.45-wr1/shlibtool: /home/gregames/httpd-2.0.45-wr1/shlibtool: No such file or directory
>>*** Error code 127
>>
>>...when make tried to build mod_access (the first module we build as a DSO). This is a symptom of using libtool 1.3 without having ltconfig and ltmain.sh accessable to httpd's configure.  Looks like we need 1.29 and 1.31 in the tag.
>>That's what this patch does, in addition to tweaking the comment a little to make it more obvious why this code is important.
>>
>>This patch solves the problem.  Can I get some +1's on committing it to the stable branch?
>>
>>Thanks,
>>Greg
>>
>>Index: buildconf


Re: [PATCH] build problem with stable and older libtool

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
I'll see your +1 and raise you +1... I thought the patch was required
to build with apr out of tree - if everyone is going to be bit on 
libtool 1.3 releases let's get it in there now, and into the .45 release.

Bill

At 06:16 PM 3/24/2003, Greg Ames wrote:
>I'm trying to get WROWE_2_0_45_RC1 going on daedalus and got:
>
>/home/gregames/httpd-2.0.45-wr1/shlibtool: /home/gregames/httpd-2.0.45-wr1/shlibtool: No such file or directory
>*** Error code 127
>
>...when make tried to build mod_access (the first module we build as a DSO). This is a symptom of using libtool 1.3 without having ltconfig and ltmain.sh accessable to httpd's configure.  Looks like we need 1.29 and 1.31 in the tag.
>That's what this patch does, in addition to tweaking the comment a little to make it more obvious why this code is important.
>
>This patch solves the problem.  Can I get some +1's on committing it to the stable branch?
>
>Thanks,
>Greg
>
>Index: buildconf
>===================================================================
>RCS file: /home/cvspublic/httpd-2.0/buildconf,v
>retrieving revision 1.27.2.3
>diff -u -d -b -r1.27.2.3 buildconf
>--- buildconf   11 Mar 2003 07:07:52 -0000      1.27.2.3
>+++ buildconf   25 Mar 2003 00:04:20 -0000
>@@ -162,6 +162,14 @@
>    $apr_src_dir/build/PrintPath $apr_src_dir/build/apr_common.m4 \
>    $apr_src_dir/build/find_apr.m4 $apu_src_dir/build/find_apu.m4 build
>
>+# Copy libtool-1.3.x files if they exist
>+if [ -f $apr_src_dir/build/ltconfig ]; then
>+    cp $apr_src_dir/build/ltconfig build
>+fi
>+if [ -f $apr_src_dir/build/ltmain.sh ]; then
>+    cp $apr_src_dir/build/ltmain.sh build
>+fi
>+
> echo rebuilding $pcre_configure
> (cd srclib/pcre && ${AUTOCONF:-autoconf})
>
>