build libdispatch failed in ubuntu 14.04


(qi bo) #1

Hi, everyoneI follow the command written in INSTALL in https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL

  sh autogen.sh ./configure makebut "make" failed, report is "No rule to make target `all'. "Is there some optional command I missed?
Best Regards


(Jordan Rose) #2

(adding swift-corelibs-dev for additional eyes)

···

On Mar 29, 2016, at 7:25 , qibo via swift-users <swift-users@swift.org> wrote:

Hi, everyone
I follow the command written in INSTALL in
https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL

  sh autogen.sh
  ./configure
  make
but "make" failed, report is "No rule to make target `all'. "
Is there some optional command I missed?

Best Regards

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users


(Dave Grove) #3

sh autogen.sh

./configure

make

but "make" failed, report is "No rule to make target `all'. "
Is there some optional command I missed?

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).

From the INSTALL file right about the BUILD commands:

Initialize git submodules:
  We are using git submodules to incorporate a specific revision of the
  upstream pthread_workqueue library into the build.
    git submodule init
    git submodule update

--dave

···

swift-corelibs-dev-bounces@swift.org wrote on 03/29/2016 11:58:13 AM: > > Hi, everyone > I follow the command written in INSTALL in > https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL


(Dave Grove) #4

sh autogen.sh

./configure

make

but "make" failed, report is "No rule to make target `all'. "
Is there some optional command I missed?

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).

From the INSTALL file right about the BUILD commands:

Initialize git submodules:
  We are using git submodules to incorporate a specific revision of the
  upstream pthread_workqueue library into the build.
    git submodule init
    git submodule update

--dave

···

swift-corelibs-dev-bounces@swift.org wrote on 03/29/2016 11:58:13 AM: > > Hi, everyone > I follow the command written in INSTALL in > https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL


(qi bo) #5

You are right.

thank you.

···

发件人: David P Grove

已发送: 3 月 30 日 星期三 上午 2:02

主题: Re: [swift-corelibs-dev] [swift-users] build libdispatch failed inubuntu 14.04

收件人: qibo

抄送: swift-corelibs-dev, swift-users@swift.org

swift-corelibs-dev-bounces@swift.org wrote on 03/29/2016 11:58:13 AM:

Hi, everyone

I follow the command written in INSTALL in

https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL

sh autogen.sh

./configure

make

but "make" failed, report is "No rule to make target `all'. "

Is there some optional command I missed?

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).

From the INSTALL file right about the BUILD commands:

Initialize git submodules:

We are using git submodules to incorporate a specific revision of the

upstream pthread_workqueue library into the build.

git submodule init

git submodule update

--dave