libyaml icon indicating copy to clipboard operation
libyaml copied to clipboard

build: run ./configure fail, cannot build successfully

Open hitzhangjie opened this issue 3 years ago • 2 comments

Here's the output of ./configure:

./configure Output
$ ./configure 
rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conf63588: no such file or directory
rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conf63588.dir: no such file or directory
rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conf63588.exe: no such file or directory
rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conf63588.exe: no such file or directory

rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conf63588.exe: no such file or directory rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conftest*: no such file or directory checking for a BSD-compatible install... rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conftest.one: no such file or directory

/usr/local/opt/coreutils/libexec/gnubin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/local/opt/coreutils/libexec/gnubin/mkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/.tst: no such file or directory checking for gcc... gcc rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conftest.er1: no such file or directory

checking whether the C compiler works... rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conftest.exe: no such file or directory yes checking for C compiler default output file name... a.out rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/a.out.dSYM: no such file or directory checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conftest.o: no such file or directory

o checking whether we are using the GNU C compiler... rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/conftest.o: no such file or directory rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/core: no such file or directory yes checking whether gcc accepts -g... rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/core: no such file or directory yes checking for gcc option to accept ISO C89... rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/core: no such file or directory

none needed checking for style of include used by make... GNU

checking dependency style of gcc... gcc3 checking how to run the C preprocessor...

gcc -E

checking whether ln -s works... no, using cp -p checking whether make sets $(MAKE)... (cached) yes checking build system type... config.sub: too many arguments Try `config.sub --help' for more information. configure: error: /bin/sh config/config.sub x86_64-apple-darwin21.6.0 rm error: lstat /var/folders/0j/mvtnlhyj5j9cyqqq1b27bgg40000gn/T//cgrVFLKa/dummy.rel: no such file or directory failed rm error: lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/core: no such file or directory

hitzhangjie avatar Oct 16 '22 13:10 hitzhangjie

Hi

wesaamt avatar Oct 17 '22 21:10 wesaamt

hi, how did you clone the repo? did you run ./bootstrap and did it work? I notice that 0.1.4-aff64 consistently appreas in the error log, for example, "lstat /Users/UserName/Library/Caches/CocoaPods/Pods/Release/LibYAML/0.1.4-aff64/core: no such file or directory ", would you check this file and maybe provide the environment information?

ziyangc97 avatar Nov 25 '22 03:11 ziyangc97