Установка CURLFTPFS

Модератор: /dev/random

Ответить
gOsToFf
Сообщения: 95
ОС: CentOS 5.7 x86-64
Контактная информация:

Установка CURLFTPFS

Сообщение gOsToFf »

Здраствуйте форумчане. Мне для кое каких нужд требуется подмонтировать фтп в локальную папку. На Ubuntu делал это при помощи curlftpfs.
Сейчас на сервере стоит RedHat Enterprise Linux 5.4
Делаю все вроде как надо

Код: Выделить всё

wget http://sourceforge.net/projects/curlftpfs/files/curlftpfs/0.9.2/curlftpfs-0.9.2.tar.gz/download
tar -xzf curlftpfs-0.9.2.tar.gz
cd curlftpfs-0.9.2
./configure
make check


на последнем этапе выдает ошибку. не могу понять что она значит.


Код: Выделить всё

 curlftpfs ftpfs.o -pthread  libcurlftpfs.a -L/lib64 -lglib-2.0 -L/usr/local/lib /usr/local/lib/libfuse.so -lrt -ldl /usr/local/lib/libcurl.so -L/usr/kerberos/lib64   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
ftpfs.o: In function `checkpasswd':
/usr/src/curlftpfs-0.9.2/ftpfs.c:1693: undefined reference to `rpl_realloc'
ftpfs.o: In function `buf_resize':
/usr/src/curlftpfs-0.9.2/ftpfs.c:73: undefined reference to `rpl_realloc'
ftpfs.o: In function `ftpfs_open_common':
/usr/src/curlftpfs-0.9.2/ftpfs.c:707: undefined reference to `rpl_malloc'
libcurlftpfs.a(charset_utils.o): In function `convert_charsets':
/usr/src/curlftpfs-0.9.2/charset_utils.c:35: undefined reference to `rpl_malloc'
collect2: ld returned 1 exit status
make[1]: *** [curlftpfs] Error 1
make[1]: Leaving directory `/usr/src/curlftpfs-0.9.2'
make: *** [check-recursive] Error 1
[root@tvingo curlftpfs-0.9.2]#


Можете подсказать в чем дело?
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5289
ОС: Gentoo

Re: Установка CURLFTPFS

Сообщение /dev/random »

Лог ./configure приведите.
Спасибо сказали:
gOsToFf
Сообщения: 95
ОС: CentOS 5.7 x86-64
Контактная информация:

Re: Установка CURLFTPFS

Сообщение gOsToFf »

Код: Выделить всё

[root@tvingo curlftpfs-0.9.2]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for FUSE... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/local/bin/curl-config
checking for the version of libcurl... 7.21.0
checking for libcurl >= version 7.17.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for fuse_opt_parse... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unistd.h... (cached) yes
checking for working chown... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for alarm... yes
checking for working mktime... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... yes
checking whether utime accepts a null argument... no
checking for ftruncate... yes
checking for getpass... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for realpath... yes
checking for rmdir... yes
checking for select... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoull... yes
checking for utime... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5289
ОС: Gentoo

Re: Установка CURLFTPFS

Сообщение /dev/random »

gOsToFf писал(а):
09.07.2010 16:45
checking for GNU libc compatible malloc... no

Вот оно. Сделайте
$ export ac_cv_func_malloc_0_nonnull="yes"
перед ./configure.
Спасибо сказали:
gOsToFf
Сообщения: 95
ОС: CentOS 5.7 x86-64
Контактная информация:

Re: Установка CURLFTPFS

Сообщение gOsToFf »

Все равно (


Configure -

Код: Выделить всё

[root@tvingo curlftpfs-0.9.2]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for FUSE... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/local/bin/curl-config
checking for the version of libcurl... 7.21.0
checking for libcurl >= version 7.17.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for fuse_opt_parse... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unistd.h... (cached) yes
checking for working chown... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for alarm... yes
checking for working mktime... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... yes
checking whether utime accepts a null argument... no
checking for ftruncate... yes
checking for getpass... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for realpath... yes
checking for rmdir... yes
checking for select... yes
checking for strchr... yes
checking for strdup... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoull... yes
checking for utime... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands


MAKE CHECK

Код: Выделить всё

Making check in compat
make[1]: Entering directory `/usr/src/curlftpfs-0.9.2/compat'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include -MT fuse_opt.lo -MD -MP -MF ".deps/fuse_opt.Tpo" -c -o fuse_opt.lo fuse_opt.c; \
        then mv -f ".deps/fuse_opt.Tpo" ".deps/fuse_opt.Plo"; else rm -f ".deps/fuse_opt.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -MT fuse_opt.lo -MD -MP -MF .deps/fuse_opt.Tpo -c fuse_opt.c  -fPIC -DPIC -o .libs/fuse_opt.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -MT fuse_opt.lo -MD -MP -MF .deps/fuse_opt.Tpo -c fuse_opt.c -o fuse_opt.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include   -o libcompat.la   fuse_opt.lo  -L/lib64 -lglib-2.0   -pthread -L/usr/local/lib -lfuse -lrt -ldl   -L/usr/local/lib -lcurl -L/usr/kerberos/lib64
