在Ubuntu上执行make.sh install出现下面的错误,求指教
Opened this issue · 1 comments
GoogleCodeExporter commented
# ./make.sh install
mkdir -p /usr/local/bin
mkdir -p /etc/fdfs
cp -f fdfs_trackerd /usr/local/bin
cp: cannot stat `fdfs_trackerd': No such file or directory
make: *** [install] Error 1
mkdir -p /usr/local/bin
mkdir -p /etc/fdfs
cp -f fdfs_storaged /usr/local/bin
cp: cannot stat `fdfs_storaged': No such file or directory
make: *** [install] Error 1
mkdir -p /usr/local/bin
mkdir -p /etc/fdfs
mkdir -p /usr/local/lib
cp -f fdfs_monitor fdfs_test fdfs_test1 fdfs_crc32 fdfs_upload_file
fdfs_download_file fdfs_delete_file fdfs_file_info fdfs_appender_test
fdfs_appender_test1 fdfs_append_file fdfs_upload_appender /usr/local/bin
if [ 0 -eq 1 ]; then cp -f libfastcommon.a libfdfsclient.a /usr/local/lib; fi
if [ 1 -eq 1 ]; then cp -f libfastcommon.so.1 libfdfsclient.so.1
/usr/local/lib; fi
if [ 1 -eq 1 ]; then ln -fs /usr/local/lib/libfastcommon.so.1
/usr/local/lib/libfastcommon.so; fi
if [ 1 -eq 1 ]; then ln -fs /usr/local/lib/libfdfsclient.so.1
/usr/local/lib/libfdfsclient.so; fi
if [ ! -f /etc/fdfs/client.conf ]; then cp -f ../conf/client.conf
../conf/http.conf /etc/fdfs; fi
mkdir -p /usr/local/include
mkdir -p /usr/local/include/fastcommon
mkdir -p /usr/local/include/fastdfs
cp -f ../common/common_define.h ../common/hash.h ../common/chain.h
../common/logger.h ../common/base64.h ../common/shared_func.h
../common/pthread_func.h ../common/ini_file_reader.h ../common/sockopt.h
../common/sched_thread.h ../common/http_func.h ../common/md5.h
../common/_os_bits.h ../common/local_ip_func.h ../common/avl_tree.h
../common/connection_pool.h /usr/local/include/fastcommon
cp -f ../common/fdfs_define.h ../common/fdfs_global.h
../common/mime_file_parser.h ../common/fdfs_http_shared.h
../tracker/tracker_types.h ../tracker/tracker_proto.h
../tracker/fdfs_shared_func.h ../storage/trunk_mgr/trunk_shared.h
tracker_client.h storage_client.h storage_client1.h client_func.h
client_global.h fdfs_client.h /usr/local/include/fastdfs
if [ 1 -eq 1 -a /usr/local/lib = "/usr/local/lib" ]; then sh
./fdfs_link_library.sh; fi
ln: failed to create symbolic link `/usr/lib64/libfastcommon.so': No such file
or directory
ln: failed to create symbolic link `/usr/lib64/libfdfsclient.so': No such file
or directory
make: *** [install] Error 1
Original issue reported on code.google.com by 67676...@163.com
on 5 May 2014 at 12:33
GoogleCodeExporter commented
先要执行./make.sh,然后才能执行 ./make.sh install
Original comment by happyfis...@gmail.com
on 6 May 2014 at 2:50