autogen error in OSX 10.11.5
Keunho77 opened this issue · 3 comments
Hi,
I meet below error messages during autogen.sh in my Mac.
build $ ../autogen.sh
glibtoolize: putting auxiliary files in '.'.
glibtoolize: linking file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: linking file 'm4/libtool.m4'
glibtoolize: linking file 'm4/ltoptions.m4'
.........
checking if /opt/local/bin/x86_64-apple-darwin15-gcc-4.7.4 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/x86_64-apple-darwin15-gcc-4.7.4 linker (/opt/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin15.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
../../CAs/configure: line 11936: syntax error near unexpected token FUSE,' ../../CAs/configure: line 11936:
PKG_CHECK_MODULES(FUSE, fuse, , as_fn_error $? "'Unable to find libfuse. Please make sure library and header files are installed.'" "$LINENO" 5)'
configure: error: ../../CAs/configure failed for CAs
I'm working on OSX 10.11.5 and oxsfuse, libtool, autoconf,automake,pkg-config installed.
Seems fuse has something wrong with PKG_CHECK_MODULES.
I checked fuse with pkg-config. it looks fine but not sure why PKG_CHECK_MOUDLE failed.
$ pkg-config --libs --cflags fuse
-D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE -I/usr/local/include/osxfuse/fuse -L/usr/local/lib -losxfuse -pthread -liconv
Anyone can help it?
Thanks in advance.
Is the libfuse.so or libfuse.a in your /usr/local/lib folder?
In the Open-TEE document, it says:
$ sudo apt-get install autoconf automake libtool uuid-dev libssl-dev libglu1-mesa-dev libelfg0-dev mesa-common-dev build-essential git curl htop pkg-config qbs gdb libfuse-dev
Meaning we have to install libfuse-dev on Linux, not sure how to do that on OSX, maybe try macport or brew or sth. similar
Or maybe try
cp \path_of_the_libfile\libosxfuse.so \path_of_the_libfile\libfuse.so
I can see below fuse related files in /usr/local/lib but no .so and .a due to OSX.
$ ll libfuse*
lrwxr-xr-x 1 root wheel 20 7 7 17:06 libfuse.0.dylib -> libmacfuse_i32.dylib
lrwxr-xr-x 1 root wheel 22 7 7 17:06 libfuse.2.dylib -> libmacfuse_i32.2.dylib
lrwxr-xr-x 1 root wheel 20 7 7 17:06 libfuse.dylib -> libmacfuse_i32.dylib
lrwxr-xr-x 1 root wheel 22 7 7 17:06 libfuse_ino64.2.dylib -> libmacfuse_i64.2.dylib
lrwxr-xr-x 1 root wheel 20 7 7 17:06 libfuse_ino64.dylib -> libmacfuse_i64.dylib
$ ll libosx*
lrwxr-xr-x 1 root wheel 22 7 7 17:06 libosxfuse.2.dylib -> libosxfuse_i64.2.dylib
lrwxr-xr-x 1 root wheel 20 7 7 17:06 libosxfuse.dylib -> libosxfuse_i64.dylib
lrwxr-xr-x 1 root wheel 17 7 7 17:06 libosxfuse.la -> libosxfuse_i64.la
-rwxr-xr-x 1 root wheel 790296 1 18 2016 libosxfuse_i32.2.dylib
lrwxr-xr-x 1 root wheel 22 7 7 17:06 libosxfuse_i32.dylib -> libosxfuse_i32.2.dylib
-rwxr-xr-x 1 root wheel 952 1 18 2016 libosxfuse_i32.la
-rwxr-xr-x 1 root wheel 790312 1 18 2016 libosxfuse_i64.2.dylib
lrwxr-xr-x 1 root wheel 22 7 7 17:06 libosxfuse_i64.dylib -> libosxfuse_i64.2.dylib
-rwxr-xr-x 1 root wheel 952 1 18 2016 libosxfuse_i64.la
Hi,
Open-TEE requires Linux functionality and as such can not run natively on
OSX, there is a vagrant config https://github.com/Open-TEE/opentee-vagrant/
Br,
Brian
On 19 Jul 2016 09:52, "Keunho77" notifications@github.com wrote:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#17 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA_vJ8XGzNeiPHIHz7_rhUQ8fsZ-PrZhks5qXHQPgaJpZM4JPTA1
.