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

FS#1427 - SDK doesn't add a directory to PATH (compiling po2lmo binary with SDK) #6404

Closed
openwrt-bot opened this issue Mar 11, 2018 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

stangri:

This is a reminder to @neoraider:

After:
./scripts/feeds install luci-base
make package/luci-base/host/compile

the po2lmo binary is available (in my case) at ./staging_dir/target-arm_cortex-a9+vfpv3_musl-1.1.16_eabi/host/bin/po2lmo. Looks like it's being used by the SDK just fine, but according to @neoraider: "it seems the SDK only adds staging_dir/host/bin to the PATH".

I'll quote the full exchange:

07:06 neoraider: stangri: in a normal OpenWrt build from source, po2lmo is installed to staging_dir/hostpkg/bin/po2lmo (on master) or staging_dir/target-*/host/bin (lede-17.01); it seems the SDK only adds staging_dir/host/bin to the PATH
07:06 neoraider: stangri: were you able to build package/luci-base/host/compile using the SDK?
07:07 neoraider: stangri: and if you were, did it install the binary to one of the directories I listed?
07:07 stangri: neoraider: yes I was. also could get the binary made by: cd feeds/luci/modules/luci-base/src; make po2lmo
07:07 stangri: neoraider: yes, I was confused by the long-ass target directory: ./staging_dir/target-arm_cortex-a9+vfpv3_musl-1.1.16_eabi/host/bin/po2lmo
07:08 neoraider: stangri: Okay, in that case the SDK is not setting PATH correctly
07:08 neoraider: stangri: Can you file a ticket, so I don't forget about it?
07:08 stangri: neoraider: I will, not sure if it's not the user error tho.
07:22 stangri: neoraider: looks like the po2lmo in the target directory is being used just fine. do you want me to still file a ticket in flyspray? I can't see how can I assign it to you directly.

@openwrt-bot
Copy link
Author

NeoRaider:

Thanks, I double-checked this, the paths are set correctly after all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant