LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2013, 04:11 PM   #1
FureousGeorge
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Rep: Reputation: Disabled
Angry I can't compile afpfs-ng under cygwin!


$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
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 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 build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-cygwin file names to i686-pc-cygwin format... func_convert_file_noop
checking how to convert i686-pc-cygwin file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
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
checking for main in -lncurses... yes
checking for readline in -lreadline... yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for bzero... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... no
checking for socket... yes
checking for strchr... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for gcry_cipher_open in -lgcrypt... yes
checking fuse.h usability... yes
checking fuse.h presence... yes
checking for fuse.h... yes
checking for fuse_main in -lfuse... no
checking for __gmpz_init in -lgmp... yes
configure: creating ./config.status
config.status: creating lib/Makefile
config.status: creating fuse/Makefile
config.status: creating cmdline/Makefile
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands


$ make install
Making install in lib
make[1]: Entering directory `/cygdrive/c/Users/Irina/Downloads/http%3a%2f%2fwww.netgull.com%2fcygwin%2f/afpfs-ng-0.8.1/lib'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -g -O2 -g -O2 -MT libafpclient_la-afp.lo -MD -MP -MF .deps/libafpclient_la-afp.Tpo -c -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c
../libtool: line 865: X--tag=CC: command not found
../libtool: line 898: libtool: ignoring unknown tag : command not found
../libtool: line 865: X--mode=compile: command not found
../libtool: line 1031: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1032: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1175: Xgcc: command not found
../libtool: line 1175: X-DHAVE_CONFIG_H: command not found
../libtool: line 1175: X-I.: command not found
../libtool: line 1175: X-I..: command not found
../libtool: line 1175: X-D_FILE_OFFSET_BITS=64: command not found
../libtool: line 1175: X-I../include: No such file or directory
../libtool: line 1175: X-g: command not found
../libtool: line 1175: X-O2: command not found
../libtool: line 1175: X-g: command not found
../libtool: line 1175: X-O2: command not found
../libtool: line 1175: X-MT: command not found
../libtool: line 1175: Xlibafpclient_la-afp.lo: command not found
../libtool: line 1175: X-MD: command not found
../libtool: line 1175: X-MP: command not found
../libtool: line 1175: X-MF: command not found
../libtool: line 1175: X.deps/libafpclient_la-afp.Tpo: No such file or directory
../libtool: line 1175: X-c: command not found
../libtool: line 1227: Xlibafpclient_la-afp.lo: command not found
../libtool: line 1232: libtool: compile: cannot determine name of library object from `': command not found
Makefile:338: recipe for target `libafpclient_la-afp.lo' failed
make[1]: *** [libafpclient_la-afp.lo] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/Irina/Downloads/http%3a%2f%2fwww.netgull.com%2fcygwin%2f/afpfs-ng-0.8.1/lib'
Makefile:263: recipe for target `install-recursive' failed
make: *** [install-recursive] Error 1
 
Old 04-23-2013, 09:33 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,218

Rep: Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517
try not using a URL address as a folder name
cygwin like all *nix type operating systems dislike spaces and special characters in folder names
 
Old 05-04-2013, 10:47 PM   #3
FureousGeorge
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Angry Still the same error!

$ make install
Making install in lib
make[1]: Entering directory `/cygdrive/c/Users/Irina/Downloads/afpfs/lib'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -I../include -g -O2 -g -O2 -MT libafpclient_la-afp.lo -MD -MP -MF .deps/libafpclient_la-afp.Tpo -c -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c
../libtool: line 865: X--tag=CC: command not found
../libtool: line 898: libtool: ignoring unknown tag : command not found
../libtool: line 865: X--mode=compile: command not found
../libtool: line 1031: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1032: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1175: Xgcc: command not found
../libtool: line 1175: X-DHAVE_CONFIG_H: command not found
../libtool: line 1175: X-I.: command not found
../libtool: line 1175: X-I..: command not found
../libtool: line 1175: X-D_FILE_OFFSET_BITS=64: command not found
../libtool: line 1175: X-I../include: No such file or directory
../libtool: line 1175: X-g: command not found
../libtool: line 1175: X-O2: command not found
../libtool: line 1175: X-g: command not found
../libtool: line 1175: X-O2: command not found
../libtool: line 1175: X-MT: command not found
../libtool: line 1175: Xlibafpclient_la-afp.lo: command not found
../libtool: line 1175: X-MD: command not found
../libtool: line 1175: X-MP: command not found
../libtool: line 1175: X-MF: command not found
../libtool: line 1175: X.deps/libafpclient_la-afp.Tpo: No such file or directory
../libtool: line 1175: X-c: command not found
../libtool: line 1227: Xlibafpclient_la-afp.lo: command not found
../libtool: line 1232: libtool: compile: cannot determine name of library object from `': command not found
Makefile:338: recipe for target `libafpclient_la-afp.lo' failed
make[1]: *** [libafpclient_la-afp.lo] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/Irina/Downloads/afpfs/lib'
Makefile:263: recipe for target `install-recursive' failed
make: *** [install-recursive] Error 1
 
Old 05-04-2013, 11:50 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,218

Rep: Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517
it is looking for the capital "CC" shorthand for gcc

do you have a link from CC to gcc ?
 
Old 05-06-2013, 03:48 PM   #5
FureousGeorge
LQ Newbie
 
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
What kind of link it is, and how do I check that?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-compile NS2 under Cygwin MichaelYoung Programming 3 07-27-2013 11:52 AM
g++ compile problem (Cygwin) boomboom Linux - Software 3 03-15-2012 09:03 AM
Compile 2.6 kernel on Cygwin awillard69 Linux - Newbie 0 08-11-2004 10:56 AM
Compile under cygwin Ackmeco Linux - Newbie 0 06-19-2004 03:47 AM
Cygwin compile problems... jinksys Programming 0 04-10-2004 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration