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

Problem building on Debian sid, arm64 #532

Open
alexmyczko opened this issue Aug 24, 2024 · 2 comments
Open

Problem building on Debian sid, arm64 #532

alexmyczko opened this issue Aug 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@alexmyczko
Copy link

alexmyczko commented Aug 24, 2024

Describe the bug
Error messages when building.
I would really like to get this officially into Debian before end of this year,
so it might be released with Debian 13. Ubuntu and other distributions would also
profit from that. If it helps, I'm also on IRC.

To Reproduce
Steps to reproduce the behavior:
Try to build it on Debian sid.

Expected behavior
It builds.

Screenshots
n/a

Desktop (please complete the following information):

  • OS: Debian
  • Browser Yes
  • Version sid

Additional context
http://bananas.debian.net/debian/qb64pe/qb64pe_3.14.0%2bds-1_arm64.build

@alexmyczko alexmyczko added the bug Something isn't working label Aug 24, 2024
@alexmyczko alexmyczko changed the title Problem building on Debian sid, arm64. Problem building on Debian sid, arm64 Aug 24, 2024
@mkilgore
Copy link
Contributor

Hi @alexmyczko, if I'm reading it right you called make clean and make INSTALL=install. To build QB64-PE on Linux you have to call make OS=lnx clean and make OS=lnx BUILD_QB64=y (with the appropriate -jN to speed it up). The gist of why is that the same Makefile is used by QB64-PE to build the compiled QB64-PE programs, and it's a cross-platform Makefile, so when building QB64-PE itself you basically bootstrap it with those flags. Potentially we might change this in the future (so you can just do a typical make to build QB64-PE itself) but this is how it works now.

I would say separately that I don't know how you plan to package QB64-PE up but the required permissions may cause you a problem. QB64-PE requires permissions to the directories QB64-PE is installed into to function, otherwise you won't be able to compile programs. As such, the Makefile has no install target as we don't provide a way to install it system-wide. In theory you could just throw the whole thing in /opt/qb64pe and call it a day, but you'd have to make it world writable.

@alexmyczko
Copy link
Author

alexmyczko commented Aug 26, 2024

@mkilgore thank you for the explanation, I guess this could work. For the other thing, it's probably playing/patching around the following:

QB64Team/qb64#2 (comment)

help would be very welcome. and this bug would get finally closed: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899414

i mean would there be interest for building an install target, so linux users could profit from this? without running the software like a windows bundle .zip with unpacking and running it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants