- 論壇徽章:
- 0
|
@Tears999999
你這個問題是如何解決的,在c目錄下 make和make install ?
我也是在php的目錄下先./configure --with-php-config=/usr/local/php/bin/php-config , 然后make就報你上面的一樣的錯。
然后我先在c再make ,也一樣報錯。如下:
[root@fdfs-storeage my-fastdfs-client]# ls
c java php-extension
[root@fdfs-storeage my-fastdfs-client]# cd c
[root@fdfs-storeage c]# ls
HISTORY INSTALL Makefile my_fdfs_client.c my_fdfs_client.h my_fdfs_client_test.c my_fdfs_link_library.sh
[root@fdfs-storeage c]# make
cc -Wall -O -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -DDEBUG_FLAG -DOS_LINUX -c -o my_fdfs_client.o my_fdfs_client.c -I/usr/local/include/fastcommon -I/usr/local/include/fastdfs -I/usr/local/include/fastdht
my_fdfs_client.c:2:20: 錯誤:logger.h:沒有那個文件或目錄
在包含自 my_fdfs_client.c:3 的文件中:
my_fdfs_client.h:12:27: 錯誤:tracker_types.h:沒有那個文件或目錄
my_fdfs_client.h:13:27: 錯誤:tracker_proto.h:沒有那個文件或目錄
my_fdfs_client.h:14:28: 錯誤:storage_client.h:沒有那個文件或目錄
在包含自 /usr/local/include/fastdht/fdht_types.h:17 的文件中,
從 my_fdfs_client.h:16,
從 my_fdfs_client.c:3:
/usr/local/include/fastdht/fdht_define.h:14:27: 錯誤:common_define.h:沒有那個文件或目錄
In file included from my_fdfs_client.h:16, |
|