[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] apr-util patch for wierd crash problem

From: <cmpilato_at_collab.net>
Date: 2002-01-16 16:48:07 CET

Jay, can you send this to the APR dev list (is it dev@apr.apache.org?)

"Jay Freeman \(saurik\)" <saurik@saurik.com> writes:

> ------=_NextPart_000_00F3_01C19E3F.657C7CB0
> Content-Type: text/plain;
> charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
>
> OK, I finally figured out what was going on. The configure scripts for
> apr-util are incorrectly referencing -ldb4 rather than -ldb-4 (which is
> what db4 actually installs as).
>
> Index: srclib/apr-util/build/apu-conf.m4
> ===================================================================
> RCS file: /home/cvspublic/apr-util/build/apu-conf.m4,v
> retrieving revision 1.24
> diff -u -r1.24 apu-conf.m4
> --- srclib/apr-util/build/apu-conf.m4 2 Jan 2002 23:59:26 -0000
> 1.24
> +++ srclib/apr-util/build/apu-conf.m4 16 Jan 2002 09:37:29 -0000
> @@ -142,9 +142,9 @@
> dnl
> AC_DEFUN(APU_CHECK_DB4,[
> AC_CHECK_HEADER(db4/db.h, [
> - AC_CHECK_LIB(db4, db_create, [
> + AC_CHECK_LIB(db-4, db_create, [
> apu_db_header=db4/db.h
> - apu_db_lib=db4
> + apu_db_lib=db-4
> apu_db_version=4
> ])])
> if test "$apu_db_version" != "4"; then
>
> Even though everything SEEMED to be building against db4, it apparently
> wasn't.
>
> Sincerely,
> Jay Freeman (saurik)
> saurik@saurik.com
>
> ------=_NextPart_000_00F3_01C19E3F.657C7CB0
> Content-Type: text/html;
> charset="US-ASCII"
> Content-Transfer-Encoding: quoted-printable
>
> <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
> xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
> xmlns=3D"http://www.w3.org/TR/REC-html40">
>
> <head>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Dus-ascii">
>
>
> <meta name=3DProgId content=3DWord.Document>
> <meta name=3DGenerator content=3D"Microsoft Word 10">
> <meta name=3DOriginator content=3D"Microsoft Word 10">
> <link rel=3DFile-List href=3D"cid:filelist.xml@01C19E3F.6459A790">
> <o:SmartTagType =
> namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
> name=3D"time"/>
> <o:SmartTagType =
> namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
> name=3D"date"/>
> <!--[if gte mso 9]><xml>
> <o:OfficeDocumentSettings>
> <o:DoNotRelyOnCSS/>
> </o:OfficeDocumentSettings>
> </xml><![endif]--><!--[if gte mso 9]><xml>
> <w:WordDocument>
> <w:SpellingState>Clean</w:SpellingState>
> <w:GrammarState>Clean</w:GrammarState>
> <w:DocumentKind>DocumentEmail</w:DocumentKind>
> <w:EnvelopeVis/>
> <w:Compatibility>
> <w:BreakWrappedTables/>
> <w:SnapToGridInCell/>
> <w:WrapTextWithPunct/>
> <w:UseAsianBreakRules/>
> </w:Compatibility>
> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
> </w:WordDocument>
> </xml><![endif]--><!--[if !mso]>
> <style>
> st1\:*{behavior:url(#default#ieooui) }
> </style>
> <![endif]-->
> <style>
> <!--
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
> {mso-style-parent:"";
> margin:0in;
> margin-bottom:.0001pt;
> mso-pagination:widow-orphan;
> font-size:12.0pt;
> font-family:"Times New Roman";
> mso-fareast-font-family:"Times New Roman";}
> a:link, span.MsoHyperlink
> {color:blue;
> text-decoration:underline;
> text-underline:single;}
> a:visited, span.MsoHyperlinkFollowed
> {color:purple;
> text-decoration:underline;
> text-underline:single;}
> span.EmailStyle17
> {mso-style-type:personal-compose;
> mso-style-noshow:yes;
> mso-ansi-font-size:10.0pt;
> mso-bidi-font-size:10.0pt;
> font-family:Arial;
> mso-ascii-font-family:Arial;
> mso-hansi-font-family:Arial;
> mso-bidi-font-family:Arial;
> color:windowtext;}
> span.SpellE
> {mso-style-name:"";
> mso-spl-e:yes;}
> span.GramE
> {mso-style-name:"";
> mso-gram-e:yes;}
> @page Section1
> {size:8.5in 11.0in;
> margin:1.0in 1.25in 1.0in 1.25in;
> mso-header-margin:.5in;
> mso-footer-margin:.5in;
> mso-paper-source:0;}
> div.Section1
> {page:Section1;}
> -->
> </style>
> <!--[if gte mso 10]>
> <style>
> /* Style Definitions */=20
> table.MsoNormalTable
> {mso-style-name:"Table Normal";
> mso-tstyle-rowband-size:0;
> mso-tstyle-colband-size:0;
> mso-style-noshow:yes;
> mso-style-parent:"";
> mso-padding-alt:0in 5.4pt 0in 5.4pt;
> mso-para-margin:0in;
> mso-para-margin-bottom:.0001pt;
> mso-pagination:widow-orphan;
> font-size:10.0pt;
> font-family:"Times New Roman";}
> </style>
> <![endif]-->
> </head>
>
> <body lang=3DEN-US link=3Dblue vlink=3Dpurple =
> style=3D'tab-interval:.5in'>
>
> <div class=3DSection1>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>OK, I finally figured out what was going on. <span
> style=3D'mso-spacerun:yes'>&nbsp;</span>The configure scripts for <span
> class=3DSpellE>apr-util</span> are incorrectly referencing -ldb4 rather =
> than -ldb-4
> (which is what db4 actually installs as).<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Index: =
> srclib/apr-util/build/apu-conf.m4<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<=
> o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>RCS file: =
> /home/cvspublic/apr-util/build/apu-conf.m4,v<o:p></o:p></span></font></p>=
>
>
> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
> face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'>retrieving</span></font></sp=
> an><font
> size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;font-family:Arial'> revision
> 1.24<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
> face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'>diff</span></font></span><fo=
> nt
> size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;font-family:Arial'> -u -r1.24
> apu-conf.m4<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>--- srclib/apr-util/build/apu-conf.m4<span
> style=3D'mso-spacerun:yes'>&nbsp;&nbsp; </span></span></font><st1:date =
> Month=3D"1"
> Day=3D"2" Year=3D"2002"><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>2 Jan 2002</span></font></st1:date><font size=3D2 =
> face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'> </span></font><st1:time =
> Hour=3D"23"
> Minute=3D"59"><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;font-family:
> Arial'>23:59:26</span></font></st1:time><font size=3D2 =
> face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'> -0000<span
> style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> </span>1.24<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>+++ srclib/apr-util/build/apu-conf.m4<span
> style=3D'mso-spacerun:yes'>&nbsp;&nbsp; </span></span></font><st1:date =
> Month=3D"1"
> Day=3D"16" Year=3D"2002"><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>16 Jan 2002</span></font></st1:date><font size=3D2
> face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> =
> </span></font><st1:time
> Hour=3D"9" Minute=3D"37"><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>09:37:29</span></font></st1:time><font size=3D2 =
> face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'> =
> -0000<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>@@ -142<span class=3DGramE>,9</span> +142,9 =
> @@<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;</span><span
> class=3DSpellE><span =
> class=3DGramE>dnl</span></span><o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><span =
> style=3D'mso-spacerun:yes'>&nbsp;</span>AC_<span
> class=3DGramE>DEFUN(</span>APU_CHECK_DB4,[<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><span =
> style=3D'mso-spacerun:yes'>&nbsp;</span>AC_CHECK_<span
> class=3DGramE>HEADER(</span>db4/db.h, [<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>-<span style=3D'mso-spacerun:yes'>&nbsp; =
> </span>AC_CHECK_<span
> class=3DGramE>LIB(</span>db4, <span class=3DSpellE>db_create</span>, =
> [<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
> face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'>+<span
> style=3D'mso-spacerun:yes'>&nbsp; </span>AC</span></font></span><font =
> size=3D2
> face=3DArial><span =
> style=3D'font-size:10.0pt;font-family:Arial'>_CHECK_LIB(db-4, <span
> class=3DSpellE>db_create</span>, [<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp; =
> </span><span
> class=3DSpellE>apu_db_header</span>=3Ddb4/db.h<o:p></o:p></span></font></=
> p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>-<span style=3D'mso-spacerun:yes'>&nbsp; </span><span
> class=3DSpellE>apu_db_lib</span>=3Ddb4<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 =
> face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'>+<span
> style=3D'mso-spacerun:yes'>&nbsp; </span><span =
> class=3DSpellE>apu</span></span></font></span><span
> class=3DSpellE><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;font-family:
> Arial'>_db_lib</span></font></span><font size=3D2 face=3DArial><span
> style=3D'font-size:10.0pt;font-family:Arial'>=3Ddb-4<o:p></o:p></span></f=
> ont></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp; =
> </span><span
> class=3DSpellE>apu_db_version</span>=3D4<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;&nbsp; =
> </span>])])<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><span style=3D'mso-spacerun:yes'>&nbsp;</span><span
> class=3DGramE>if</span> test "$<span =
> class=3DSpellE>apu_db_version</span>"
> !=3D "4"; then<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Even though everything SEEMED to be building against =
> db4, it
> apparently wasn&#8217;t.<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Sincerely,<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Jay Freeman (saurik)<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><a =
> href=3D"mailto:saurik@saurik.com">saurik@saurik.com</a><o:p></o:p></span>=
> </font></p>
>
> </div>
>
> </body>
>
> </html>
>
> ------=_NextPart_000_00F3_01C19E3F.657C7CB0--

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:56 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.