Article 5FFWK Building Android for Qemu & Virtualizing GPU Access : autogen.sh: File or directory not found

Building Android for Qemu & Virtualizing GPU Access : autogen.sh: File or directory not found

by
marietto
from LinuxQuestions.org on (#5FFWK)
Hello.

I would like to virtualize Android on my jetson nano using qemu + kvm + virglrenderer and I found these tutorial to accomplish the task :

https://www.collabora.com/news-and-b...by-step-guide/

and

https://www.collabora.com/news-and-b...ng-gpu-access/

so. on Ubuntu 20.10 I have added this script to the .bashrc file and I did : source ~/.bashrc and I did : source ~/.bashrc

Code:function add_export_env {
local VAR="$1"
shift
local VAL=$(eval echo "\$$VAR")
if [ "$VAL" ]; then
VAL=$(concatenate_colon "$@" "$VAL");
else
VAL=$(concatenate_colon "$@");
fi
eval "export $VAR=\"$VAL\""
}

function prefix_setup {
local PREFIX="$1"

add_export_env PATH "$PREFIX/bin"
add_export_env LD_LIBRARY_PATH "$PREFIX/lib"
add_export_env PKG_CONFIG_PATH "$PREFIX/lib/pkgconfig/" "$PREFIX/share/pkgconfig/"
add_export_env MANPATH "$PREFIX/share/man"
export ACLOCAL_PATH="$PREFIX/share/aclocal"
mkdir -p "$ACLOCAL_PATH"
export ACLOCAL="aclocal -I $ACLOCAL_PATH"
}

function projectshell {
case "$1" in
virgl | virglrenderer)
export ALT_LOCAL="/opt/local/virgl"
mkdir -p "$ALT_LOCAL"
prefix_setup "$ALT_LOCAL"
;;
esac
}
and I did :

Code:sudo apt install autoconf gcc-aarch64-linux-gnu libaio-dev libbluetooth-dev libbrlapi-dev libbz2-dev libcap-dev libcap-ng-dev libcurl4-gnutls-dev libepoxy-dev libfdt-dev libgbm-dev libgles2-mesa-dev libglib2.0-dev libibverbs-dev libjpeg8-dev liblzo2-dev libncurses5-dev libnuma-dev librbd-dev librdmacm-dev libsasl2-dev libsdl1.2-dev libsdl2-dev libseccomp-dev libsnappy-dev libssh2-1-dev libtool libusb-1.0-0 libusb-1.0-0-dev libvde-dev libvdeplug-dev libvte-2.90-dev libxen-dev valgrind xfslibs-dev xutils-dev zlib1g-dev

export PROJECT_PATH="/opt/qemu_android" export

VIRGLRENDERER_PATH="${PROJECT_PATH}/virglrenderer" export

QEMU_PATH="${PROJECT_PATH}/qemu" export LINUX_PATH="${PROJECT_PATH}/linux" export

ANDROID_PATH="${PROJECT_PATH}/android" export

ANDROID_TOOLS_PATH="${PROJECT_PATH}/android-tools"

git clone git://anongit.freedesktop.org/virglrenderer

root@aorus:/opt/qemu_android/virglrenderer# ls

ci docs perf-testing virglrenderer.pc.inconfig.h.meson meson.build src vtestCOPYING meson_options.txt tests

root@aorus:/opt/qemu_android/virglrenderer# ./autogen.sh

bash: ./autogen.sh: File or directory not found
as u can see autogen does not work. why ?latest?d=yIl2AUoC8zA latest?i=qztzzOQYCR0:xMPlp4iRA_M:F7zBnMy latest?i=qztzzOQYCR0:xMPlp4iRA_M:V_sGLiP latest?d=qj6IDK7rITs latest?i=qztzzOQYCR0:xMPlp4iRA_M:gIN9vFwqztzzOQYCR0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments