-
Notifications
You must be signed in to change notification settings - Fork 174
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 config file navit.xml, navit.xml.local found #1200
Comments
Hi @sryateyourdog |
Awesome, thank you. Is there documentation I can reference for this
somewhere? I just looked for the script/build_android.sh file and don't
see it.
I unfortunately am not sure how to integrate all that into gradle but if I
figure it out I will happily share that :).
…On Fri, Sep 23, 2022 at 11:07 PM jkoan ***@***.***> wrote:
Hi @sryateyourdog <https://github.com/sryateyourdog>
from what you wrote I think you are trying to build navit for Android from
source.
Currently not all steps of the build is done via gradle. So in order to
have everything prepared to run gradle you need to do the steps from the
script/build_android.sh starting with the cake line and continue until just
before the first gradlew call.
So basically build icons, translations and the xmls and put (and rename)
them in the corresponding folders.
If you happen to know how we can integrate those steps into the gradle
build directly I am happy to help you with that and accept the PR 😄
—
Reply to this email directly, view it on GitHub
<#1200 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3HVCNBXBPD5DCDWTYC7RB3V7ZWANANCNFSM6AAAAAAQUFAJ7U>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The script can be found here: https://github.com/navit-gps/navit/blob/trunk/scripts/build_android.sh |
Thanks, I appreciate it. I'm trying to work through the errors I'm getting
and am currently seeing:
./build_android.sh: line 40: make: command not found
From browsing it seemed like installing build-essential may be the answer
but when I run pip install build-essential I get
ERROR: Could not find a version that satisfies the requirement
build-essential (from versions: none)
ERROR: No matching distribution found for build-essential
Where should I be looking to get the make command included? I would have
assumed cmake but it's installed already. I'm on Windows.
…On Sat, Sep 24, 2022 at 10:11 AM jkoan ***@***.***> wrote:
The script can be found here:
https://github.com/navit-gps/navit/blob/trunk/scripts/build_android.sh
If you are lucky you can run it with git bash on windows or through WSL.
But this hasn't been tested. If this won't work you can do the lines one
after another manually. Just tell us where you need help 😃
—
Reply to this email directly, view it on GitHub
<#1200 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3HVCNCLVMCDODH26AYN3WLV74DX3ANCNFSM6AAAAAAQUFAJ7U>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Build essentials is a package of Debian (os), so you can't install it with pip which is for python (language). I don't know where you tried to run the commands, if you used WSL you need to install the required packages within the WSL OS (which could be Debian, Ubuntu,...) If you run through git bash you can try to install the windows versions of the tools. |
I'm trying through git bash. I reinstalled it via
https://gitforwindows.org/ to make sure I had the windows version and the
most up to date version in general with no luck.
Is there a different way I could/should go about setting up the config
file(s), icons, etc?
…On Mon, Sep 26, 2022 at 11:52 PM jkoan ***@***.***> wrote:
Build essentials is a package of Debian (os), so you can't install it with
pip which is for python (language). I don't know where you tried to run the
commands, if you used WSL you need to install the required packages within
the WSL OS (which could be Debian, Ubuntu,...) If you run through git bash
you can try to install the windows versions of the tools.
—
Reply to this email directly, view it on GitHub
<#1200 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3HVCNABMHHQ34RXICIVZGDWAJVPLANCNFSM6AAAAAAQUFAJ7U>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
You should be able to install additional software packages like described here: https://www.msys2.org/docs/package-management/ In the coming days I will try to look again into the details if I can integrate those steps into the gradle build directly |
I'm working in android and get the following error when I try to run navit. I've been trying to get this figured out but am unsure how to correctly setup the navit.xml file(s). I'm hopeful this will be an easy answer for someone, and that anyone stuck like me can benefit from the answer as well.
2022-09-23 12:58:39.431 15371-15371/org.navitproject.navit E/Navit: Failed to extract language resource en
2022-09-23 12:58:39.431 15371-15371/org.navitproject.navit E/navit: error:navit:int main_real(int, char *const *):No config file navit.xml, navit.xml.local found
2022-09-23 12:58:39.450 15371-15371/org.navitproject.navit A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 15371 (itproject.navit), pid 15371 (itproject.navit)
I've tried adding a copy of the navit_shipped.xml renamed as navit.xml in the navit/android/src folder since that seems to be where the build.gradle is looking for a config file, but I'm just kind of guessing at things currently. Please let me know how to get this aspect setup.
Requested issue info included below:
The text was updated successfully, but these errors were encountered: