From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: gene@bear.com
Cc: zsh-workers@math.gatech.edu
Subject: Re: 3.0.1-test on cray
Date: Wed, 4 Sep 1996 19:27:12 +0200 (MET DST) [thread overview]
Message-ID: <199609041727.TAA12902@bolyai.cs.elte.hu> (raw)
In-Reply-To: <9609041618.AA00907@bear.com> from "gene@bear.com" at "Sep 4, 96 12:18:28 pm"
> FYI:
>
> zsh v3.0.1-test failed to compile on cray-c90 under Unicos 9.0.
...
> ldr-334 cc: CAUTION
> File 'libdir.a' cannot be found in any of the search directories.
This is probably because your cc runs successfully even if a given library
is missing which makes configure think that you have a `dir' library.
> ldr-133 cc: WARNING
> Unsatisfied external references have been encountered.
>
> Unsatisfied external references
> Entry name Modules referencing entry
>
> nis_list zle_tricky$c
If that happens with 3.0.1-test, then compilation of 3.0.0 should also
fail. Does your system have NIS+? Do you have HAVE_NIS_PLUS defined in
the zsh-3.0.0 config.h? In that case, how was zsh-3.0.0 linked? If the
libraries linked with 3.0.0 is different from 3.0.1, what are the
differences in config.log?
There was no change in configure since 3.0.0.
Anyway, the patch below does not hurt anyone and it should fix this, but
the real problem is probably a missing library which should be linked to
zsh. You can use nm to find a library which defines nis_list and we may
add a configure test for that library.
Zoltan
--- configure 1996/08/15 17:37:46 2.21
+++ configure 1996/09/04 17:13:51
@@ -2585,7 +2585,7 @@
for ac_func in strftime waitpid select tcsetpgrp tcgetattr strstr lstat \
getlogin setpgid gettimeofday gethostname mkfifo wait3 difftime \
sigblock sigsetmask sigrelse sighold killpg sigaction getrlimit \
- sigprocmask setuid seteuid setreuid setresuid strerror
+ sigprocmask setuid seteuid setreuid setresuid strerror nis_list
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
@@ -2769,7 +2769,8 @@
if eval "test \"`echo '$''{'zsh_cv_sys_nis_plus'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- test -f /usr/bin/nisls && /usr/bin/nisls > /dev/null 2>&1 && \
+ test $ac_cv_func_nis_list = yes && test -f /usr/bin/nisls && \
+ /usr/bin/nisls > /dev/null 2>&1 && \
zsh_cv_sys_nis_plus=yes || zsh_cv_sys_nis_plus=no
fi
@@ -2836,7 +2837,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2840 "configure"
+#line 2841 "configure"
#include "confdefs.h"
#include <unistd.h>
double brk();
@@ -2845,7 +2846,7 @@
int i;
; return 0; }
EOF
-if { (eval echo configure:2849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
zsh_cv_header_unistd_h_brk_proto=no
else
@@ -2869,7 +2870,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2873 "configure"
+#line 2874 "configure"
#include "confdefs.h"
#include <unistd.h>
double sbrk();
@@ -2878,7 +2879,7 @@
int i;
; return 0; }
EOF
-if { (eval echo configure:2882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
zsh_cv_header_unistd_h_sbrk_proto=no
else
--- configure.in 1996/08/15 17:37:46 2.20
+++ configure.in 1996/09/04 17:13:18
@@ -425,7 +425,7 @@
AC_CHECK_FUNCS(strftime waitpid select tcsetpgrp tcgetattr strstr lstat \
getlogin setpgid gettimeofday gethostname mkfifo wait3 difftime \
sigblock sigsetmask sigrelse sighold killpg sigaction getrlimit \
- sigprocmask setuid seteuid setreuid setresuid strerror)
+ sigprocmask setuid seteuid setreuid setresuid strerror nis_list)
dnl Checking for working strcoll
AC_CACHE_CHECK(for working strcoll, zsh_cv_func_strcoll,
@@ -508,7 +508,8 @@
dnl CHECK FOR NISPLUS
dnl -----------------
AC_CACHE_CHECK(for NIS+, zsh_cv_sys_nis_plus,
-[test -f /usr/bin/nisls && /usr/bin/nisls > /dev/null 2>&1 && \
+[test $ac_cv_func_nis_list = yes && test -f /usr/bin/nisls && \
+ /usr/bin/nisls > /dev/null 2>&1 && \
zsh_cv_sys_nis_plus=yes || zsh_cv_sys_nis_plus=no])
if test $zsh_cv_sys_nis_plus = yes; then
AC_DEFINE(HAVE_NIS_PLUS)
prev parent reply other threads:[~1996-09-04 17:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-04 16:18 gene
1996-09-04 17:04 ` Zefram
1996-09-04 17:27 ` Zoltan Hidvegi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199609041727.TAA12902@bolyai.cs.elte.hu \
--to=hzoli@cs.elte.hu \
--cc=gene@bear.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).