From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 5CB17A37E7; Wed, 2 Dec 2015 07:44:29 +0000 (UTC) Received: from sopuli.koti.laiskiainen.org (vpn1-7-93.ams2.redhat.com [10.36.7.93]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tB27iRjP003627; Wed, 2 Dec 2015 02:44:27 -0500 To: Thomas Monjalon , dev@dpdk.org References: <1449028676-19232-1-git-send-email-thomas.monjalon@6wind.com> From: Panu Matilainen Message-ID: <565EA15A.1080902@redhat.com> Date: Wed, 2 Dec 2015 09:44:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1449028676-19232-1-git-send-email-thomas.monjalon@6wind.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Subject: Re: [dpdk-dev] [PATCH 00/10] standard make install X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2015 07:44:30 -0000 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 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=x86_64-native-linuxapp-gcc make make install DESTDIR=/tmp/dpdk-root ...results in this: [pmatilai@sopuli dpdk]$ make DESTDIR=/tmp/dpdk-root install ================== Installing /tmp/dpdk-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 ‘./.config’: No such file or directory /srv/work/repos/dpdk/mk/rte.sdkinstall.mk:122: recipe for target 'install-sdk' failed make[3]: *** [install-sdk] Error 1 /srv/work/repos/dpdk/mk/rte.sdkroot.mk:104: recipe for target 'install-sdk' failed make[2]: *** [install-sdk] Error 2 /srv/work/repos/dpdk/mk/rte.sdkinstall.mk:93: recipe for target 'install' failed make[1]: *** [install] Error 2 /srv/work/repos/dpdk/mk/rte.sdkroot.mk:102: recipe for target 'install' failed make: *** [install] Error 2 [pmatilai@sopuli dpdk]$ The failure appears to be install-sdk failing since invoking it alone results in similar errors. install-runtime appears to do something but it mainly installs sources 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=/tmp/dpdk-root install-kmod make[1]: Nothing to be done for 'install-kmod'. [pmatilai@sopuli dpdk]$ find /tmp/dpdk-root/ find: ‘/tmp/dpdk-root/’: No such file or directory [pmatilai@sopuli dpdk]$ - Panu -