From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by dpdk.org (Postfix) with ESMTP id 42F8C235 for ; Mon, 23 Apr 2018 16:12:09 +0200 (CEST) Received: by mail-wr0-f174.google.com with SMTP id z73-v6so41745819wrb.0 for ; Mon, 23 Apr 2018 07:12:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=b8oY0e9lDYGZv/+EXcPJq3b998KywDR3N53LZUD9zZk=; b=fbH16KUMn3zsBjK006KHEpLw+zoHbswryJjU687mSNzVj1JT4xKnQ1ShPXIPcKIla1 fhAAkYpLlobSBbLsB3E7R6tAyuDyMWEta7TqG8ZvZJwQuvmbtv5Bpj8MV+4ACcPJtH1E g3AtuDF3c9aJbiegCJ379a/Bwty1YY65Jgd4Vl1GctQTEoDZ5NExzS/H8IVhENUeTFII uPeEQgJBHc/5id8pQHr4LsfaJPeRiOo6DT5WMsiqUq9rR5ZsjEewzbLgIqKt3AQxczm9 F1ZPxSaOkdU7uowFNXR9cAyIlYGXjU79RaR1BUKrMIHk5qa7FLrauxZwKNyr5xklXH4N dAIg== X-Gm-Message-State: ALQs6tDBXZz1cBTPPKs+pPUy8+YtyfrQfux3tH6fo426scTOgH2D3zOj uBHkIrIRFc/DD55Haz+QVTXoQvmlE3/05F14/uuuXg== X-Google-Smtp-Source: AIpwx4/kKM1etZaMgQh2J6Fki+83JghoY1RZf3TptS3cYp+JNUZHPalDDwmo4GVPHMjRBCxYkyfJHEOifvtZtSYcuAE= X-Received: by 10.80.136.81 with SMTP id c17mr28509576edc.211.1524492728643; Mon, 23 Apr 2018 07:12:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.202.132 with HTTP; Mon, 23 Apr 2018 07:11:48 -0700 (PDT) In-Reply-To: References: From: Chris Paquin Date: Mon, 23 Apr 2018 10:11:48 -0400 Message-ID: To: James Bensley Cc: RICCARDO RUSSO , users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Install DPDK on Centos7 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 14:12:09 -0000 If there are any steps or pre-reqs that I am missing in my guide [1] please let me know. Anything else that I should add? [1] https://fatmin.com/2017/08/25/how-to-install-testpmd-on-rhel-7-x/ CHRISTOPHER PAQUIN Cloud INFRASTRUCTURE Architect, RHCE, RHCSA-OSP Red Hat M: 770-906-7646 On Mon, Apr 23, 2018 at 3:27 AM, James Bensley wrote: > On 20 April 2018 at 17:01, RICCARDO RUSSO > wrote: > > Hello, > > I'm trying to install dpdk on CentOS > > > > $ yum -y update > > $ yum -y install git gcc numactl-devel libpcap-devel kernel-devel > > $ hostnamectl > > ... > > Virtualization: kvm > > Operating System: CentOS Linux 7 (Core) > > CPE OS Name: cpe:/o:centos:centos:7 > > Kernel: Linux 3.10.0-514.26.1.el7.x86_64 > > Architecture: x86-64 > > > > $ wget http://dpdk.org/browse/dpdk-stable/snapshot/dpdk-stable- > 18.02.tar.gz > > $ gunzip dpdk-stable-18.02.tar.gz > > $ tar -xvf dpdk-stable-18.02.tar > > $ export RTE_SDK=/root/dpdk-stable-18.02 > > $ export RTE_TARGET=x86_64-native-linuxapp-gcc > > $ cd $RTE_SDK > > $ make install T=x86_64-native-linuxapp-gcc DESTDIR=install > > ... > > == Build lib/librte_eal/linuxapp/eal > > SYMLINK-FILE include/exec-env/rte_kni_common.h > > CC eal.o > > CC eal_hugepage_info.o > > CC eal_memory.o > > CC eal_thread.o > > CC eal_log.o > > CC eal_vfio.o > > CC eal_vfio_mp_sync.o > > CC eal_debug.o > > CC eal_lcore.o > > CC eal_timer.o > > CC eal_interrupts.o > > CC eal_alarm.o > > CC eal_common_lcore.o > > CC eal_common_timer.o > > CC eal_common_memzone.o > > CC eal_common_log.o > > CC eal_common_launch.o > > CC eal_common_memory.o > > CC eal_common_tailqs.o > > CC eal_common_errno.o > > CC eal_common_cpuflags.o > > CC eal_common_hypervisor.o > > CC eal_common_string_fns.o > > CC eal_common_hexdump.o > > CC eal_common_devargs.o > > CC eal_common_bus.o > > CC eal_common_dev.o > > CC eal_common_options.o > > CC eal_common_thread.o > > CC eal_common_proc.o > > CC rte_malloc.o > > CC malloc_elem.o > > CC malloc_heap.o > > CC rte_keepalive.o > > CC rte_service.o > > CC rte_reciprocal.o > > CC rte_cpuflags.o > > CC rte_hypervisor.o > > CC rte_spinlock.o > > CC rte_cycles.o > > AR librte_eal.a > > INSTALL-LIB librte_eal.a > > == Build lib/librte_eal/linuxapp/igb_uio > > make: *** /lib/modules/3.10.0-514.26.1.el7.x86_64/build: No such file or > > directory. Stop. > > make[7]: *** [igb_uio.ko] Error 2 > > make[6]: *** [igb_uio] Error 2 > > make[5]: *** [linuxapp] Error 2 > > make[4]: *** [librte_eal] Error 2 > > make[3]: *** [lib] Error 2 > > make[2]: *** [all] Error 2 > > make[1]: *** [pre_install] Error 2 > > make: *** [install] Error 2 > > > > I don't know what I am missing > > Rr > > Hi Riccardo, > > I have to install these packages on CentOS 7 first: > > sudo yum install make coreutils gcc glibc-devel.x86_64 > kernel-devel.x86_64 kernel-headers.x86_64 python libpcap-devel > numactl.x86_64 numactl-devel.x86_64 numactl-libs.x86_64 > > Cheers, > James. >