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

Mac M1安装报错 checking for boost... configure: error: lib boost not found. Try: install boost library #89

Closed
newpurr opened this issue Feb 2, 2021 · 26 comments

Comments

@newpurr
Copy link

newpurr commented Feb 2, 2021

Mac M1安装报错 ,在使用brew install boost安装boost库后,仍然找不到库文件,报错信息为: checking for boost... configure: error: lib boost not found. Try: install boost library

@newpurr
Copy link
Author

newpurr commented Feb 2, 2021

boost安装目录为: /opt/homebrew/Cellar/boost/1.75.0_1

@huanghantao
Copy link
Member

你把config.m4文件里面的这一行删了试试:

YASD_CHECK_CXX_LIB([boost], [<boost/algorithm/string/constants.hpp>])

@newpurr
Copy link
Author

newpurr commented Feb 2, 2021

这次有新的报错信息

/Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc:20:10: fatal error: 'boost/algorithm/string.hpp' file not found
#include <boost/algorithm/string.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [src/cmder_debugger.lo] Error 1

@huanghantao
Copy link
Member

你执行这条命令我看看:

tree /opt/homebrew/Cellar/boost/1.75.0_1/include/boost/algorithm

@newpurr
Copy link
Author

newpurr commented Feb 2, 2021

➜ yasd-0.3.7 tree /opt/homebrew/Cellar/boost/1.75.0_1/include/boost/algorithm/
/opt/homebrew/Cellar/boost/1.75.0_1/include/boost/algorithm/
├── algorithm.hpp
├── apply_permutation.hpp
├── clamp.hpp
├── cxx11
│   ├── all_of.hpp
│   ├── any_of.hpp
│   ├── copy_if.hpp
│   ├── copy_n.hpp
│   ├── find_if_not.hpp
│   ├── iota.hpp
│   ├── is_partitioned.hpp
│   ├── is_permutation.hpp
│   ├── is_sorted.hpp
│   ├── none_of.hpp
│   ├── one_of.hpp
│   ├── partition_copy.hpp
│   └── partition_point.hpp
├── cxx14
│   ├── equal.hpp
│   ├── is_permutation.hpp
│   └── mismatch.hpp
├── cxx17
│   ├── exclusive_scan.hpp
│   ├── for_each_n.hpp
│   ├── inclusive_scan.hpp
│   ├── reduce.hpp
│   ├── transform_exclusive_scan.hpp
│   ├── transform_inclusive_scan.hpp
│   └── transform_reduce.hpp
├── find_backward.hpp
├── find_not.hpp
├── gather.hpp
├── hex.hpp
├── is_palindrome.hpp
├── is_partitioned_until.hpp
├── minmax.hpp
├── minmax_element.hpp
├── searching
│   ├── boyer_moore.hpp
│   ├── boyer_moore_horspool.hpp
│   ├── detail
│   │   ├── bm_traits.hpp
│   │   └── debugging.hpp
│   └── knuth_morris_pratt.hpp
├── sort_subrange.hpp
├── string
│   ├── case_conv.hpp
│   ├── classification.hpp
│   ├── compare.hpp
│   ├── concept.hpp
│   ├── config.hpp
│   ├── constants.hpp
│   ├── detail
│   │   ├── case_conv.hpp
│   │   ├── classification.hpp
│   │   ├── find_format.hpp
│   │   ├── find_format_all.hpp
│   │   ├── find_format_store.hpp
│   │   ├── find_iterator.hpp
│   │   ├── finder.hpp
│   │   ├── finder_regex.hpp
│   │   ├── formatter.hpp
│   │   ├── formatter_regex.hpp
│   │   ├── predicate.hpp
│   │   ├── replace_storage.hpp
│   │   ├── sequence.hpp
│   │   ├── trim.hpp
│   │   └── util.hpp
│   ├── erase.hpp
│   ├── find.hpp
│   ├── find_format.hpp
│   ├── find_iterator.hpp
│   ├── finder.hpp
│   ├── formatter.hpp
│   ├── iter_find.hpp
│   ├── join.hpp
│   ├── predicate.hpp
│   ├── predicate_facade.hpp
│   ├── regex.hpp
│   ├── regex_find_format.hpp
│   ├── replace.hpp
│   ├── sequence_traits.hpp
│   ├── split.hpp
│   ├── std
│   │   ├── list_traits.hpp
│   │   ├── rope_traits.hpp
│   │   ├── slist_traits.hpp
│   │   └── string_traits.hpp
│   ├── std_containers_traits.hpp
│   ├── trim.hpp
│   ├── trim_all.hpp
│   └── yes_no_type.hpp
├── string.hpp
└── string_regex.hpp

@huanghantao
Copy link
Member

huanghantao commented Feb 2, 2021

你执行如下命令:

brew link boost

然后重新编译yasd:

phpize --clean && \
phpize && \
./configure && \
make clean && \
make && \
make install

@newpurr
Copy link
Author

newpurr commented Feb 2, 2021

➜ yasd-0.3.7 brew unlink boost && brew link boost
Unlinking /opt/homebrew/Cellar/boost/1.75.0_1... 190 symlinks removed.
Linking /opt/homebrew/Cellar/boost/1.75.0_1... 190 symlinks created.
➜ yasd-0.3.7 phpize --clean &&
phpize &&
./configure &&
make clean &&
make &&
make install
Cleaning..
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /opt/homebrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... arm-apple-darwin20.2.0
checking host system type... arm-apple-darwin20.2.0
checking target system type... arm-apple-darwin20.2.0
checking for PHP prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1
checking for PHP includes... -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib
checking for PHP extension directory... /opt/homebrew/Cellar/php@7.4/7.4.14_1/pecl/20190902
checking for PHP installed headers prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable yasd support... yes, shared
checking whether to enable yasd developer build flags... no
checking if compiling with clang... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 786432
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.2.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... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.2.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
find . -name *.gcno -o -name *.gcda | xargs rm -f
find . -name *.lo -o -name *.o | xargs rm -f
find . -name *.la -o -name *.a | xargs rm -f
find . -name *.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la modules/* libs/*
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -o yasd.lo
mkdir .libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -fno-common -DPIC -o .libs/yasd.o
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:292:10: warning: expression result unused [-Wunused-value]
for (i; i <= 254; i++) {
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:327:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
ZEND_EXTENSION_BUILD_ID
^
/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend/zend_extensions.h:54:33: note: expanded from macro 'ZEND_EXTENSION_BUILD_ID'
#define ZEND_EXTENSION_BUILD_ID "API" ZEND_TOSTR(ZEND_EXTENSION_API_NO) ZEND_BUILD_TS ZEND_BUILD_DEBUG ZEND_BUILD_SYSTEM ZEND_BUILD_EXTRA
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:331:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"Yasd",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:332:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
PHP_YASD_VERSION,
^
././php_yasd.h:25:26: note: expanded from macro 'PHP_YASD_VERSION'
#define PHP_YASD_VERSION "0.3.7"
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:333:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"codinghuang",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:334:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"https://github.com/huanghantao",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:335:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"Our Copyright",
^
7 warnings generated.
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -o src/common.lo
mkdir src/.libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -fno-common -DPIC -o src/.libs/common.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -o src/util.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -fno-common -DPIC -o src/.libs/util.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -o src/base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -fno-common -DPIC -o src/.libs/base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -o src/buffer.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -fno-common -DPIC -o src/.libs/buffer.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -o src/logger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -fno-common -DPIC -o src/.libs/logger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -o src/context.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -fno-common -DPIC -o src/.libs/context.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -o src/global.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -fno-common -DPIC -o src/.libs/global.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -o src/source_reader.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -fno-common -DPIC -o src/.libs/source_reader.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -o src/dbgp.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -fno-common -DPIC -o src/.libs/dbgp.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -o src/debuger_mode_base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -fno-common -DPIC -o src/.libs/debuger_mode_base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -o src/cmder_debugger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -fno-common -DPIC -o src/.libs/cmder_debugger.o
/Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc:20:10: fatal error: 'boost/algorithm/string.hpp' file not found
#include <boost/algorithm/string.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [src/cmder_debugger.lo] Error 1

@newpurr
Copy link
Author

newpurr commented Feb 2, 2021

不知道是不是M1平台的原因哟,还是不行的

@huanghantao
Copy link
Member

huanghantao commented Feb 2, 2021

你在当前shell设置一下这个环境变量:

export CPLUS_INCLUDE_PATH=/opt/homebrew/Cellar/boost/1.75.0_1/include

@newpurr
Copy link
Author

newpurr commented Feb 2, 2021

➜ yasd-0.3.7 export CPLUS_INCLUDE_PATH=/opt/homebrew/Cellar/boost/1.75.0_1/include/
➜ yasd-0.3.7 phpize --clean &&
phpize &&
./configure &&
make clean &&
make &&
make install
Cleaning..
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /opt/homebrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... arm-apple-darwin20.2.0
checking host system type... arm-apple-darwin20.2.0
checking target system type... arm-apple-darwin20.2.0
checking for PHP prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1
checking for PHP includes... -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib
checking for PHP extension directory... /opt/homebrew/Cellar/php@7.4/7.4.14_1/pecl/20190902
checking for PHP installed headers prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable yasd support... yes, shared
checking whether to enable yasd developer build flags... no
checking if compiling with clang... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 786432
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.2.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... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.2.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
find . -name *.gcno -o -name *.gcda | xargs rm -f
find . -name *.lo -o -name *.o | xargs rm -f
find . -name *.la -o -name *.a | xargs rm -f
find . -name *.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la modules/* libs/*
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -o yasd.lo
mkdir .libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -fno-common -DPIC -o .libs/yasd.o
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:292:10: warning: expression result unused [-Wunused-value]
for (i; i <= 254; i++) {
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:327:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
ZEND_EXTENSION_BUILD_ID
^
/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend/zend_extensions.h:54:33: note: expanded from macro 'ZEND_EXTENSION_BUILD_ID'
#define ZEND_EXTENSION_BUILD_ID "API" ZEND_TOSTR(ZEND_EXTENSION_API_NO) ZEND_BUILD_TS ZEND_BUILD_DEBUG ZEND_BUILD_SYSTEM ZEND_BUILD_EXTRA
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:331:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"Yasd",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:332:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
PHP_YASD_VERSION,
^
././php_yasd.h:25:26: note: expanded from macro 'PHP_YASD_VERSION'
#define PHP_YASD_VERSION "0.3.7"
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:333:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"codinghuang",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:334:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"https://github.com/huanghantao",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:335:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"Our Copyright",
^
7 warnings generated.
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -o src/common.lo
mkdir src/.libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -fno-common -DPIC -o src/.libs/common.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -o src/util.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -fno-common -DPIC -o src/.libs/util.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -o src/base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -fno-common -DPIC -o src/.libs/base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -o src/buffer.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -fno-common -DPIC -o src/.libs/buffer.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -o src/logger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -fno-common -DPIC -o src/.libs/logger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -o src/context.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -fno-common -DPIC -o src/.libs/context.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -o src/global.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -fno-common -DPIC -o src/.libs/global.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -o src/source_reader.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -fno-common -DPIC -o src/.libs/source_reader.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -o src/dbgp.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -fno-common -DPIC -o src/.libs/dbgp.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -o src/debuger_mode_base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -fno-common -DPIC -o src/.libs/debuger_mode_base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -o src/cmder_debugger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -fno-common -DPIC -o src/.libs/cmder_debugger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/remote_debugger.cc -o src/remote_debugger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/remote_debugger.cc -fno-common -DPIC -o src/.libs/remote_debugger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base64.cc -o src/base64.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base64.cc -fno-common -DPIC -o src/.libs/base64.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2/tinyxml2.cc -o thirdparty/tinyxml2/tinyxml2.lo
mkdir thirdparty/tinyxml2/.libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2/tinyxml2.cc -fno-common -DPIC -o thirdparty/tinyxml2/.libs/tinyxml2.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=link g++ -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -std=gnu89 -o yasd.la -export-dynamic -avoid-version -prefer-pic -module -rpath /Users/atao/Downloads/yasd-0.3.7/modules yasd.lo src/common.lo src/util.lo src/base.lo src/buffer.lo src/logger.lo src/context.lo src/global.lo src/source_reader.lo src/dbgp.lo src/debuger_mode_base.lo src/cmder_debugger.lo src/remote_debugger.lo src/base64.lo thirdparty/tinyxml2/tinyxml2.lo -lboost_filesystem
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/yasd.so -bundle .libs/yasd.o src/.libs/common.o src/.libs/util.o src/.libs/base.o src/.libs/buffer.o src/.libs/logger.o src/.libs/context.o src/.libs/global.o src/.libs/source_reader.o src/.libs/dbgp.o src/.libs/debuger_mode_base.o src/.libs/cmder_debugger.o src/.libs/remote_debugger.o src/.libs/base64.o thirdparty/tinyxml2/.libs/tinyxml2.o -lboost_filesystem
ld: library not found for -lboost_filesystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [yasd.la] Error 1
➜ yasd-0.3.7
➜ yasd-0.3.7 export CPLUS_INCLUDE_PATH=/opt/homebrew/Cellar/boost/1.75.0_1/include/
➜ yasd-0.3.7 export CPLUS_INCLUDE_PATH=/opt/homebrew/Cellar/boost/1.75.0_1/include\

➜ yasd-0.3.7 phpize --clean &&
phpize &&
./configure &&
make clean &&
make &&
make install
Cleaning..
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /opt/homebrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... arm-apple-darwin20.2.0
checking host system type... arm-apple-darwin20.2.0
checking target system type... arm-apple-darwin20.2.0
checking for PHP prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1
checking for PHP includes... -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib
checking for PHP extension directory... /opt/homebrew/Cellar/php@7.4/7.4.14_1/pecl/20190902
checking for PHP installed headers prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable yasd support... yes, shared
checking whether to enable yasd developer build flags... no
checking if compiling with clang... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 786432
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.2.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... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.2.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
find . -name *.gcno -o -name *.gcda | xargs rm -f
find . -name *.lo -o -name *.o | xargs rm -f
find . -name *.la -o -name *.a | xargs rm -f
find . -name *.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la modules/* libs/*
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -o yasd.lo
mkdir .libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -fno-common -DPIC -o .libs/yasd.o
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:292:10: warning: expression result unused [-Wunused-value]
for (i; i <= 254; i++) {
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:327:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
ZEND_EXTENSION_BUILD_ID
^
/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend/zend_extensions.h:54:33: note: expanded from macro 'ZEND_EXTENSION_BUILD_ID'
#define ZEND_EXTENSION_BUILD_ID "API" ZEND_TOSTR(ZEND_EXTENSION_API_NO) ZEND_BUILD_TS ZEND_BUILD_DEBUG ZEND_BUILD_SYSTEM ZEND_BUILD_EXTRA
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:331:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"Yasd",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:332:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
PHP_YASD_VERSION,
^
././php_yasd.h:25:26: note: expanded from macro 'PHP_YASD_VERSION'
#define PHP_YASD_VERSION "0.3.7"
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:333:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"codinghuang",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:334:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"https://github.com/huanghantao",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:335:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"Our Copyright",
^
7 warnings generated.
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -o src/common.lo
mkdir src/.libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -fno-common -DPIC -o src/.libs/common.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -o src/util.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -fno-common -DPIC -o src/.libs/util.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -o src/base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -fno-common -DPIC -o src/.libs/base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -o src/buffer.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -fno-common -DPIC -o src/.libs/buffer.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -o src/logger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -fno-common -DPIC -o src/.libs/logger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -o src/context.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -fno-common -DPIC -o src/.libs/context.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -o src/global.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -fno-common -DPIC -o src/.libs/global.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -o src/source_reader.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -fno-common -DPIC -o src/.libs/source_reader.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -o src/dbgp.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -fno-common -DPIC -o src/.libs/dbgp.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -o src/debuger_mode_base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -fno-common -DPIC -o src/.libs/debuger_mode_base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -o src/cmder_debugger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -fno-common -DPIC -o src/.libs/cmder_debugger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/remote_debugger.cc -o src/remote_debugger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/remote_debugger.cc -fno-common -DPIC -o src/.libs/remote_debugger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base64.cc -o src/base64.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base64.cc -fno-common -DPIC -o src/.libs/base64.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2/tinyxml2.cc -o thirdparty/tinyxml2/tinyxml2.lo
mkdir thirdparty/tinyxml2/.libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2/tinyxml2.cc -fno-common -DPIC -o thirdparty/tinyxml2/.libs/tinyxml2.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=link g++ -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -std=gnu89 -o yasd.la -export-dynamic -avoid-version -prefer-pic -module -rpath /Users/atao/Downloads/yasd-0.3.7/modules yasd.lo src/common.lo src/util.lo src/base.lo src/buffer.lo src/logger.lo src/context.lo src/global.lo src/source_reader.lo src/dbgp.lo src/debuger_mode_base.lo src/cmder_debugger.lo src/remote_debugger.lo src/base64.lo thirdparty/tinyxml2/tinyxml2.lo -lboost_filesystem
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/yasd.so -bundle .libs/yasd.o src/.libs/common.o src/.libs/util.o src/.libs/base.o src/.libs/buffer.o src/.libs/logger.o src/.libs/context.o src/.libs/global.o src/.libs/source_reader.o src/.libs/dbgp.o src/.libs/debuger_mode_base.o src/.libs/cmder_debugger.o src/.libs/remote_debugger.o src/.libs/base64.o thirdparty/tinyxml2/.libs/tinyxml2.o -lboost_filesystem
ld: library not found for -lboost_filesystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [yasd.la] Error 1

@huanghantao
Copy link
Member

继续设置如下环境变量:

export LD_LIBRARY_PATH=/opt/homebrew/Cellar/boost/1.75.0_1/lib

@newpurr
Copy link
Author

newpurr commented Feb 2, 2021

➜ yasd-0.3.7 export LD_LIBRARY_PATH=/opt/homebrew/Cellar/boost/1.75.0_1/lib/
➜ yasd-0.3.7 export CPLUS_INCLUDE_PATH= /opt/homebrew/Cellar/boost/1.75.0_1/include
export: not valid in this context: /opt/homebrew/Cellar/boost/1.75.0_1/include
➜ yasd-0.3.7 export CPLUS_INCLUDE_PATH=/opt/homebrew/Cellar/boost/1.75.0_1/include
➜ yasd-0.3.7 phpize --clean &&
phpize &&
./configure &&
make clean &&
make &&
make install
Cleaning..
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /opt/homebrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... arm-apple-darwin20.2.0
checking host system type... arm-apple-darwin20.2.0
checking target system type... arm-apple-darwin20.2.0
checking for PHP prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1
checking for PHP includes... -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib
checking for PHP extension directory... /opt/homebrew/Cellar/php@7.4/7.4.14_1/pecl/20190902
checking for PHP installed headers prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable yasd support... yes, shared
checking whether to enable yasd developer build flags... no
checking if compiling with clang... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 786432
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.2.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... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.2.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
find . -name *.gcno -o -name *.gcda | xargs rm -f
find . -name *.lo -o -name *.o | xargs rm -f
find . -name *.la -o -name *.a | xargs rm -f
find . -name *.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la modules/* libs/*
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -o yasd.lo
mkdir .libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -fno-common -DPIC -o .libs/yasd.o
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:292:10: warning: expression result unused [-Wunused-value]
for (i; i <= 254; i++) {
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:327:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
ZEND_EXTENSION_BUILD_ID
^
/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend/zend_extensions.h:54:33: note: expanded from macro 'ZEND_EXTENSION_BUILD_ID'
#define ZEND_EXTENSION_BUILD_ID "API" ZEND_TOSTR(ZEND_EXTENSION_API_NO) ZEND_BUILD_TS ZEND_BUILD_DEBUG ZEND_BUILD_SYSTEM ZEND_BUILD_EXTRA
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:331:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"Yasd",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:332:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
PHP_YASD_VERSION,
^
././php_yasd.h:25:26: note: expanded from macro 'PHP_YASD_VERSION'
#define PHP_YASD_VERSION "0.3.7"
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:333:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"codinghuang",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:334:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"https://github.com/huanghantao",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:335:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
"Our Copyright",
^
7 warnings generated.
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -o src/common.lo
mkdir src/.libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -fno-common -DPIC -o src/.libs/common.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -o src/util.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -fno-common -DPIC -o src/.libs/util.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -o src/base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -fno-common -DPIC -o src/.libs/base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -o src/buffer.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -fno-common -DPIC -o src/.libs/buffer.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -o src/logger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -fno-common -DPIC -o src/.libs/logger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -o src/context.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -fno-common -DPIC -o src/.libs/context.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -o src/global.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -fno-common -DPIC -o src/.libs/global.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -o src/source_reader.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -fno-common -DPIC -o src/.libs/source_reader.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -o src/dbgp.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -fno-common -DPIC -o src/.libs/dbgp.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -o src/debuger_mode_base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -fno-common -DPIC -o src/.libs/debuger_mode_base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -o src/cmder_debugger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -fno-common -DPIC -o src/.libs/cmder_debugger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/remote_debugger.cc -o src/remote_debugger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/remote_debugger.cc -fno-common -DPIC -o src/.libs/remote_debugger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base64.cc -o src/base64.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base64.cc -fno-common -DPIC -o src/.libs/base64.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2/tinyxml2.cc -o thirdparty/tinyxml2/tinyxml2.lo
mkdir thirdparty/tinyxml2/.libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2/tinyxml2.cc -fno-common -DPIC -o thirdparty/tinyxml2/.libs/tinyxml2.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=link g++ -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -std=gnu89 -o yasd.la -export-dynamic -avoid-version -prefer-pic -module -rpath /Users/atao/Downloads/yasd-0.3.7/modules yasd.lo src/common.lo src/util.lo src/base.lo src/buffer.lo src/logger.lo src/context.lo src/global.lo src/source_reader.lo src/dbgp.lo src/debuger_mode_base.lo src/cmder_debugger.lo src/remote_debugger.lo src/base64.lo thirdparty/tinyxml2/tinyxml2.lo -lboost_filesystem
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/yasd.so -bundle .libs/yasd.o src/.libs/common.o src/.libs/util.o src/.libs/base.o src/.libs/buffer.o src/.libs/logger.o src/.libs/context.o src/.libs/global.o src/.libs/source_reader.o src/.libs/dbgp.o src/.libs/debuger_mode_base.o src/.libs/cmder_debugger.o src/.libs/remote_debugger.o src/.libs/base64.o thirdparty/tinyxml2/.libs/tinyxml2.o -lboost_filesystem
ld: library not found for -lboost_filesystem
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [yasd.la] Error 1

还是报错

@huanghantao
Copy link
Member

你看看你有没有filesystem这个库:

image

@newpurr
Copy link
Author

newpurr commented Feb 3, 2021

有的
➜ ~ ls /opt/homebrew/Cellar/boost/1.75.0_1/lib/libboost_filesystem
libboost_filesystem-mt.a libboost_filesystem.a
libboost_filesystem-mt.dylib libboost_filesystem.dylib

@huanghantao
Copy link
Member

你按照这个文章的样子来试试:

https://blog.csdn.net/mouday/article/details/100743507

@newpurr
Copy link
Author

newpurr commented Feb 4, 2021

➜ yasd-0.3.7 env LDFLAGS="-I/opt/homebrew/Cellar/boost/1.75.0_1/include -L/opt/homebrew/Cellar/boost/1.75.0_1/lib"
TERM_SESSION_ID=w0t0p0:5F6854B2-A480-4455-9E1A-64E2A4B50FA5
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.aZKkYqda8k/Listeners
LC_TERMINAL_VERSION=3.4.3
COLORFGBG=7;0
ITERM_PROFILE=Copy of Default
XPC_FLAGS=0x0
LANG=zh_CN.UTF-8
PWD=/Users/atao/Downloads/yasd-0.3.7
SHELL=/bin/zsh
__CFBundleIdentifier=com.googlecode.iterm2
SECURITYSESSIONID=186ae
TERM_PROGRAM_VERSION=3.4.3
TERM_PROGRAM=iTerm.app
PATH=/opt/homebrew/Cellar/m4/1.4.18/bin:/opt/homebrew/opt/php@7.4/bin:/opt/homebrew/opt/libiconv/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/aria2/bin:/Users/atao/.fzf/bin:/Users/atao/Code/go/go1.16beta1/bin:/Users/atao/Code/go/go1.16beta1/bin
LC_TERMINAL=iTerm2
COLORTERM=truecolor
COMMAND_MODE=unix2003
TERM=xterm-256color
HOME=/Users/atao
TMPDIR=/var/folders/88/xd70jvb11sb248ds77dcmxr00000gn/T/
USER=atao
XPC_SERVICE_NAME=0
LOGNAME=atao
LaunchInstanceID=5EB30215-AC9C-48DB-AEEE-AD7BDB9D1173
__CF_USER_TEXT_ENCODING=0x0:25:52
ITERM_SESSION_ID=w0t0p0:5F6854B2-A480-4455-9E1A-64E2A4B50FA5
SHLVL=1
OLDPWD=/opt/homebrew/Cellar/boost/1.75.0_1
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_REPOSITORY=/opt/homebrew
MANPATH=/opt/homebrew/share/man::
INFOPATH=/opt/homebrew/share/info:
ZSH=/Users/atao/.oh-my-zsh
PAGER=less
LESS=-R
LSCOLORS=Gxfxcxdxbxegedabagacad
GOPATH=/Users/atao/Code/goroot
GOROOT=/Users/atao/Code/go/go1.16beta1
GOBIN=/Users/atao/Code/go/go1.16beta1/bin
_=/usr/bin/env
LDFLAGS=-I/opt/homebrew/Cellar/boost/1.75.0_1/include -L/opt/homebrew/Cellar/boost/1.75.0_1/lib
➜ yasd-0.3.7 phpize --clean &&
phpize &&
./configure &&
make clean &&
make &&
make install
Cleaning..
Configuring for:
PHP Api Version: 20190902
Zend Module Api No: 20190902
Zend Extension Api No: 320190902
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /opt/homebrew/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... arm-apple-darwin20.3.0
checking host system type... arm-apple-darwin20.3.0
checking target system type... arm-apple-darwin20.3.0
checking for PHP prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1
checking for PHP includes... -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib
checking for PHP extension directory... /opt/homebrew/Cellar/php@7.4/7.4.14_1/pecl/20190902
checking for PHP installed headers prefix... /opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable yasd support... yes, shared
checking whether to enable yasd developer build flags... no
checking if compiling with clang... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by cc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 786432
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common
checking if cc PIC flag -fno-common works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.3.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... no

creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.3.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
find . -name *.gcno -o -name *.gcda | xargs rm -f
find . -name *.lo -o -name *.o | xargs rm -f
find . -name *.la -o -name *.a | xargs rm -f
find . -name *.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la modules/* libs/*
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -o yasd.lo
mkdir .libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/yasd.cc -fno-common -DPIC -o .libs/yasd.o
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:292:10: warning: expression result
unused [-Wunused-value]
for (i; i <= 254; i++) {
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:327:5: warning: ISO C++11 does not
allow conversion from string literal to 'char *' [-Wwritable-strings]
ZEND_EXTENSION_BUILD_ID
^
/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend/zend_extensions.h:54:33: note:
expanded from macro 'ZEND_EXTENSION_BUILD_ID'
#define ZEND_EXTENSION_BUILD_ID "API" ZEND_TOSTR(ZEND_EXTENSION_API_NO) ...
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:331:5: warning: ISO C++11 does not
allow conversion from string literal to 'char *' [-Wwritable-strings]
"Yasd",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:332:5: warning: ISO C++11 does not
allow conversion from string literal to 'char *' [-Wwritable-strings]
PHP_YASD_VERSION,
^
././php_yasd.h:25:26: note: expanded from macro 'PHP_YASD_VERSION'
#define PHP_YASD_VERSION "0.3.7"
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:333:5: warning: ISO C++11 does not
allow conversion from string literal to 'char *' [-Wwritable-strings]
"codinghuang",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:334:5: warning: ISO C++11 does not
allow conversion from string literal to 'char *' [-Wwritable-strings]
"https://github.com/huanghantao",
^
/Users/atao/Downloads/yasd-0.3.7/yasd.cc:335:5: warning: ISO C++11 does not
allow conversion from string literal to 'char *' [-Wwritable-strings]
"Our Copyright",
^
7 warnings generated.
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -o src/common.lo
mkdir src/.libs
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/common.cc -fno-common -DPIC -o src/.libs/common.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -o src/util.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/util.cc -fno-common -DPIC -o src/.libs/util.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -o src/base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/base.cc -fno-common -DPIC -o src/.libs/base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -o src/buffer.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/buffer.cc -fno-common -DPIC -o src/.libs/buffer.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -o src/logger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/logger.cc -fno-common -DPIC -o src/.libs/logger.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -o src/context.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/context.cc -fno-common -DPIC -o src/.libs/context.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -o src/global.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/global.cc -fno-common -DPIC -o src/.libs/global.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -o src/source_reader.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/source_reader.cc -fno-common -DPIC -o src/.libs/source_reader.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -o src/dbgp.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/dbgp.cc -fno-common -DPIC -o src/.libs/dbgp.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -o src/debuger_mode_base.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/debuger_mode_base.cc -fno-common -DPIC -o src/.libs/debuger_mode_base.o
/bin/sh /Users/atao/Downloads/yasd-0.3.7/libtool --mode=compile g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -o src/cmder_debugger.lo
g++ -I. -I/Users/atao/Downloads/yasd-0.3.7 -DPHP_ATOM_INC -I/Users/atao/Downloads/yasd-0.3.7/include -I/Users/atao/Downloads/yasd-0.3.7/main -I/Users/atao/Downloads/yasd-0.3.7 -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/main -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/TSRM -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/Zend -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext -I/opt/homebrew/Cellar/php@7.4/7.4.14_1/include/php/ext/date/lib -I/include -I/Users/atao/Downloads/yasd-0.3.7/thirdparty/tinyxml2 -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc -fno-common -DPIC -o src/.libs/cmder_debugger.o
/Users/atao/Downloads/yasd-0.3.7/src/cmder_debugger.cc:20:10: fatal error:
'boost/algorithm/string.hpp' file not found
#include <boost/algorithm/string.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [src/cmder_debugger.lo] Error 1
➜ yasd-0.3.7

@huanghantao
Copy link
Member

那你直接创建软连接到g++搜索的默认路径里面吧。

@newpurr
Copy link
Author

newpurr commented Feb 4, 2021

请问我需要链接到那个位置呢

我的gcc信息如下

➜ ~ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: arm64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

boost目录如下:
/opt/homebrew/Cellar/boost/1.75.0_1/

@huanghantao
Copy link
Member

huanghantao commented Feb 4, 2021

你试试这个:

ln -s /opt/homebrew/Cellar/boost/1.75.0_1/lib/libboost_filesystem.dylib /usr/local/lib
ln -s /opt/homebrew/Cellar/boost/1.75.0_1/include/boost /usr/local/include/boost

@newpurr
Copy link
Author

newpurr commented Feb 4, 2021

成功了,赞

@encircles
Copy link

我也成功了, 赞

@tw2066
Copy link

tw2066 commented Nov 7, 2021

没有filesystem这个库 怎么处理呢? @huanghantao

@mmfei
Copy link

mmfei commented Nov 13, 2021

sudo ln -s /opt/homebrew/Cellar/boost/1.76.0/lib/libboost_filesystem.dylib /usr/local/lib
sudo mkdir /usr/local/include
sudo ln -s /opt/homebrew/Cellar/boost/1.76.0/include/boost /usr/local/include/boost

有效

@wujingfeng
Copy link

我也想问问, 我安装了 boost 但是没有 boost_filesystem 文件, 只有 libboost_filesystem.a这个文件,应该如何处理

@tan-i-ham
Copy link

thanks!!! it works!!!
other commands if the option is necessary

ln -s /opt/homebrew/Cellar/boost/1.80.0/include/boost /usr/local/include/boost
ln -s /opt/homebrew/Cellar/boost/1.80.0/lib/libboost_filesystem.dylib /usr/local/lib
ln -s /opt/homebrew/Cellar/boost/1.80.0/lib/libboost_program_options.dylib /usr/local/lib
ln -s /opt/homebrew/Cellar/boost/1.80.0/lib/libboost_system.dylib /usr/local/lib

@huanghantao
Copy link
Member

@tan-i-ham The swoole master branch now supports xdebug directly, but the PHP version is at least 8.1.

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

No branches or pull requests

7 participants