ar cru .libs/libcompat.a .libs/fuse_opt.o
ranlib .libs/libcompat.a
creating libcompat.la
(cd .libs && rm -f libcompat.la && ln -s ../libcompat.la libcompat.la)
make[1]: Leaving directory `/usr/src/curlftpfs-0.9.2/compat'
Making check in doc
make[1]: Entering directory `/usr/src/curlftpfs-0.9.2/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/curlftpfs-0.9.2/doc'
make[1]: Entering directory `/usr/src/curlftpfs-0.9.2'
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26   -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include -MT cache.o -MD -MP -MF ".deps/cache.Tpo" -c -o cache.o cache.c; \
        then mv -f ".deps/cache.Tpo" ".deps/cache.Po"; else rm -f ".deps/cache.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26   -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include -MT ftpfs-ls.o -MD -MP -MF ".deps/ftpfs-ls.Tpo" -c -o ftpfs-ls.o ftpfs-ls.c; \
        then mv -f ".deps/ftpfs-ls.Tpo" ".deps/ftpfs-ls.Po"; else rm -f ".deps/ftpfs-ls.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26   -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include -MT charset_utils.o -MD -MP -MF ".deps/charset_utils.Tpo" -c -o charset_utils.o charset_utils.c; \
        then mv -f ".deps/charset_utils.Tpo" ".deps/charset_utils.Po"; else rm -f ".deps/charset_utils.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26   -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include -MT path_utils.o -MD -MP -MF ".deps/path_utils.Tpo" -c -o path_utils.o path_utils.c; \
        then mv -f ".deps/path_utils.Tpo" ".deps/path_utils.Po"; else rm -f ".deps/path_utils.Tpo"; exit 1; fi
path_utils.c: In function ‘get_dir_path’:
path_utils.c:89: warning: field precision should have type ‘int’, but argument 3 has type ‘long int’
rm -f libcurlftpfs.a
ar cru libcurlftpfs.a cache.o ftpfs-ls.o charset_utils.o path_utils.o
ranlib libcurlftpfs.a
if gcc -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26   -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include -MT ftpfs.o -MD -MP -MF ".deps/ftpfs.Tpo" -c -o ftpfs.o ftpfs.c; \
        then mv -f ".deps/ftpfs.Tpo" ".deps/ftpfs.Po"; else rm -f ".deps/ftpfs.Tpo"; exit 1; fi
ftpfs.c: In function ‘ftpfs_read_chunk’:
ftpfs.c:333: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘off_t’
ftpfs.c:338: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘off_t’
ftpfs.c:350: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘off_t’
ftpfs.c:350: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘off_t’
ftpfs.c: In function ‘ftpfs_write_thread’:
ftpfs.c:501: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘off_t’
ftpfs.c:499: warning: unused variable ‘range’
ftpfs.c: In function ‘ftpfs_open_common’:
ftpfs.c:739: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
ftpfs.c: In function ‘ftpfs_read’:
ftpfs.c:828: warning: format ‘%lld’ expects type ‘long long int’, but argument 7 has type ‘off_t’
ftpfs.c: In function ‘ftpfs_truncate’:
ftpfs.c:947: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘off_t’
ftpfs.c: In function ‘ftpfs_ftruncate’:
ftpfs.c:967: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘off_t’
ftpfs.c: In function ‘ftpfs_write’:
ftpfs.c:1112: warning: format ‘%lld’ expects type ‘long long int’, but argument 7 has type ‘off_t’
ftpfs.c:1122: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘off_t’
ftpfs.c:1147: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘off_t’
ftpfs.c: In function ‘ftpfs_flush’:
ftpfs.c:1199: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘off_t’
ftpfs.c:1216: warning: format ‘%lld’ expects type ‘long long int’, but argument 3 has type ‘__off_t’
ftpfs.c:1216: warning: format ‘%lld’ expects type ‘long long int’, but argument 4 has type ‘off_t’
ftpfs.c: At top level:
ftpfs.c:621: warning: ‘buffer_file’ defined but not used
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include   -o curlftpfs  ftpfs.o libcurlftpfs.a -L/lib64 -lglib-2.0   -pthread -L/usr/local/lib -lfuse -lrt -ldl   -L/usr/local/lib -lcurl -L/usr/kerberos/lib64
mkdir .libs
gcc -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -o curlftpfs ftpfs.o -pthread  libcurlftpfs.a -L/lib64 -lglib-2.0 -L/usr/local/lib /usr/local/lib/libfuse.so -lrt -ldl /usr/local/lib/libcurl.so -L/usr/kerberos/lib64   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
make[1]: Leaving directory `/usr/src/curlftpfs-0.9.2'
make[1]: Entering directory `/usr/src/curlftpfs-0.9.2/tests'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DFUSE_USE_VERSION=25   -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include -MT ftpfs-ls_unittest.o -MD -MP -MF ".deps/ftpfs-ls_unittest.Tpo" -c -o ftpfs-ls_unittest.o ftpfs-ls_unittest.c; \
        then mv -f ".deps/ftpfs-ls_unittest.Tpo" ".deps/ftpfs-ls_unittest.Po"; else rm -f ".deps/ftpfs-ls_unittest.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse   -I/usr/local/include   -o ftpfs-ls_unittest  ftpfs-ls_unittest.o ../libcurlftpfs.a -L/lib64 -lglib-2.0   -pthread -L/usr/local/lib -lfuse -lrt -ldl   -L/usr/local/lib -lcurl -L/usr/kerberos/lib64
mkdir .libs
gcc -g -O2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/usr/local/include -o ftpfs-ls_unittest ftpfs-ls_unittest.o -pthread  ../libcurlftpfs.a -L/lib64 -lglib-2.0 -L/usr/local/lib /usr/local/lib/libfuse.so -lrt -ldl /usr/local/lib/libcurl.so -L/usr/kerberos/lib64   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
Running unittests:
ftpfs-ls_unittest... FAILED
make[1]: *** [test] Error 1
make[1]: Leaving directory `/usr/src/curlftpfs-0.9.2/tests'
make: *** [test] Error 2
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5289
ОС: Gentoo

Re: Установка CURLFTPFS

Сообщение /dev/random »

gOsToFf писал(а):
09.07.2010 17:12
MAKE CHECK

make check делается для автоматической проверки работоспособности, но иногда сама проверка оказывается неработоспособной. Протестируйте собранный curlftpfs сами, вручную. Если всё работает, выкиньте нафиг make check. Если не работает, то тут уже всё гораздо сложнее.
Спасибо сказали:
gOsToFf
Сообщения: 95
ОС: CentOS 5.7 x86-64
Контактная информация:

Re: Установка CURLFTPFS

Сообщение gOsToFf »

make install Тоже не пахаеть... Ошибку кидает. ( установленных файлов тоже не видать в папке )
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5289
ОС: Gentoo

Re: Установка CURLFTPFS

Сообщение /dev/random »

gOsToFf писал(а):
10.07.2010 00:29
make install Тоже не пахаеть... Ошибку кидает. ( установленных файлов тоже не видать в папке )

Логи, логи, логи!
"Тоже не пахаеть..." - это не логи.
В первую очередь - лог "make". И не забудьте, если будете вновь делать "./configure", опять экспортировать ту переменную.
Спасибо сказали:
gOsToFf
Сообщения: 95
ОС: CentOS 5.7 x86-64
Контактная информация:

Re: Установка CURLFTPFS

Сообщение gOsToFf »

Короче сам не знаю че сделал) ФИгней пострадал... Удалил glibc, gcc поставил заного ласт версии. Переконфигил с 2мя переменными
export ac_cv_func_malloc_0_nonnull="yes"
export ac_cv_func_realloc_0_nonnull="yes"
make install
пара ошибок была. Но установился и работает вроде норм.
Спасибо...
А ты случайно не ставил RRDTool???? Там у меня вообще жопа))) куча модулей. И ошибка на ошибке.
Спасибо сказали:
Ответить