<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16722">
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT color=#000080 size=2 face=Verdana>Hi, Jeremy,</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>I had a try with building BIND 10 on my 
MacBook. The system is:</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV>
<DIV>AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ sysctl 
kern.osrelease</DIV>
<DIV>kern.osrelease: 10.6.0</DIV>
<DIV>AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ sysctl hw.machine</DIV>
<DIV>hw.machine: i386</DIV>
<DIV></DIV>
<DIV>AppleMac-UsermatoMacBook-Pro-7:bind10-devel-20110120 applemacuser$ g++ --version</DIV>
<DIV>i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)</DIV>
<DIV> </DIV></DIV>
<DIV><FONT color=#000080>and </FONT><FONT color=#000080>everything is ok with 
configure and make, but till the unittest phrase, it throws a segmentation 
fault.</FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Verdana>
<DIV>/configure   --prefix=/Users/applemacuser/Downloads/bind10/bind10_install</DIV>
<DIV style="TEXT-INDENT: 6em">--with-pythonpath=/usr/local/bin/python3.1</DIV>
<DIV 
style="TEXT-INDENT: 6em">--with-boost-include=/Users/applemacuser/Downloads/bind10/boost_1_45_0</DIV>
<DIV>                --with-gtest=/usr/local </DIV>
<DIV>                --with-lcov=/usr/bin/lcov</DIV>
<DIV 
style="TEXT-INDENT: 6em">--with-pycoverage=/usr/local/bin/coverage </DIV>
<DIV style="TEXT-INDENT: 6em">--disable-setproctitle-check </DIV>
<DIV> </DIV>
<DIV>The result is:</DIV>
<DIV> </DIV>
<DIV style="TEXT-INDENT: 4em">
<DIV>    
<DIV>     BIND 10 source configure results:</DIV>
<DIV>    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-</DIV>
<DIV></DIV>
<DIV>Package:</DIV>
<DIV>  Name:          bind10-devel</DIV>
<DIV>  Version:       20110120</DIV>
<DIV></DIV>
<DIV>C++ Compiler:    g++</DIV>
<DIV></DIV>
<DIV>Flags:</DIV>
<DIV>  DEFS:          -DHAVE_CONFIG_H</DIV>
<DIV>  CPPFLAGS:       -I$(top_srcdir)/ext/asio -DASIO_DISABLE_THREADS=1</DIV>
<DIV>  CXXFLAGS:      -g -O2 -fprofile-arcs -ftest-coverage</DIV>
<DIV>  B10_CXXFLAGS:  -Wall -Wextra -Wwrite-strings -Woverloaded-virtual</DIV>
<DIV>-Wno-sign-compare -Werror -fPIC</DIV>
<DIV>  Python:        -I/usr/local/include/python3.1 -I/usr/local/include/python3.1</DIV>
<DIV>                 -L/usr/local/lib  -R/usr/local/lib</DIV>
<DIV>                 -lpython3.1</DIV>
<DIV>  Boost:         -I/Users/applemacuser/Downloads/bind10/boost_1_45_0</DIV>
<DIV>  SQLite:        -I/usr/local/include  </DIV>
<DIV>                 -L/usr/local/lib -lsqlite3  </DIV>
<DIV></DIV>
<DIV>Features:</DIV>
<DIV>   SQLite3</DIV>
<DIV></DIV>
<DIV>Developer:</DIV>
<DIV>  Google Tests:  /usr/local</DIV>
<DIV>  C++ Code Coverage: yes</DIV>
<DIV>  Python Code Coverage: yes</DIV>
<DIV>  Generate Manuals:  no</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>  Now you can type "make" to build BIND 10</DIV>                </DIV></DIV>
<DIV> </DIV>
<DIV>then make check, the last of output is:</DIV>
<DIV> </DIV>
<DIV style="TEXT-INDENT: 2em">
<DIV>Running test: sqlite3_ds_test.py</DIV>
<DIV>/bin/sh: line 1: 44842 Segmentation fault      env</DIV>
<DIV>PYTHONPATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python:/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/log</DIV>
<DIV>TESTDATA_PATH=/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/testdata /usr/local/bin/coverage run --branch --append 
/Users/applemacuser/Downloads/bind10/bind10-devel-20110120/src/lib/python/isc/datasrc/tests/$pytest</DIV>
<DIV>make[7]: *** [check-local] Error 139</DIV>
<DIV>make[6]: *** [check-am] Error 2</DIV>
<DIV>make[5]: *** [check-recursive] Error 1</DIV>
<DIV>make[4]: *** [check-recursive] Error 1</DIV>
<DIV>make[3]: *** [check-recursive] Error 1</DIV>
<DIV>make[2]: *** [check-recursive] Error 1</DIV>
<DIV>make[1]: *** [check-recursive] Error 1</DIV>
<DIV>make: *** [check-recursive] Error 1</DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT color=#ff0000>When removes configure option 
--with-pycoverage=/usr/local/bin/coverage,  the problem 
disappears.</FONT></DIV>
<DIV>
<DIV>
<DIV>The coverage program is:</DIV>
<DIV>AppleMac-UsermatoMacBook-Pro-7:Downloads applemacuser$ coverage --version</DIV>
<DIV>Coverage.py, version 3.4.  <A 
href="http://nedbatchelder.com/code/coverage">http://nedbatchelder.com/code/coverage</A></DIV></DIV></DIV>
<DIV><FONT color=#ff0000></FONT> </DIV>
<DIV> </DIV>
<DIV>Could you pls help me to find the reason? Thanks.</DIV>
<DIV> </DIV>
<DIV>Qiao Jing</DIV></FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana>2011-02-15 </FONT></DIV><FONT 
color=#000080 size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>qiaojing</SPAN> 
</FONT></DIV><FONT color=#000080 size=2 face=Verdana>
<HR>
</FONT>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG> Jeremy C. Reed 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG> 2011-01-28  04:19:47 
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG> bind10-dev </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG> [bind10-dev] Mac OS X 
builder </FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>I setup a Mac OS X system to do builds of BIND 10. Now available at</DIV>
<DIV>http://bind10.isc.org/~tester/builder/builder.html</DIV>
<DIV></DIV>
<DIV>The system is:</DIV>
<DIV></DIV>
<DIV>macmini:builder jreed$ sysctl kern.osrelease </DIV>
<DIV>kern.osrelease: 10.6.0</DIV>
<DIV>macmini:builder jreed$ sysctl hw.machine </DIV>
<DIV>hw.machine: x86_64</DIV>
<DIV></DIV>
<DIV>It does builds using GCC:</DIV>
<DIV>i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)</DIV>
<DIV></DIV>
<DIV>and Clang++</DIV>
<DIV>clang version 2.8 (tags/RELEASE_28 115909)</DIV>
<DIV></DIV>
<DIV>I am using googletest 1.5.0 built with G++.</DIV>
<DIV></DIV>
<DIV>At this time I am doing 32bit builds using -m32.</DIV>
<DIV></DIV>
<DIV>  Jeremy C. Reed</DIV>
<DIV>  ISC</DIV>
<DIV>_______________________________________________</DIV>
<DIV>bind10-dev mailing list</DIV>
<DIV>bind10-dev@lists.isc.org</DIV>
<DIV>https://lists.isc.org/mailman/listinfo/bind10-dev</DIV></FONT></DIV></BODY></HTML>