Talk:Main Page

From fd.io
Revision as of 13:25, 4 May 2022 by Sindhu27 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Hi Team,

I am trying for building vpp in a vm.

Using ubuntu18.04 machine and cloned the vpp code from the below github page

"https://github.com/FDio/vpp/tree/stable/2106"

But after trying sudo make install-dep seeing the below errors

"E: Unable to locate package enchant-2

E: Unable to locate package libffi7

Makefile:312: recipe for target 'install-dep' failed

make: *** [install-dep] Error 100"

On trying with ./build-root/vagrant/build.sh getting the below errors:

"@@@@ Configuring vpp in /home/ubuntu/vpp/build-root/build-vpp-native/vpp @@@@

-- The C compiler identification is GNU 9.4.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /usr/bin/gcc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Performing Test compiler_flag_march_haswell

-- Performing Test compiler_flag_march_haswell - Success

-- Performing Test compiler_flag_mtune_haswell

-- Performing Test compiler_flag_mtune_haswell - Success

-- Performing Test compiler_flag_march_tremont

-- Performing Test compiler_flag_march_tremont - Success

-- Performing Test compiler_flag_mtune_tremont

-- Performing Test compiler_flag_mtune_tremont - Success

-- Performing Test compiler_flag_march_skylake_avx512

-- Performing Test compiler_flag_march_skylake_avx512 - Success

-- Performing Test compiler_flag_mtune_skylake_avx512

-- Performing Test compiler_flag_mtune_skylake_avx512 - Success

-- Performing Test compiler_flag_mprefer_vector_width_256

-- Performing Test compiler_flag_mprefer_vector_width_256 - Success

-- Performing Test compiler_flag_march_icelake_client

-- Performing Test compiler_flag_march_icelake_client - Success

-- Performing Test compiler_flag_mtune_icelake_client

-- Performing Test compiler_flag_mtune_icelake_client - Success

-- Performing Test compiler_flag_mprefer_vector_width_512

-- Performing Test compiler_flag_mprefer_vector_width_512 - Success

-- Looking for ccache

-- Looking for ccache - not found

fatal: unsafe repository ('/home/ubuntu/vpp' is owned by someone else)

To add an exception for this directory, call:

git config --global --add safe.directory /home/ubuntu/vpp

CMake Error at CMakeLists.txt:40 (string):

 string sub-command REPLACE requires at least four arguments.

-- Performing Test compiler_flag_no_address_of_packed_member

-- Performing Test compiler_flag_no_address_of_packed_member - Success

-- Performing Test compiler_flag_no_stringop_overflow

-- Performing Test compiler_flag_no_stringop_overflow - Success

-- Looking for pthread.h

-- Looking for pthread.h - found

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed

-- Check if compiler accepts -pthread

-- Check if compiler accepts -pthread - yes

-- Found Threads: TRUE

-- Performing Test HAVE_FCNTL64

-- Performing Test HAVE_FCNTL64 - Failed

-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1")

-- The ASM compiler identification is GNU

-- Found assembler: /usr/bin/gcc

-- Looking for libuuid

-- Found uuid in /usr/include

-- subunit library not found - vapi tests disabled

-- Found Python3: /usr/bin/python3.6 (found version "3.6.9") found components: Interpreter

-- libbpf headers not found - af_xdp plugin disabled

-- Intel IPSecMB found: /home/ubuntu/vpp/build-root/install-vpp-native/external/include

-- dpdk plugin needs libdpdk.a library - found at /home/ubuntu/vpp/build-root/install-vpp-native/external/lib/libdpdk.a

-- Found DPDK 22.3.0 in /home/ubuntu/vpp/build-root/install-vpp-native/external/include

-- -- numa library not found - dpdk plugin disabled

-- -- libnl3 headers not found - linux-cp plugin disabled

-- Found quicly 0.1.3-vpp in /home/ubuntu/vpp/build-root/install-vpp-native/external/include

-- rdma plugin needs libibverbs.a library - found at /home/ubuntu/vpp/build-root/install-vpp-native/external/lib/libibverbs.a

-- rdma plugin needs librdma_util.a library - found at /home/ubuntu/vpp/build-root/install-vpp-native/external/lib/librdma_util.a

-- rdma plugin needs libmlx5.a library - found at /home/ubuntu/vpp/build-root/install-vpp-native/external/lib/libmlx5.a

-- Performing Test IBVERBS_COMPILES_CHECK

-- Performing Test IBVERBS_COMPILES_CHECK - Success

-- -- libdaq headers not found - snort3 DAQ disabled

-- -- libsrtp2.a library not found - srtp plugin disabled

-- -- mbedtls headers not found - tlsmbedtls plugin disabled

-- Looking for SSL_set_async_callback

-- Looking for SSL_set_async_callback - not found

-- Found picotls in /home/ubuntu/vpp/build-root/install-vpp-native/external/include and /home/ubuntu/vpp/build-root/install-vpp-native/external/lib/libpicotls-core.a

-- Configuration:

VPP version  :

VPP library version : NOTFOUND

GIT toplevel dir  :

Build type  : release

C compiler  : /usr/bin/gcc (GNU 9.4.0)

C flags  :

Linker flags (apps) :

Linker flags (libs) :

Host processor  : x86_64

Target processor  : x86_64

Prefix path  : /opt/vpp/external/x86_64 /home/ubuntu/vpp/build-root/install-vpp-native/external

Install prefix  : /home/ubuntu/vpp/build-root/install-vpp-native/vpp

Library dir  : lib/x86_64-linux-gnu

Multiarch variants  : hsw skx icl

-- Configuring incomplete, errors occurred!

See also "/home/ubuntu/vpp/build-root/build-vpp-native/vpp/CMakeFiles/CMakeOutput.log".

See also "/home/ubuntu/vpp/build-root/build-vpp-native/vpp/CMakeFiles/CMakeError.log".

Makefile:644: recipe for target 'vpp-configure' failed

make[1]: *** [vpp-configure] Error 1

make[1]: Leaving directory '/home/ubuntu/vpp/build-root'

Makefile:592: recipe for target 'pkg-deb' failed

make: *** [pkg-deb] Error 2

ubuntu@upf-vpp:~/vpp$"


Can anyone help me in solving this issue?

Thanks and Regards,

Sindhu.