- 论坛徽章:
- 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, |
|