From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from GWS05.hcl.com (gws05.avitas.hcl.com [203.105.185.23]) by dpdk.org (Postfix) with ESMTP id 778F12BD4 for ; Tue, 22 Mar 2016 14:53:16 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.24,377,1454956200"; d="scan'208";a="155727944" Received: from unknown (HELO NDA-CORP-HT02.CORP.HCL.IN) ([10.248.64.34]) by GWS05.hcl.com with ESMTP/TLS/AES128-SHA; 22 Mar 2016 19:18:55 +0530 Received: from NDA-HCLT-CSHT02.HCLT.CORP.HCL.IN (10.98.132.27) by NDA-CORP-HT02.CORP.HCL.IN (10.248.64.34) with Microsoft SMTP Server (TLS) id 14.3.235.1; Tue, 22 Mar 2016 19:23:14 +0530 Received: from NDA-HCLT-MBS03.HCLT.CORP.HCL.IN ([10.98.132.18]) by NDA-HCLT-CSHT02.HCLT.CORP.HCL.IN ([10.98.132.27]) with mapi id 14.03.0235.001; Tue, 22 Mar 2016 19:23:14 +0530 From: Vivek Gupta To: Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: Regarding DPDK installation Thread-Index: AdGEOjtH0ZGz+CGSQKCIZ8pCdLg/5P//rvmAgABd7ZM= Date: Tue, 22 Mar 2016 13:53:13 +0000 Message-ID: <488FF59D9020184C9DCF4B4A0DA478142554728C@NDA-HCLT-MBS03.hclt.corp.hcl.in> References: <488FF59D9020184C9DCF4B4A0DA4781425547192@NDA-HCLT-MBS03.hclt.corp.hcl.in>, <3056682.peQ5fAMurd@xps13> In-Reply-To: <3056682.peQ5fAMurd@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.96.4.252] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] Regarding DPDK installation 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: Tue, 22 Mar 2016 13:53:17 -0000 Hi >Do you just want to compile DPDK or really install it?Where do you want to= install DPDK? I want to install DPDK into {$HOME}/dpdk downloaded tar ball. > The install directory is not specified in this command. After your suggestion i used as = make config T=3Dx86_64-ivshmem-linuxapp-gcc DESTDIR=3Dinstall = and it successfully creates a install directory and libraries into it. Doing so would require any change for RTE_SDK and RTE_TARGET? Thanks && Regards Vivek Gupta ________________________________________ From: Thomas Monjalon [thomas.monjalon@6wind.com] Sent: Tuesday, March 22, 2016 7:06 PM To: Vivek Gupta Cc: dev@dpdk.org Subject: Re: Regarding DPDK installation 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=3Dx86_64-ivshmem-linuxapp-gcc The "make config" command is useless if using "install T=3D" after. > make install T=3Dx86_64-ivshmem-linuxapp-gcc The install directory is not specified in this command. > After 'make install T=3Dx86_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=3D", you can use the more standard syntax in 3 commands: make config T=3D make make install [DESTDIR=3D] [prefix=3D] > 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=3DX86_64-native-linuxapp-gcc' in file ../do= c/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 in= stall DESTDIR=3Dmyinstall" which i replaced with "make install DESTDIR=3Dmy= install prefix=3D/usr"and tried but no success > so change the content as suggested in patch#9270 as "make install T=3Dx8= 6_64-native-linuxapp-gcc prefix=3D/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 ::DISCLAIMER:: ---------------------------------------------------------------------------= ------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and inte= nded for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as informa= tion could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in trans= mission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability = on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the = author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, disse= mination, copying, disclosure, modification, distribution and / or publication of this message without the prior written= consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please= delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses = and other defects. ---------------------------------------------------------------------------= -------------------------------------------------------------------------