[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dennou-ruby:000635] Re: dclc 修正版



FIP)高橋さん

linux (LASER5 6.0) で gcc (version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)) により dcl-C をインストールしようとしたの
ですが、 conifugre 時(?)に src/misc1/bitlib/bitlib.h がちゃんと
作られずうまく行きませんでした。このファイルは Sun では

/* src/misc1/bitlib/bitlib.h.  Generated automatically by configure.  */
#if 0
    $Id: bitlib.in,v 0.53 1999/06/02 02:33:33 kagimoto Exp $
#endif

#define DCL_INT int
#define DCL_REAL float

となるのが  linux では

/* src/misc1/bitlib/bitlib.h.  Generated automatically by configure.  */
#if 0
    $Id: bitlib.in,v 0.53 1999/06/02 02:33:33 kagimoto Exp $
#endif

/* #undef DCL_INT */
/* #undef DCL_REAL */

となって DCL_INT 等が定義されません。手で Sun と同じように
書き直せば通りますが、そうしないで済むよう直して頂けませんか。
configure は不案内で何が悪いのかわかりませんが、Sun では 
config.status に DCL_INT 等が登場するのに、linux ではありません。
config.status と config.log を添付しますので検討して頂けませんか。


堀之内 武                     horinout@xxxxxx
京都大学宙空電波科学研究センター (旧超高層電波研究センター)
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host localhost.localdomain:
#
# ./configure  --prefix=/data/horinout/pub/dcl-5.1-C
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
  case "$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --prefix=/data/horinout/pub/dcl-5.1-C --no-create --no-recursion"
    exec ${CONFIG_SHELL-/bin/sh} ./configure  --prefix=/data/horinout/pub/dcl-5.1-C --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "./config.status generated by autoconf version 2.12"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "$ac_cs_usage"; exit 0 ;;
  *) echo "$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=.

trap 'rm -fr Mkinclude src/misc1/bitlib/bitlib.h conftest*; exit 1' 1 2 15

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@xxxxxx/@xxxxxx@xxxxxx/; s/@xxxxxx%/@xxxxxx@xxxxxx/; s/%g$/@xxxxxx/; /@xxxxxx$/s/[\\&%]/\\&/g;
 s/@xxxxxx@xxxxxx/%@xxxxxx/; s/@xxxxxx@xxxxxx/@xxxxxx%/; s/@xxxxxx$/%g/' > conftest.subs <<\CEOF
/^[ 	]*VPATH[ 	]*=[^:]*$/d

s%@xxxxxx@xxxxxx%-O%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%-DHAVE_CONFIG_H%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%${prefix}%g
s%@xxxxxx@xxxxxx%/data/horinout/pub/dcl-5.1-C%g
s%@xxxxxx@xxxxxx%s,x,x,%g
s%@xxxxxx@xxxxxx%${exec_prefix}/bin%g
s%@xxxxxx@xxxxxx%${exec_prefix}/sbin%g
s%@xxxxxx@xxxxxx%${exec_prefix}/libexec%g
s%@xxxxxx@xxxxxx%${prefix}/share%g
s%@xxxxxx@xxxxxx%${prefix}/etc%g
s%@xxxxxx@xxxxxx%${prefix}/com%g
s%@xxxxxx@xxxxxx%${prefix}/var%g
s%@xxxxxx@xxxxxx%${exec_prefix}/lib%g
s%@xxxxxx@xxxxxx%${prefix}/include%g
s%@xxxxxx@xxxxxx%/usr/include%g
s%@xxxxxx@xxxxxx%${prefix}/info%g
s%@xxxxxx@xxxxxx%${prefix}/man%g
s%@xxxxxx@xxxxxx%gcc%g
s%@xxxxxx@xxxxxx%gcc -E%g
s%@xxxxxx@xxxxxx%/usr/bin/gawk%g
s%@xxxxxx@xxxxxx%sed%g
s%@xxxxxx@xxxxxx%ranlib%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%-O -w%g
s%@xxxxxx@xxxxxx% %g
s%@xxxxxx@xxxxxx%jlatex%g
s%@xxxxxx@xxxxxx%dvips -f%g
s%@xxxxxx@xxxxxx%-I/usr/X11R6/include%g
s%@xxxxxx@xxxxxx%-lX11%g
s%@xxxxxx@xxxxxx% -I/usr/X11R6/include%g
s%@xxxxxx@xxxxxx% -lSM -lICE%g
s%@xxxxxx@xxxxxx% -L/usr/X11R6/lib%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%dummy%g
s%@xxxxxx@xxxxxx%dummy%g
s%@xxxxxx@xxxxxx%other%g
s%@xxxxxx@xxxxxx%/data/horinout/pub/dcl-5.1-C%g
s%@xxxxxx@xxxxxx%/data/horinout/pub/dcl-5.1-C%g
s%@xxxxxx@xxxxxx%0x00800000%g
s%@xxxxxx@xxxxxx%0x7F7FFFFF%g
s%@xxxxxx@xxxxxx% 1.19221E-06%g
s%@xxxxxx@xxxxxx%0x7FFFFFFF%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%%g
s%@xxxxxx@xxxxxx%onexit=on_exit%g

CEOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  else
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  fi
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
  else
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
    else
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    fi
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
  fi
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
fi

CONFIG_FILES=${CONFIG_FILES-"Mkinclude:Mkinclude.in"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.

  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac


  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac

  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  sed -e "$ac_comsub
s%@xxxxxx@xxxxxx%$configure_input%g
s%@xxxxxx@xxxxxx%$srcdir%g
s%@xxxxxx@xxxxxx%$top_srcdir%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_uB='\([ 	]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'

if test "${CONFIG_HEADERS+set}" != set; then
  CONFIG_HEADERS="src/misc1/bitlib/bitlib.h:src/misc1/bitlib/bitlib.in"
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  echo creating $ac_file

  rm -f conftest.frag conftest.in conftest.out
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  cat $ac_file_inputs > conftest.in

  cat > conftest.frag <<CEOF
${ac_dA}X11${ac_dB}X11${ac_dC}1${ac_dD}
${ac_uA}X11${ac_uB}X11${ac_uC}1${ac_uD}
${ac_eA}X11${ac_eB}X11${ac_eC}1${ac_eD}
s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  rm -f conftest.frag conftest.h
  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  cat conftest.in >> conftest.h
  rm -f conftest.in
  if cmp -s $ac_file conftest.h 2>/dev/null; then
    echo "$ac_file is unchanged"
    rm -f conftest.h
  else
    # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
    fi
    rm -f $ac_file
    mv conftest.h $ac_file
  fi
fi; done



exit 0
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:583: checking user-defined C compiler "gcc"
configure:587: checking C compiler
configure:596: gcc -c -O  conftest.c 1>&5
configure:629: checking how to run the C preprocessor
configure:696: checking for mawk
configure:746: checking for gsed
configure:789: checking for ranlib
configure:899: checking for f90
configure:899: checking for pgf77
configure:899: checking for f77
configure:899: checking for g77
configure:1002: checking for jlatex
configure:1050: checking for dvi2ps
configure:1103: checking for X
configure:1429: checking for dnet_ntoa in -ldnet
configure:1470: checking for dnet_ntoa in -ldnet_stub
configure:1518: checking for gethostbyname
configure:1616: checking for connect
configure:1708: checking for remove
configure:1800: checking for shmat
configure:1901: checking for IceConnectionNumber in -lICE
configure:1967: checking Fortran service routine getarg()
configure:1968:  -O -w conftest.f > /dev/null 2>&1
configure:1986: checking Fortran service routine iargc()
configure:1987:  -O -w conftest.f > /dev/null 2>&1
configure:2006: checking Character code set csgi()/isgc()
configure:2024: checking for pwd
configure:2213:  -o conftest1 -O -w conftest1.f
./configure: -o: command not found
configure:2216:  -o conftest2 -O -w conftest2.f
./configure: -o: command not found
configure:2226: checking for float.h
configure:2345: gcc -o conftest -O -DHAVE_FLOAT_H  conftest.c
configure:2403: gcc -o conftest -O conftest.c
configure:2403: gcc -o conftest -O conftest.c
conftest.c: In function `main':
conftest.c:6: warning: passing arg 1 of `atexit' from incompatible pointer type
conftest.c:5: warning: return type of `main' is not `int'