<p dir="ltr">You are right.<br>
thank you.<br><br><br><br></p>
<p dir="ltr">发件人: David P Grove<br>
已发送: 3 月 30 日 星期三 上午 2:02<br>
主题: Re: [swift-corelibs-dev] [swift-users] build libdispatch failed inubuntu 14.04<br>
收件人: qibo<br>
抄送: swift-corelibs-dev, swift-users@swift.org<br></p>
<p dir="ltr">swift-corelibs-dev-bounces@swift.org wrote on 03/29/2016 11:58:13 AM:<br>
> <br>
> Hi, everyone<br>
> I follow the command written in INSTALL in <br>
> <a href="https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL">https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL</a><br>
> <br>
> sh autogen.sh<br>
> <br>
> ./configure<br>
> <br>
> make<br>
> <br>
> but "make" failed, report is "No rule to make target `all'.  "<br>
> Is there some optional command I missed?<br>
> <br></p>
<p dir="ltr">One way that could happen is if you skipped the step to initialize the libpwq git submodule.  The configure script is supposed to detect that you failed to do this, but it appears to not be doing so robustly (I just tried it and it did fail with "No rule to make target `all`" from the libpwq subdir). </p>
<p dir="ltr">From the INSTALL file right about the BUILD commands: <br></p>
<p dir="ltr">Initialize git submodules:<br>
We are using git submodules to incorporate a specific revision of the<br>
upstream pthread_workqueue library into the build.<br>
git submodule init<br>
git submodule update</p>
<p dir="ltr">--dave<br><br></p>