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

No instructions for utilizing in Arch linux (i686 / x86_64) #876

Closed
UNIcodeX opened this issue Sep 1, 2016 · 5 comments
Closed

No instructions for utilizing in Arch linux (i686 / x86_64) #876

UNIcodeX opened this issue Sep 1, 2016 · 5 comments

Comments

@UNIcodeX
Copy link

UNIcodeX commented Sep 1, 2016

NOTE: The following commands assume that your user has sudo access. If not, this can be accomplished by "usermod -G wheel {user}" without quotes, as root. It is also necessary to uncomment the following line in /etc/sudoers:
%wheel ALL=(ALL) ALL

If platform is Arch x86_64 Enable multilib repository

Uncomment the following in /etc/pacman.conf:
[multilib]
Include = /etc/pacman.d/mirrorlist

Update the package database

sudo pacman -Syu

If platform is Arch x86_64:

sudo pacman -S jdk7-openjdk
python2
python2-pip
python2-kivy
mesa-libgl
lib32-mesa-libgl
lib32-sdl2
lib32-sdl2_image
lib32-sdl2_mixer
sdl2_ttf
unzip
gcc-multilib
gcc-libs-multilib

If prompted with the following, answer 'y' for both prompts:
::gcc-multilib and gcc are in conflict. Remove gcc?
::gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs?

If platform is Arch x86:

sudo pacman -S jdk7-openjdk
python2
python2-pip
python2-kivy
mesa-libgl
sdl2
sdl2_image
sdl2_mixer
sdl2_ttf
unzip

Install Cython:

sudo pip2 install cython

Install buildozer:

git clone http://github.com/kivy/buildozer
sudo python2 setup.py install

DONE!

From here you should be able to run the buildozer build process.

  • buildozer init
  • modify the buildozer.conf as necessary
  • buildozer android debug serve
@inclement
Copy link
Member

Thanks for the information, I've added it to the doc at 5638a53

I notice that your dependencies don't include zlib, which I thought was necessary. Do you have that installed (probably lib32-zlib)?

@UNIcodeX
Copy link
Author

UNIcodeX commented Sep 4, 2016

I looked for it in installed packages (pacman -Q | grep zlib), because I
remember it being required as well, and it was listed as being installed. I
don't remember if it was the 64 bit or 32 bit version, but can verify when
I get back to the VM on Monday.

It must have either:
A) been in the default install.
B) been installed as a dependency of something else I installed.

I can track this down as well on Monday.

Package info for 64 bit version -
https://www.archlinux.org/packages/core/x86_64/zlib/

Package info for 32 bit version -
https://www.archlinux.org/packages/multilib/x86_64/lib32-zlib/

On Sep 3, 2016 6:51 PM, "Alexander Taylor" notifications@github.com wrote:

Thanks for the information, I've added it to the doc at 5638a53
5638a53

I notice that your dependencies don't include zlib, which I thought was
necessary. Do you have that installed (probably lib32-zlib)?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#876 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH2n-r1pVcV1q--kqdb4uM-9tDkEtzx_ks5qmggBgaJpZM4JzDyM
.

@UNIcodeX
Copy link
Author

UNIcodeX commented Sep 4, 2016

It got my curiosity up so I SSHd in.

Both zlib-1.2.8 64 bit and 32 bit are installed.

[image: Inline image 5]

[image: Inline image 1]

lib32-zlib depends on several packages, one of which is 64 bit zlib

[image: Inline image 2]

I see that lib32-sdl_image is in the list, and that requires lib32-sdl and
lib32-zlib which requires zlib, so my guess is that it was installed as a
dependency of sdl or something related to it.

still... it wouldn't hurt to add it to the "pacman -S ..." list to make
sure it gets installed.

hope this helps.

On Sep 4, 2016 9:12 AM, "Jared Fields" jbcomps@gmail.com wrote:

I looked for it in installed packages (pacman -Q | grep zlib), because I
remember it being required as well, and it was listed as being installed. I
don't remember if it was the 64 bit or 32 bit version, but can verify when
I get back to the VM on Monday.

It must have either:
A) been in the default install.
B) been installed as a dependency of something else I installed.

I can track this down as well on Monday.

Package info for 64 bit version - https://www.archlinux.org/pack
ages/core/x86_64/zlib/

Package info for 32 bit version - https://www.archlinux.org/pack
ages/multilib/x86_64/lib32-zlib/

On Sep 3, 2016 6:51 PM, "Alexander Taylor" notifications@github.com
wrote:

Thanks for the information, I've added it to the doc at 5638a53
5638a53

I notice that your dependencies don't include zlib, which I thought was
necessary. Do you have that installed (probably lib32-zlib)?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#876 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH2n-r1pVcV1q--kqdb4uM-9tDkEtzx_ks5qmggBgaJpZM4JzDyM
.

@inclement
Copy link
Member

It looks like it's probably pulled in as a dependency so I won't modify the doc right now, thanks again for all the information.

@UNIcodeX
Copy link
Author

UNIcodeX commented Sep 9, 2016

Sounds good. You bet.

On Thu, Sep 8, 2016 at 5:43 PM, Alexander Taylor notifications@github.com
wrote:

It looks like it's probably pulled in as a dependency so I won't modify
the doc right now, thanks again for all the information.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#876 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH2n-mZ-wbRiqxRw_o3YzkiIglohnOI_ks5qoI-ugaJpZM4JzDyM
.

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

2 participants