aparcar / openwrt

Staging tree of Paul Spooren
Other
8 stars 1 forks source link

FS#281 - f2fs does not compile under OS X #312

Closed aparcar closed 7 years ago

aparcar commented 7 years ago

Bluse:

Hi all,

When I try to compile the LEDE library libf2fs under OS X El Capitan the following error appiers:

checking pkg-config is at least version 0.9.0... yes checking for libuuid... yes checking for libselinux... no configure: error: Package requirements (libselinux) were not met:

No package 'libselinux' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables libselinux_CFLAGS and libselinux_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. make[3]: [Makefile:90: /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/target-x86_64_musl-1.1.15/f2fs-tools-1.7.0/.configured_yyynynynyynyyny] Error 1 make[3]: Leaving directory '/Users/bluse/Desktop/Coding-Area/LEDE/feeds/packages/utils/f2fs-tools' make[2]: [package/Makefile:128: package/feeds/packages/f2fs-tools/compile] Error 2 make[2]: Leaving directory '/Users/bluse/Desktop/Coding-Area/LEDE' make[1]: [package/Makefile:124: /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/target-x86_64_musl-1.1.15/stamp/.package_compile] Error 2 make[1]: Leaving directory '/Users/bluse/Desktop/Coding-Area/LEDE' make: [/Users/bluse/Desktop/Coding-Area/LEDE/include/toplevel.mk:196: world] Error 2

LEDE version: latest trunk

host: MacBookPro OS X El Capitan

workaround: -do not select libf2fs package

troubleshooting:

Any idea where to get selinux/ libselinux for OSX .. selfcompilation ? is it absolutlty necesarry for f2fs ?

Greetings Thomas

aparcar commented 7 years ago

mkresin:

[package/Makefile:128: package/feeds/packages/f2fs-tools/compile] Error 2

You are compiling f2fs-tools from the packages feed.

Please report the issue at the [[https://github.com/openwrt/packages/issues|packages bugtracker]].