[scponly] Bug report: "getopt" breaks 4.8 from 4.6 (Solaris 8 build)
J.D. Baldwin
scponly at baldwin.users.panix.com
Wed Nov 19 15:30:45 EST 2008
In a build on a Solaris 8 host, I can make scponly 4.6 just fine, but
4.8 breaks on missing header file getopt.h.
==========================================================
Build on 4.6:
# ./configure --prefix=/usr/local --enable-rsync-compat --enable-chrooted-binary --enable-passwd-compat --enable-sftp-logging-compat --enable-scp-compat --with-sftp-server=/usr/local/libexec/sftp-server
[... lots of config feedback elided -- see below ...]
# gmake
gcc -g -O2 -I. -I. -DHAVE_CONFIG_H -DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o scponly.o -c scponly.c
gcc -g -O2 -I. -I. -DHAVE_CONFIG_H -DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o helper.o -c helper.c
gcc -g -O2 -I. -I. -DHAVE_CONFIG_H -DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o scponly scponly.o helper.o
gcc -g -O2 -I. -I. -DHAVE_CONFIG_H -DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o groups groups.c
#
Works fine!
==========================================================
Build on 4.8:
# ./configure --prefix=/usr/local --enable-rsync-compat --enable-chrooted-binary --enable-passwd-compat --enable-sftp-logging-compat --enable-scp-compat --with-sftp-server=/usr/local/libexec/sftp-server
[... lots of config feedback elided -- see below ...]
# gmake
# gmake
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: getopt.h: No such file or directory
gmake: *** [scponly.o] Error 1
==========================================================
The ./configure script output is identical in both cases except that
4.8 gives me a warning about reading the SECURITY file before enabling
rsync-compat. I tried building 4.8 without the rsync-compat option, but
it made no difference.
I can live with 4.6, I just thought I'd bring it to your attention.
jd
More information about the scponly
mailing list