From mboxrd@z Thu Jan 1 00:00:00 1970 From: Panu Matilainen Subject: Re: [PATCH 00/10] standard make install Date: Wed, 2 Dec 2015 09:44:26 +0200 Message-ID: <565EA15A.1080902@redhat.com> References: <1449028676-19232-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable To: Thomas Monjalon , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 2548EE72 for ; Wed, 2 Dec 2015 08:44:30 +0100 (CET) In-Reply-To: <1449028676-19232-1-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > Following the recent discussions, this is a proposal to have a standard > installation process while keeping compatibility with most of the old > behaviours. > Thank you Mario and Bruce for having submitted other proposals. > I hope there will be a strong consensus for this one. Mm, can't help it but this situation reminds me of=20 https://imgs.xkcd.com/comics/standards.png That aside, a bigger problem is that it doesn't seem to work. make clean make config T=3Dx86_64-native-linuxapp-gcc make make install DESTDIR=3D/tmp/dpdk-root ...results in this: [pmatilai@sopuli dpdk]$ make DESTDIR=3D/tmp/dpdk-root install =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Installing /tmp/dp= dk-root/usr/local/ make[3]: Nothing to be done for 'install-kmod'. tar: include: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors cp: cannot stat =E2=80=98./.config=E2=80=99: No such file or directory /srv/work/repos/dpdk/mk/rte.sdkinstall.mk:122: recipe for target=20 'install-sdk' failed make[3]: *** [install-sdk] Error 1 /srv/work/repos/dpdk/mk/rte.sdkroot.mk:104: recipe for target=20 'install-sdk' failed make[2]: *** [install-sdk] Error 2 /srv/work/repos/dpdk/mk/rte.sdkinstall.mk:93: recipe for target=20 'install' failed make[1]: *** [install] Error 2 /srv/work/repos/dpdk/mk/rte.sdkroot.mk:102: recipe for target 'install'=20 failed make: *** [install] Error 2 [pmatilai@sopuli dpdk]$ The failure appears to be install-sdk failing since invoking it alone=20 results in similar errors. install-runtime appears to do something but it mainly installs sources=20 to various directories in DESTDIR, eg: [pmatilai@sopuli dpdk]$ find /tmp/dpdk-root/ /tmp/dpdk-root/ /tmp/dpdk-root/usr /tmp/dpdk-root/usr/local /tmp/dpdk-root/usr/local/lib /tmp/dpdk-root/usr/local/lib/librte_mempool /tmp/dpdk-root/usr/local/lib/librte_mempool/rte_dom0_mempool.c /tmp/dpdk-root/usr/local/lib/librte_mempool/rte_mempool.c /tmp/dpdk-root/usr/local/lib/librte_mempool/Makefile /tmp/dpdk-root/usr/local/lib/librte_mempool/rte_mempool_version.map /tmp/dpdk-root/usr/local/lib/librte_mempool/rte_mempool.h [...] /tmp/dpdk-root/usr/local/bin/test-pmd /tmp/dpdk-root/usr/local/bin/test-pmd/testpmd.h /tmp/dpdk-root/usr/local/bin/test-pmd/icmpecho.c /tmp/dpdk-root/usr/local/bin/test-pmd/parameters.c /tmp/dpdk-root/usr/local/bin/test-pmd/macswap.c /tmp/dpdk-root/usr/local/bin/test-pmd/csumonly.c /tmp/dpdk-root/usr/local/bin/test-pmd/macfwd.c [...] install-kmod doesn't seem to do anything at all: [pmatilai@sopuli dpdk]$ rm -rf /tmp/dpdk-root/ [pmatilai@sopuli dpdk]$ ls build/kmod/ igb_uio.ko rte_kni.ko [pmatilai@sopuli dpdk]$ make DESTDIR=3D/tmp/dpdk-root install-kmod make[1]: Nothing to be done for 'install-kmod'. [pmatilai@sopuli dpdk]$ find /tmp/dpdk-root/ find: =E2=80=98/tmp/dpdk-root/=E2=80=99: No such file or directory [pmatilai@sopuli dpdk]$ - Panu -