[scponly] AIX 5.3 compile fails

Kaleb Pederson kaleb.pederson at gmail.com
Mon Jun 16 14:18:42 EDT 2008


Thanks for the heads up.  getopt is essentially required now so
configure should have alerted you, but doesn't currently enforce it.
I'll add that to our TODO list.

You should be able to install getopt after which scponly should build correctly.

Feel free to let us know if you run into problems.

Thanks.

--Kaleb


On Mon, Jun 16, 2008 at 10:44 AM, Don Avart <davart at ebi-llc.com> wrote:
> I can't get this to compile with AIX 5.3.  I've tried with both gcc and
> xlc.  The make complains about getopt.h.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Don
>
> [l1n1][/opt/freeware/scponly-4.8]> ./configure --prefix=/opt/scponly
> --disable-winscp-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 SFTP compatability...
> checking for sftp-server... /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
> [l1n1][/opt/freeware/scponly-4.8]> make
>         gcc -g -O2 -I. -I. -DHAVE_CONFIG_H
> -DDEBUGFILE='"/opt/scponly/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.
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly
>
>



More information about the scponly mailing list