-
Notifications
You must be signed in to change notification settings - Fork 10
/bin/sh: 1: /usr/bin/edje_cc: not found #39
Comments
Hi, thanks for the report. There are two ways to specify the path via configure options. The first is using the
There might be an issue with the See if that helps resolve the issue. If not, I can see about making further modifications. |
I originally did not specify the edje_cc path, I don't know what is set with Buildroot but entrance tried pkg-config which got /usr/bin/edje_cc. I think there should be a variable that specifies the host directory (i.e |
That is exactly the purpose of FYI, I am handling edje_cc exactly the same as Rage and similar to Terminology for example, see lines 73 and 98-102 in Terminology. It is very likely, you will run into the same issue with Rage, Terminology, and other apps. They all have the same configure option, at least Rage and Terminology , to specify a path to edje_cc. That is all the same, as it is in entrance. Are you not able to set |
I can set it in Buildroot but I think it'll be better if the meson file can find edje_cc instead |
It would if the pkg-config returned a path within the cross compile env. Have you looked into that? Is that something off with Buildroot or meson? It seems like, Meson maybe calling system pkg-config instead of one in the cross compile env. Do you have two pkg-config binaries, one on host and one in cross compile env? I am assuming, there is just one pkg-config. It seems for cross compiling, you should set The only other way I can think off offhand, is to use the prefix path and append I will be doing some cross compiling for arm in the next month. But I think Gentoo will handle this all differently. |
I've not looked at that, I know that certain things are set already in Buildroot for pkg-config. |
Yes, I could be reading this commit wrong, but it seems to imply that it prefers system over alternatives for some reason. This commit might have something you can use to switch pkg-config binaries. It also seems I reversed my terminology, as host for Buildroot seems to be within the cross compile env. Where I was using host as the system that contains the cross compile env, per that last commit link. Seems if you add |
Alright, https://github.com/ExpidusOS/buildroot/commit/e99c19234e78bfe2a4e41e421a91a0fba5548fc7 should use |
Sweet, hopefully, that will resolve any issues. Its interesting how they invert names. From VMs the host is usually the system VMs are running on. For Buildroot, host is the cross compile env. Learn something new every day! Always good to explore things. I earned a bit more about pkg-config and a little Buildroot. Thanks again for the report. |
Still tries host. |
Is there another pkg-config in For now, I would just go with |
There should be pkg-config in |
For some reason, it is not using any of those and reverting to system pkg-config. |
Even though the system pkg-config does not have EFL installed? The meson file should check that. |
The system must be finding something to return that path. It comes from a edje.pc file. If that file was not found, then it would not return a valid path. Look for edje.pc on both system and host cross compile env. If the edje.pc file is in the host cross compile env, then something is not putting that in a chroot such that it uses the host root directory vs system root directory. I have a feeling that the edje.pc file has The problem is likely the edje.pc file prefix path combined with how its being built. Either need to chroot the build, or see about having a different prefix path that is relative to the path of the host cross compile env. |
@RossComputerGuy what is the status of this issue? Are you still experiencing the issue, or did you find a solution? Thanks! |
I think so, my OS builder is having issues |
Description
When cross-compiling, edje_cc should be used from the cross-compiling host directory instead of the main system's bin directory.
Steps to reproduce
1.Set up a cross-compiling environment
2. Compile entrance
The text was updated successfully, but these errors were encountered: