From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Regarding DPDK installation Date: Tue, 22 Mar 2016 14:36:21 +0100 Message-ID: <3056682.peQ5fAMurd@xps13> References: <488FF59D9020184C9DCF4B4A0DA4781425547192@NDA-HCLT-MBS03.hclt.corp.hcl.in> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Vivek Gupta Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 7FA0A2BC2 for ; Tue, 22 Mar 2016 14:38:02 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id l68so153361148wml.0 for ; Tue, 22 Mar 2016 06:38:02 -0700 (PDT) In-Reply-To: <488FF59D9020184C9DCF4B4A0DA4781425547192@NDA-HCLT-MBS03.hclt.corp.hcl.in> 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" 2016-03-22 13:13, Vivek Gupta: > I am trying to install DPDK 2.2 on Ubuntu 14. Do you just want to compile DPDK or really install it? Where do you want to install DPDK? > After configuring all necessary variables in common_linuxapp > file, I run following two commands > > make config T=x86_64-ivshmem-linuxapp-gcc The "make config" command is useless if using "install T=" after. > make install T=x86_64-ivshmem-linuxapp-gcc The install directory is not specified in this command. > After 'make install T=x86_64-ivshmem-linuxapp-gcc' , installation fails with message as below > > ************** > Build complete [x86_64-native-linuxapp-gcc] > Installation cannot run with T defined and DESTDIR undefined > ****************************** Why don't you use DESTDIR as suggested? Or instead of using the old all-in-one "install T=", you can use the more standard syntax in 3 commands: make config T= make make install [DESTDIR=] [prefix=] > I have gone through following patches: > http://dpdk.org/dev/patchwork/patch/9270/ > http://dpdk.org/dev/patchwork/patch/9272/ > More interestingly I found that changes suggested in above patches > were already in place except of below two- > addition of 'prefix' in file .../doc/build-sdk-quick-txt [ Applied in ] > addition of 'make install T=X86_64-native-linuxapp-gcc' in file ../doc/guides/prog_guide/dev_kit_root_make_help.rst These patches have been Superseded by newer (see the State field). > In file doc/guides/prog_guide/dev_kit_root_make_help.rst , I had "make install DESTDIR=myinstall" which i replaced with "make install DESTDIR=myinstall prefix=/usr"and tried but no success > so change the content as suggested in patch#9270 as "make install T=x86_64-native-linuxapp-gcc prefix=/usr" but no progress. > > Kindly suggest to solve this issue. Please read the whole doc/guides/prog_guide/dev_kit_root_make_help.rst and don't hesitate to suggest any change if something is not clear. Thanks > ::DISCLAIMER:: [...] no disclaimer please