From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3403 invoked by alias); 20 Sep 2014 11:21:04 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 3365 invoked by uid 89); 20 Sep 2014 11:21:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,GARBLED_BODY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-qc0-f181.google.com Received: from mail-qc0-f181.google.com (HELO mail-qc0-f181.google.com) (209.85.216.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 20 Sep 2014 11:20:56 +0000 Received: by mail-qc0-f181.google.com with SMTP id r5so4305870qcx.26 for ; Sat, 20 Sep 2014 04:20:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=8ZREZ5hzPtpYhg9gECx8zwikYt+xAWkruFdBCR5LXF8=; b=KqGHVu4/UticUi9/I6F41r/lclnvGhgRmTOivs/kun8myrL5qGN3w9pXjz75Oj6hO4 CGOjY1BMfu8fwjS5nM6ycxkD82BzOWibBuCxpcOAJhnoKJQ3VrXvDBCR3kf0F4PYLUg6 VHQv5vsqDSxRqungJMxowiZJtSAr9s9dhGrcPeHbHu7X6C7faQiRxVuhtNHhqZtBqkcD hCGPcPbFdB7o2tw6PmiiWbrdJrd2sTj2sB4FE7PTuZLbQi+n+KBRMiwiFcPRmthKa8eT Dx1R663T/iTN52Rcyg78BdQu31nuTPWQjHh85u8oBaL57olT0OT6vtp4W4AIcZn8EM5P TLBg== X-Gm-Message-State: ALoCoQm7bHomUxa4TLRnm7GKXhDZeiW8r+D1VhuO3Q2mbHqXFd+jBhGzXItZa6DXjtm2Q4GGbz7t X-Received: by 10.224.7.197 with SMTP id e5mr8092040qae.58.1411212054584; Sat, 20 Sep 2014 04:20:54 -0700 (PDT) Received: from localhost (CPE687f74122463-CM84948c2e0610.cpe.net.cable.rogers.com. [99.226.94.59]) by mx.google.com with ESMTPSA id c7sm3471938qam.8.2014.09.20.04.20.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Sep 2014 04:20:53 -0700 (PDT) From: Anthony Green To: =?utf-8?B?5qWg5a2X5pWw6KGl5LiB5Lmf?= <280145668@qq.com> Cc: "libffi-discuss" Subject: Re: help.how to install libffi in ubuntu 14.04 References: Date: Sat, 20 Sep 2014 11:21:00 -0000 In-Reply-To: (=?utf-8?B?IualoA==?= =?utf-8?B?5a2X5pWw6KGl5LiB5LmfIidz?= message of "Sat, 28 Jun 2014 20:00:55 +0800") Message-ID: <87ha02h71n.fsf@moxielogic.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014/txt/msg00087.txt.bz2 "=E6=A5=A0=E5=AD=97=E6=95=B0=E8=A1=A5=E4=B8=81=E4=B9=9F" <280145668@qq.com>= writes: > Hello. I have downloaded libffi-3.1.tar.gz. enter libffi-3.1 folder, > but after I type ./configure, a new folder named > "x86_64-unknown-linux-gnu" appear and can not use make and make > install to install libffi. What should I do to install libffi in > ubuntu 14.04. You probably don't have permissions to install it in /usr/local. If you really want it there, then install as root. But doesn't your distribution come with libffi? AG > > I have read the README. I am sure I use the "GNU make=E2=80=8D". > > Here is the install infomation(after type commands > "./configure","make" and "make install"): > > uxn@xiangnan:~$ cd /home/uxn/Downloads/libffi-3.1 > uxn@xiangnan:~/Downloads/libffi-3.1$ ./configure > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking target system type... x86_64-unknown-linux-gnu > continue configure in default builddir "./x86_64-unknown-linux-gnu" > ....exec /bin/bash .././configure "--srcdir=3D.." > "--enable-builddir=3Dx86_64-unknown-linux-gnu" "linux > gnu" > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking target system type... x86_64-unknown-linux-gnu > checking for gsed... sed > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking whether make supports nested variables... yes > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables...=20 > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking dependency style of gcc... gcc3 > checking whether gcc and cc understand -c and -o together... yes > checking how to print strings... printf > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 1572864 > checking how to convert x86_64-unknown-linux-gnu file names to > x86_64-unknown-linux-gnu format... func_convert_file_noop > checking how to convert x86_64-unknown-linux-gnu file names to > toolchain format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... no > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > 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 > checking how to run the C++ preprocessor... g++ -E > checking for ld used by g++... /usr/bin/ld -m elf_x86_64 > checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking for g++ option to produce PIC... -fPIC -DPIC > checking if g++ PIC flag -fPIC -DPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking if g++ supports -c -o file.o... (cached) yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking dynamic linker characteristics... (cached) GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking size of size_t... 8 > checking for C compiler vendor... gnu > checking whether C compiler accepts -fstrict-aliasing... yes > checking whether C compiler accepts -ffast-math... yes > checking for gcc architecture flag...=20 > checking for x86 cpuid 0 output... d:756e6547:6c65746e:49656e69 > checking for x86 cpuid 1 output... 306a9:1100800:3dbae3bf:bfebfbff > checking whether C compiler accepts -march=3Dcore2... yes > checking for gcc architecture flag... -march=3Dcore2 > checking whether C compiler accepts -O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2... yes > checking CFLAGS for maximum warnings... -Wall > checking whether to enable maintainer-specific portions of > Makefiles... no > checking sys/mman.h usability... yes > checking sys/mman.h presence... yes > checking for sys/mman.h... yes > checking for mmap... yes > checking for sys/mman.h... (cached) yes > checking for mmap... (cached) yes > checking whether read-only mmap of a plain file works... yes > checking whether mmap from /dev/zero works... yes > checking for MAP_ANON(YMOUS)... yes > checking whether mmap with MAP_ANON(YMOUS) works... yes > checking for ANSI C header files... (cached) yes > checking for memcpy... yes > checking for size_t... yes > checking for working alloca.h... yes > checking for alloca... yes > checking size of double... 8 > checking size of long double... 16 > checking whether byte ordering is bigendian... no > checking assembler .cfi pseudo-op support... yes > checking assembler supports pc related relocs... yes > checking assembler .ascii pseudo-op support... yes > checking assembler .string pseudo-op support... yes > checking for _ prefix in compiled symbols... no > checking toolchain supports unwind section type... yes > checking whether .eh_frame section should be read-only... yes > checking for __attribute__((visibility("hidden")))... yes > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating include/Makefile > config.status: creating include/ffi.h > config.status: creating Makefile > config.status: creating testsuite/Makefile > config.status: creating man/Makefile > config.status: creating libffi.pc > config.status: creating fficonfig.h > config.status: linking ../src/x86/ffitarget.h to include/ffitarget.h > config.status: executing buildir commands > config.status: create top_srcdir/Makefile guessed from local Makefile > config.status: build in x86_64-unknown-linux-gnu (HOST=3D) > config.status: executing depfiles commands > config.status: executing libtool commands > config.status: executing include commands > config.status: executing src commands > uxn@xiangnan:~/Downloads/libffi-3.1$ make > MAKE x86_64-unknown-linux-gnu : 0 * all-all > make[1]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu' > make 'AR_FLAGS=3D' 'CC_FOR_BUILD=3D' 'CFLAGS=3D-O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions' ' > CXXFLAGS=3D-g -O2' 'CFLAGS_FOR_BUILD=3D' 'CFLAGS_FOR_TARGET=3D' ' > INSTALL=3D/usr/bin/install -c' 'INSTALL_DATA=3D/usr/bin/install -c -m 644' > 'INSTALL_PROGRAM=3D/usr/bin/install -c' 'INSTALL_SCRIPT=3D/usr/bin/install > -c' 'JC1FLAGS=3D' 'LDFLAGS=3D' 'LIBCFLAGS=3D' 'LIBCFLAGS_FOR_TARGET=3D' ' > MAKE=3Dmake' 'MAKEINFO=3D/bin/bash /home/uxn/Downloads/libffi-3.1/missing > makeinfo ' 'PICFLAG=3D' 'PICFLAG_FOR_TARGET=3D' 'RUNTESTFLAGS=3D' ' > SHELL=3D/bin/bash' 'exec_prefix=3D/usr/local' ' > infodir=3D/usr/local/share/info' 'libdir=3D/usr/local/lib' ' > mandir=3D/usr/local/share/man' 'prefix=3D/usr/local' 'AR=3Dar' 'AS=3Das' ' > CC=3Dgcc' 'CXX=3Dg++' 'LD=3D/usr/bin/ld -m elf_x86_64' 'NM=3D/usr/bin/nm = -B' ' > RANLIB=3Dranlib' 'DESTDIR=3D' all-recursive > make[2]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu' > Making all in include > make[3]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/include' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/include' > Making all in testsuite > make[3]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/testsuite' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/testsuite' > Making all in man > make[3]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/man' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/man' > make[3]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu' > depbase=3D`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. - > I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions -MT > src/prep_cif.lo -MD -MP -MF $depbase.Tpo -c -o src/prep_cif.lo . > ./src/prep_cif.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/prep_cif.lo -MD -MP > -MF src/.deps/prep_cif.Tpo -c ../src/prep_cif.c -fPIC -DPIC -o > src/.libs/prep_cif.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/prep_cif.lo -MD -MP > -MF src/.deps/prep_cif.Tpo -c ../src/prep_cif.c -o src/prep_cif.o >>/dev/null 2>&1 > depbase=3D`echo src/types.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. - > I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions -MT > src/types.lo -MD -MP -MF $depbase.Tpo -c -o src/types.lo . > ./src/types.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/types.lo -MD -MP - > MF src/.deps/types.Tpo -c ../src/types.c -fPIC -DPIC -o > src/.libs/types.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/types.lo -MD -MP - > MF src/.deps/types.Tpo -c ../src/types.c -o src/types.o >/dev/null > 2>&1 > depbase=3D`echo src/raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. - > I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions -MT > src/raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/raw_api.lo . > ./src/raw_api.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/raw_api.lo -MD -MP - > MF src/.deps/raw_api.Tpo -c ../src/raw_api.c -fPIC -DPIC -o > src/.libs/raw_api.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/raw_api.lo -MD -MP - > MF src/.deps/raw_api.Tpo -c ../src/raw_api.c -o src/raw_api.o >>/dev/null 2>&1 > depbase=3D`echo src/java_raw_api.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||' > `;\ > /bin/bash ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. - > I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions -MT > src/java_raw_api.lo -MD -MP -MF $depbase.Tpo -c -o src/java_raw_api.lo > ../src/java_raw_api.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/java_raw_api.lo -MD > -MP -MF src/.deps/java_raw_api.Tpo -c ../src/java_raw_api.c -fPIC - > DPIC -o src/.libs/java_raw_api.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/java_raw_api.lo -MD > -MP -MF src/.deps/java_raw_api.Tpo -c ../src/java_raw_api.c -o > src/java_raw_api.o >/dev/null 2>&1 > depbase=3D`echo src/closures.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. - > I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions -MT > src/closures.lo -MD -MP -MF $depbase.Tpo -c -o src/closures.lo . > ./src/closures.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/closures.lo -MD -MP > -MF src/.deps/closures.Tpo -c ../src/closures.c -fPIC -DPIC -o > src/.libs/closures.o > ../src/closures.c: In function =E2=80=98dlmmap_locked=E2=80=99: > ../src/closures.c:460:17: warning: ignoring return value of > =E2=80=98ftruncate=E2=80=99, declared with attribute warn_unused_result > [-Wunused-result] > ftruncate (execfd, offset); > ^ > ../src/closures.c:472:17: warning: ignoring return value of > =E2=80=98ftruncate=E2=80=99, declared with attribute warn_unused_result > [-Wunused-result] > ftruncate (execfd, offset); > ^ > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/closures.lo -MD -MP > -MF src/.deps/closures.Tpo -c ../src/closures.c -o src/closures.o >>/dev/null 2>&1 > depbase=3D`echo src/x86/ffi64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. - > I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions -MT > src/x86/ffi64.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/ffi64.lo . > ./src/x86/ffi64.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/x86/ffi64.lo -MD - > MP -MF src/x86/.deps/ffi64.Tpo -c ../src/x86/ffi64.c -fPIC -DPIC -o > src/x86/.libs/ffi64.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/x86/ffi64.lo -MD - > MP -MF src/x86/.deps/ffi64.Tpo -c ../src/x86/ffi64.c -o > src/x86/ffi64.o >/dev/null 2>&1 > depbase=3D`echo src/x86/unix64.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I.. -I. - > I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -MT > src/x86/unix64.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/unix64.lo . > ./src/x86/unix64.S &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -I. -I../include -Iinclude -I../src -MT > src/x86/unix64.lo -MD -MP -MF src/x86/.deps/unix64.Tpo -c . > ./src/x86/unix64.S -fPIC -DPIC -o src/x86/.libs/unix64.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -I. -I../include -Iinclude -I../src -MT > src/x86/unix64.lo -MD -MP -MF src/x86/.deps/unix64.Tpo -c . > ./src/x86/unix64.S -o src/x86/unix64.o >/dev/null 2>&1 > depbase=3D`echo src/x86/ffi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. - > I.. -I. -I../include -Iinclude -I../src -O3 -fomit-frame-pointer - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions -MT > src/x86/ffi.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/ffi.lo . > ./src/x86/ffi.c &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/x86/ffi.lo -MD -MP - > MF src/x86/.deps/ffi.Tpo -c ../src/x86/ffi.c -fPIC -DPIC -o > src/x86/.libs/ffi.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -O3 -fomit-frame-pointer -fstrict-aliasing - > ffast-math -march=3Dcore2 -Wall -fexceptions -MT src/x86/ffi.lo -MD -MP - > MF src/x86/.deps/ffi.Tpo -c ../src/x86/ffi.c -o src/x86/ffi.o >>/dev/null 2>&1 > depbase=3D`echo src/x86/sysv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/bash ./libtool --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I.. -I. - > I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -MT > src/x86/sysv.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/sysv.lo . > ./src/x86/sysv.S &&\ > mv -f $depbase.Tpo $depbase.Plo > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -I. -I../include -Iinclude -I../src -MT > src/x86/sysv.lo -MD -MP -MF src/x86/.deps/sysv.Tpo -c . > ./src/x86/sysv.S -fPIC -DPIC -o src/x86/.libs/sysv.o > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include - > Iinclude -I../src -I. -I../include -Iinclude -I../src -MT > src/x86/sysv.lo -MD -MP -MF src/x86/.deps/sysv.Tpo -c . > ./src/x86/sysv.S -o src/x86/sysv.o >/dev/null 2>&1 > /bin/bash ./libtool --tag=3DCC --mode=3Dlink gcc -O3 -fomit-frame-pointer= - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions -o > libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo > src/java_raw_api.lo src/closures.lo src/x86/ffi64.lo src/x86/unix64.lo > src/x86/ffi.lo src/x86/sysv.lo=20 > libtool: link: ar cru .libs/libffi_convenience.a src/.libs/prep_cif.o > src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o > src/.libs/closures.o src/x86/.libs/ffi64.o src/x86/.libs/unix64.o > src/x86/.libs/ffi.o src/x86/.libs/sysv.o=20 > libtool: link: ranlib .libs/libffi_convenience.a > libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s > "../libffi_convenience.la" "libffi_convenience.la" ) > /bin/bash ./libtool --tag=3DCC --mode=3Dlink gcc -O3 -fomit-frame-pointer= - > fstrict-aliasing -ffast-math -march=3Dcore2 -Wall -fexceptions - > no-undefined -version-info `grep -v '^#' ../libtool-version` -o > libffi.la -rpath /usr/local/lib/../lib src/prep_cif.lo src/types.lo > src/raw_api.lo src/java_raw_api.lo src/closures.lo src/x86/ffi64.lo > src/x86/unix64.lo src/x86/ffi.lo src/x86/sysv.lo=20 > libtool: link: gcc -shared -fPIC -DPIC src/.libs/prep_cif.o > src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o > src/.libs/closures.o src/x86/.libs/ffi64.o src/x86/.libs/unix64.o > src/x86/.libs/ffi.o src/x86/.libs/sysv.o -O3 -march=3Dcore2 -Wl,-soname - > Wl,libffi.so.6 -o .libs/libffi.so.6.0.2 > libtool: link: (cd ".libs" && rm -f "libffi.so.6" && ln -s > "libffi.so.6.0.2" "libffi.so.6") > libtool: link: (cd ".libs" && rm -f "libffi.so" && ln -s > "libffi.so.6.0.2" "libffi.so") > libtool: link: ar cru .libs/libffi.a src/prep_cif.o src/types.o > src/raw_api.o src/java_raw_api.o src/closures.o src/x86/ffi64.o > src/x86/unix64.o src/x86/ffi.o src/x86/sysv.o > libtool: link: ranlib .libs/libffi.a > libtool: link: ( cd ".libs" && rm -f "libffi.la" && ln -s > "../libffi.la" "libffi.la" ) > make[3]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu' > make[2]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu' > make[1]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu' > uxn@xiangnan:~/Downloads/libffi-3.1$ make install > MAKE x86_64-unknown-linux-gnu : 0 * install > make[1]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu' > Making install in include > make[2]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/include' > make[3]: Entering directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/include' > make[3]: Nothing to be done for `install-exec-am'. > /bin/mkdir -p '/usr/local/lib/libffi-3.1/include' > /bin/mkdir: cannot create directory =E2=80=98/usr/local/lib/libffi-3.1=E2= =80=99: > Permission denied > make[3]: *** [install-nodist_includesHEADERS] Error 1 > make[3]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/include' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu/include' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/uxn/Downloads/libffi-3.1/x86_64-unknown-linux-gnu' > make: *** [install] Error 2 > uxn@xiangnan:~/Downloads/libffi-3.1$ =E2=80=8D=E2=80=8D