bug(let): openssh v4.3p2 'ok' out-of-box; 'configure' does not survive 'autoreconf'
OpenMacNews
openmacnews at gmail.com
Thu Sep 21 23:56:59 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
building OPENSSH v4.3p2 on OSX 10.4.7, all's fine (config, nake,
install, exec) out-of-the-box. so, to be clear, this is NOT a blocker,
by any stretch ...
that said, however ...
if, instead of a don't-monkey-with-it build, prior to ./configure, i:
autoreconf -i -f
then, a subsequent:
./configure \
--prefix=/usr/local/openssh \
--sysconfdir=/var/security/ssh_homedir \
--mandir=/usr/local/man \
--with-pid-dir=/var/run \
--with-mantype=man \
--with-privsep-user=nobody \
--disable-suid-ssh \
--with-pam \
--with-random=/dev/urandom \
--with-md5-passwords \
--with-zlib=/usr/local \
--with-ssl-dir=/usr/local/ssl \
--with-default-path="/usr/local/openssh/bin:/usr/local/openssh/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin"
\
--with-tcp-wrappers \
--with-4in6
fails at:
...
checking for daemon... yes
checking for getpagesize... yes
checking whether snprintf correctly terminates long strings... yes
checking whether snprintf can declare const char *fmt... yes
checking for (overly) strict mkstemp... no
./configure: line 16377: syntax error near unexpected token `]]'
./configure: line 16377: `]])'
checking in 'configure':
...
16373 else
16374 { { echo "$as_me:$LINENO: error: cannot run test program while
cross compiling
16375 See \`config.log' for more details." >&5
16376 echo "$as_me: error: cannot run test program while cross
compiling
16377 See \`config.log' for more details." >&2;}
16378 { (exit 1); exit 1; }; }
16379 fi
16380 ]])
...
stems from, in 'configure.ac':
1406 dnl see whether mkstemp() requires XXXXXX
1407 if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
1408 AC_MSG_CHECKING([for (overly) strict mkstemp])
1409 AC_RUN_IFELSE(
1410 [AC_LANG_SOURCE([[
1411 #include <stdlib.h>
1412 main() { char template[]="conftest.mkstemp-test";
1413 if (mkstemp(template) == -1)
1414 exit(1);
1415 unlink(template); exit(0);
1416 }
- -> 1417 ]])],
1418 [
1419 AC_MSG_RESULT(no)
1420 ],
fyi, re: relevant (all?) my env:
% autoreconf --version
autoreconf (GNU Autoconf) 2.60
% glibtoolize --version
libtoolize (GNU libtool) 1.5.22
% aclocal --version
aclocal (GNU automake) 1.9.6
% automake --version
automake (GNU automake) 1.9.6
% sed --version
GNU sed version 4.1.5
% gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure
- --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
- --enable-languages=c,objc,c++,obj-c++
- --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
- --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
- --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
- --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5363)
cheers,
richard
- --
/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments
[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iEYEARECAAYFAkUSmi0ACgkQlffdvTZxCMaOcgCfQggj9JCFPbYw8Bh2lkNNyk5d
t/kAoIRm11Ipxt3zOJBI6ND61mnT3gp7
=x/TY
-----END PGP SIGNATURE-----
More information about the openssh-unix-dev
mailing list