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

Bootstrap Issues #140

Open
vanshg opened this issue Oct 23, 2022 · 5 comments
Open

Bootstrap Issues #140

vanshg opened this issue Oct 23, 2022 · 5 comments

Comments

@vanshg
Copy link

vanshg commented Oct 23, 2022

Ran into the following issue on a fresh clone and trying to follow the bootstrap instructions on macOS 12.6 on an M1 Macbook Pro with Python 3.10.7

./tools/scripts/bootstrap.py results in FileNotFoundError: [Errno 2] No such file or directory: 'readelf'

Ok, so then I tried to install readelf via the binutils package which contains that command. (brew install binutils)

Tried the command again, and got this:

➜  wpe-android git:(main) ./tools/scripts/bootstrap.py                          
Namespace(arch='arm64', version='2.34.6', cerbero=None, build=False, debug=False, wrapper=False)
Downloading packages...
  https://wpewebkit.org/android/bootstrap/2.34.6/wpewebkit-android-arm64-2.34.6.tar.xz - done
  https://wpewebkit.org/android/bootstrap/2.34.6/wpewebkit-android-arm64-2.34.6-runtime.tar.xz - done
Extracting dependencies packages...
Installing dependencies into wpe-android project...
NEEDED but not provided:
     libOpenSLES.so
     libGLESv2.so
Provided but not NEEDED:
     libgstvulkan-1.0.so
     libgstplayer-1.0.so
     libvorbisfile.so
     libgstvalidate-1.0.so
     libgstinsertbin-1.0.so
     libdvdnav.so
     libexslt.so
     libWPEInjectedBundle.so
     libcharset.so
     libgstcodecs-1.0.so
     libcairo-script-interpreter.so
     libstdc++.so
     libgthread-2.0.so
     libtheora.so
     libsrt_1_4.so
     libgsttranscoder-1.0.so
     liborc-test-0.4.so
     libWPEBackend-android.so
     libicuio_68.so
     liboggkate.so
     libgstallocators-1.0.so
     libturbojpeg.so

Are there some extra dependencies I need to install first?

@zongren
Copy link

zongren commented May 29, 2023

any progress?
@vanshg

@vanshg
Copy link
Author

vanshg commented May 29, 2023

Ah, no, I haven't made any further attempt at this

@zongren
Copy link

zongren commented May 29, 2023

looks like need a linux machine after all

@vanshg
Copy link
Author

vanshg commented May 29, 2023

@neodesys @zhani Is this true? Any input you could give?

@neodesys
Copy link
Collaborator

As written in the README file, we've only tested the build process under Linux so far. So it may (or not) work on other systems. But seeing your logs it seems that after installing the readelf tool you've completed the installation of the wpe-webkit dependencies, the rest of the process is using the Android SDK/NDK tools so I think it should work straigthforward after this point.

Don't worry for the "NEEDED but not provided" libraries, they are in fact provided by the Android system. It just means they are not provided with the wpe-webkit package, which is normal.

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

3 participants