* Re: [dpdk-dev] Regarding DPDK installation
2016-03-22 13:36 ` [dpdk-dev] Regarding DPDK installation Thomas Monjalon
@ 2016-03-22 13:53 ` Vivek Gupta
0 siblings, 0 replies; 2+ messages in thread
From: Vivek Gupta @ 2016-03-22 13:53 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev
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=x86_64-ivshmem-linuxapp-gcc DESTDIR=install
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=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=<target>
<adjust settings in .config>
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
::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. 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, dissemination, 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.
----------------------------------------------------------------------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread