[scponly] SCPonly on AIX

kuldip dhanjal kuldip27 at yahoo.com
Thu Jun 10 09:01:15 EDT 2010


Hi Doug, 
Thanks for the reply to my earlier query. 
configure --enable-scp-compat did not report any errors but make failed. 

root> ./configure --enable-scp-compat
checking build system type... powerpc-ibm-aix5.3.0.0
checking host system type... powerpc-ibm-aix5.3.0.0
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 ANSI C... none needed
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking for cut... /bin/cut
checking for grep... /bin/grep
checking for sort... /bin/sort
checking for ldd... /bin/ldd
checking for useradd... /usr/sbin/useradd
checking for chown... /bin/chown
checking for chmod... /bin/chmod
checking for dirname... /bin/dirname
checking for id... /bin/id
checking for pw... no
checking for rm... /bin/rm
checking for pwd_mkdb... no
-n
-n
-n
-n
-n
-n
-n
-n
-n
-n
configure: enabling core WinSCP and Vanilla SCP binaries...
checking for sftp-server... /usr/sbin/sftp-server
checking for ls... /usr/bin/ls
checking for scp... /usr/bin/scp
checking for rm... /usr/bin/rm
checking for ln... /usr/bin/ln
checking for mv... /usr/bin/mv
checking for chmod... /usr/bin/chmod
checking for chown... /usr/bin/chown
checking for chgrp... /usr/bin/chgrp
checking for mkdir... /usr/bin/mkdir
checking for rmdir... /usr/bin/rmdir
configure: enabling WinSCP compatability...
checking for pwd... /usr/bin/pwd
checking for groups... /usr/bin/groups
checking for id... /usr/bin/id
checking for echo... /usr/bin/echo
configure: enabling SFTP compatability...
checking for sftp-server... (cached) /usr/sbin/sftp-server
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -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 stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking wordexp.h usability... yes
checking wordexp.h presence... yes
checking for wordexp.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for malloc... yes
checking for atexit... yes
checking for bzero... yes
checking for strchr... yes
checking for strerror... yes
checking for glob... yes
checking for wordexp... yes
checking for strspn... yes
checking for basename... yes
checking for getopt... yes
checking whether optreset is declared... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating setup_chroot.sh
config.status: creating config.h

root > make
        gcc -g -O2 -I. -I. -DHAVE_CONFIG_H -DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o scponly.o -c scponly.c
In file included from scponly.c:19:
scponly.h:2:41: error: getopt.h: No such file or directory
scponly.c:88: error: array type has incomplete element type
make: 1254-004 The error code from the last command is 1.


Stop.



Appreciate any help. 

Thanks 
Kuldip



      
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the scponly mailing list