Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/do-compile-openssl.sh: 157: export: (x86)/Common: bad variable name #4960

Open
LongAgoLong opened this issue Jan 8, 2020 · 5 comments

Comments

@LongAgoLong
Copy link

====================
[*] check archs

FF_ALL_ARCHS = armv5 armv7a arm64 x86 x86_64
FF_ACT_ARCHS = armv5 armv7a arm64 x86 x86_64


[*] make NDK standalone toolchain

build on Linux x86_64
ANDROID_NDK=/mnt/d/linux/ndk/android-ndk-r14b
IJK_NDK_REL=14.1.3816874
NDKr14.1.3816874 detected


[*] make NDK standalone toolchain

build on Linux x86_64
ANDROID_NDK=/mnt/d/linux/ndk/android-ndk-r14b
IJK_NDK_REL=14.1.3816874
NDKr14.1.3816874 detected
HOST_OS=linux
HOST_EXE=
HOST_ARCH=x86_64
HOST_TAG=linux-x86_64
HOST_NUM_CPUS=8
BUILD_NUM_CPUS=16
Auto-config: --arch=arm
Toolchain installed to /mnt/c/Users/Administrator/ijkplayer-android/android/contrib/build/openssl-armv5/toolchain.


[*] check openssl env

tools/do-compile-openssl.sh: 157: export: (x86)/Common: bad variable name

@LongAgoLong
Copy link
Author

win10子系统,有解决方法吗?

@topvas7450
Copy link

這是window 環境變數裡面有空格導致,子系統裡面的環境變數調整一下,我這樣可以成功
export $PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g')

@wmailn
Copy link

wmailn commented Jan 12, 2021

export $PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g')

我加了这个没作用...

@wmailn
Copy link

wmailn commented Jan 12, 2021

windows10子系统$PATH 如何排除父系统%PATH%
WIN10子系统环境变量与主系统环境变量冲突

1.打开"注册表"
win + r 打开"运行",输入regedit ,
2.找到HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss{GUID}\Flags
把值从7 改为5。重启电脑,完成。

用这个就可以了

@kolyneh
Copy link

kolyneh commented Nov 9, 2021

按照说明,输入以下命令选择[No]即可

# choose [No] to use bash
sudo dpkg-reconfigure dash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants