when I 'make install', /etc directory is not generated #11796
Unanswered
sanjayteameng
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Directories should be created manually, this is done by packages (rpms, debs, etc.) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ubuntu 20.04
build system x86_64 x86_64 GNU/Linux
target system: aarch64-linux-gnu
cross compiler:aarch64-linux-gnu-gcc
cloned frr from https://github.com/FRRouting/frr.git
tag frr-8.3
I am trying to cross compile frrouting for aarch64-linux-gnu-gcc compiler
I have installed toolchain, Its working fine.
Cross compiled necessarry packages and installed all the libraries in /usr/aarch64-linux-gnu/lib
cross compiled libraries are json-c, libyang, readline, libz2, pcre2, zlib,
and with grpc I've cross compiled c-ares, protobuf, RE2, SSL, ZLIB as modules
FRR cross configured succecfully and 'make' also went well it seems(No Errors)
configure command is
sudo ./configure CC=aarch64-linux-gnu-gcc
CXX=aarch64-linux-gnu-g++
--host=aarch64-linux-gnu
--with-sysroot=/usr/aarch64-linux-gnu/
--with-clippy=./build-clippy/lib/clippy
--sysconfdir=/etc/frr
--prefix=/home/ls01043ardb/install_frr
--sbindir=${prefix}/lib/frr
--localstatedir=/var/run/frr
--enable-user=frr
--enable-group=frr
--enable-vty-group=frrvty
--disable-doc
--enable-grpc
--enable-static
--enable-static-bin
--enable-shared
--enable-vtysh
--enable-zebra
--enable-configfile-mask=0640
--enable-logfile-mask=0640
--enable-fpm
--enable-shell-access
--enable-gcov
--with-libpam
--enable-rpath
--enable-vtysh
make (no errors) but one warning( libtool: warning: library '/usr/aarch64-linux-gnu/lib/libprotobuf.la' was moved )
make install (/etc dirctory is missing in installed directory)
My issue is when I make install I see only bin, include, lib, share only but /etc directory is not generated.
teameng@team-VirtualBox:/home/ls01043ardb/install_frr$ ls
bin include lib share
teameng@team-VirtualBox:/home/ls01043ardb/install_frr$
What am doing wrong here. kindly help.
I have attached log of frr configure, make & make install log below
I appreciate
thanks
frr_cross_compile_log.txt
Beta Was this translation helpful? Give feedback.
All reactions