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

Minor Documentation Edit -- Tarball doc misses a few packages #374

Open
AkbarTheGreat opened this issue Feb 2, 2023 · 2 comments
Open

Comments

@AkbarTheGreat
Copy link

I'm in the process of updating my sdk tarball, doing so inside of an ubuntu Docker container. The section https://github.com/tpoechtrager/osxcross#packing-the-sdk-on-linux---method-1-xcode--80 lists packages to install, but on Ubuntu I had to install several more (as well as a few APT naming conventions which don't match, but that's easily navigable)

The full set of packages I needed to install were:
clang make libssl-dev lzma-dev libxml2-dev cmake cpio liblzma-dev libbz2-dev bzip2

The lzma/liblzma distinction may be Ubuntu-specific, since I'd expect lzma-dev to include liblzma-dev, but I'm unsure. But it would be nice to include cmake, cpio, libbz2-devel, and bzip2 at least in the list of packages required, for convenience.

@nephatrine
Copy link

I encountered this as well. I "translated" the package names to ubuntu-specific ones myself, but still got an error like this:

Error while extracting archive:(Metadata): bzip2 support not compiled in. (Success)

Which was definitely not a (Success) so I had to find and install bzip2 libraries, remove the tools that gen_sdk_package_pbzx.sh built, and let it rebuild them with bzip2 support.

@jimafisk
Copy link

These comments were super helpful!

Thanks for the dependency list:

sudo apt install clang make libssl-dev lzma-dev libxml2-dev cmake cpio liblzma-dev libbz2-dev bzip2

I was confused why after installing those, I was still hitting bzip2 support not compiled in. Removing the current build assets:

rm -R build

Then re-running worked:

./tools/gen_sdk_package_pbzx.sh Xcode_16.1.xip

Thanks!

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