Claes Wikstrom wrote:
> On Sat, Feb 08, 2003 at 07:51:47PM -0600, Jimmie Houchin wrote:
>
>>Hello,
>>
>>I just downloaded yaws1.0 and tried to do a build and got the following
>>error.
>>
>>configure: error: Broken Erlang installation, "/usr/lib/erlang" does not
>>exist!
>>
>>But there is a directory /usr/lib/erlang on my system.
>>
>>I am running Debian Sid and installed via dselect.
>>
>>Erlang is running. I can do erl in a xterm.
>>
>
> Need more info, I haven't got no debian to try this on.
> Please run
>
> # sh -x ./configure 2>&1
>
> as well as
>
> # cat `which erl`
>
> and send the output.
>
> /klacke
Hello,
Below is the script output of running the commands you requested.
If you don't find an apparent reason. I'll be happy to uninstall and
then install erlang from source. :)
Thanks for any help.
Jimmie Houchin
Script started on Sun Feb 9 22:54:48 2003
squirrel:/home/jimmie/yaws/yaws# sh -x ./configure 2>&1
+ ac_help=
+ ac_default_prefix=/usr/local
+ build=NONE
+ cache_file=./config.cache
+ exec_prefix=NONE
+ host=NONE
+ no_create=
+ nonopt=NONE
+ no_recursion=
+ prefix=NONE
+ program_prefix=NONE
+ program_suffix=NONE
+ program_transform_name=s,x,x,
+ silent=
+ site=
+ srcdir=
+ target=NONE
+ verbose=
+ x_includes=NONE
+ x_libraries=NONE
+ bindir=${exec_prefix}/bin
+ sbindir=${exec_prefix}/sbin
+ libexecdir=${exec_prefix}/libexec
+ datadir=${prefix}/share
+ sysconfdir=${prefix}/etc
+ sharedstatedir=${prefix}/com
+ localstatedir=${prefix}/var
+ libdir=${exec_prefix}/lib
+ includedir=${prefix}/include
+ oldincludedir=/usr/include
+ infodir=${prefix}/info
+ mandir=${prefix}/man
+ subdirs=
+ MFLAGS=
+ MAKEFLAGS=
+ SHELL=/bin/sh
+ ac_max_here_lines=12
+ ac_prev=
+ test -n ''
+ trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files;
exit 1' 1 2 15
+ test '' = yes
+ exec
+ exec
+ echo 'This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
'
+ ac_configure_args=
+ test set = set
+ LANG=C
+ export LANG
+ test '' = set
+ test '' = set
+ test '' = set
+ rm -rf 'conftest*' confdefs.h
+ echo
+ ac_unique_file=Makefile
+ test -z ''
+ ac_srcdir_defaulted=yes
+ ac_prog=./configure
++ echo ./configure
++ sed 's%/[^/][^/]*$%%'
+ ac_confdir=.
+ test x. = x./configure
+ srcdir=.
+ test '!' -r ./Makefile
+ test '!' -r ./Makefile
++ echo .
++ sed 's%\([^/]\)/*$%\1%'
+ srcdir=.
+ test -z ''
+ test xNONE '!=' xNONE
+ CONFIG_SITE=/usr/local/share/config.site /usr/local/etc/config.site
+ test -r /usr/local/share/config.site
+ test -r /usr/local/etc/config.site
+ test -r ./config.cache
+ echo 'loading cache ./config.cache'
loading cache ./config.cache
+ . ./config.cache
+ ac_ext=c
+ ac_cpp=$CPP $CPPFLAGS
+ ac_compile=${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5
+ ac_link=${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5
+ cross_compiling=
+ ac_exeext=
+ ac_objext=o
+ echo 'testing\c'
+ echo 1,2,3
+ grep c
+ echo -n testing
+ echo 1,2,3
+ sed s/-n/xn/
+ grep xn
+ ac_n=-n
+ ac_c=
+ ac_t=
+ ac_aux_dir=
+ test -f ./install-sh
+ ac_aux_dir=.
+ ac_install_sh=./install-sh -c
+ break
+ test -z .
+ ac_config_guess=./config.guess
+ ac_config_sub=./config.sub
+ ac_configure=./configure
+ /bin/sh ./config.sub sun4
+ :
+ echo -n 'checking host system type... '
checking host system type... + echo 'configure:574: checking host system
type'
+ host_alias=NONE
++ /bin/sh ./config.guess
+ host_alias=i686-pc-linux-gnu
+ :
++ /bin/sh ./config.sub i686-pc-linux-gnu
+ host=i686-pc-linux-gnu
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'
+ host_cpu=i686
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'
+ host_vendor=pc
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'
+ host_os=linux-gnu
+ echo i686-pc-linux-gnu
i686-pc-linux-gnu
+ echo -n 'checking target system type... '
checking target system type... + echo 'configure:595: checking target
system type'
+ target_alias=NONE
+ target_alias=i686-pc-linux-gnu
++ /bin/sh ./config.sub i686-pc-linux-gnu
+ target=i686-pc-linux-gnu
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'
+ target_cpu=i686
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'
+ target_vendor=pc
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'
+ target_os=linux-gnu
+ echo i686-pc-linux-gnu
i686-pc-linux-gnu
+ echo -n 'checking build system type... '
checking build system type... + echo 'configure:613: checking build
system type'
+ build_alias=NONE
+ build_alias=i686-pc-linux-gnu
++ /bin/sh ./config.sub i686-pc-linux-gnu
+ build=i686-pc-linux-gnu
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'
+ build_cpu=i686
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'
+ build_vendor=pc
++ echo i686-pc-linux-gnu
++ sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'
+ build_os=linux-gnu
+ echo i686-pc-linux-gnu
i686-pc-linux-gnu
+ test i686-pc-linux-gnu '!=' i686-pc-linux-gnu
+ cat
+ set dummy erl
+ ac_word=erl
+ echo -n 'checking for erl... '
checking for erl... + echo 'configure:643: checking for erl'
++ echo '${ac_cv_path_ERL+set}'
+ eval 'test "${ac_cv_path_ERL+set}" = set'
++ test '' = set
+ IFS=
+ ac_save_ifs=
+ IFS=:
+
ac_dummy=/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
+ test -z /sbin
+ test -f /sbin/erl
+ test -z /bin
+ test -f /bin/erl
+ test -z /usr/sbin
+ test -f /usr/sbin/erl
+ test -z /usr/bin
+ test -f /usr/bin/erl
+ ac_cv_path_ERL=/usr/bin/erl
+ break
+ IFS=
+ ERL=/usr/bin/erl
+ test -n /usr/bin/erl
+ echo /usr/bin/erl
/usr/bin/erl
+ set dummy erlc
+ ac_word=erlc
+ echo -n 'checking for erlc... '
checking for erlc... + echo 'configure:678: checking for erlc'
++ echo '${ac_cv_path_ERLC+set}'
+ eval 'test "${ac_cv_path_ERLC+set}" = set'
++ test '' = set
+ IFS=
+ ac_save_ifs=
+ IFS=:
+
ac_dummy=/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin
+ test -z /sbin
+ test -f /sbin/erlc
+ test -z /bin
+ test -f /bin/erlc
+ test -z /usr/sbin
+ test -f /usr/sbin/erlc
+ test -z /usr/bin
+ test -f /usr/bin/erlc
+ ac_cv_path_ERLC=/usr/bin/erlc
+ break
+ IFS=
+ ERLC=/usr/bin/erlc
+ test -n /usr/bin/erlc
+ echo /usr/bin/erlc
/usr/bin/erlc
++ awk -F= '/ROOTDIR=/ { print $2; exit; }' /usr/bin/erl
+ ERLDIR="/usr/lib/erlang"
+ test '!' -d '"/usr/lib/erlang"'
+ echo 'configure: error: Broken Erlang installation, "/usr/lib/erlang"
does not exist!'
configure: error: Broken Erlang installation, "/usr/lib/erlang" does not
exist!
+ exit 1
squirrel:/home/jimmie/yaws/yaws# cat `which erl`
#!/bin/sh
ROOTDIR="/usr/lib/erlang"
BINDIR=$ROOTDIR/erts-5.2/bin
EMU=beam
PROGNAME=`echo $0 | sed 's/.*\///'`
export EMU
export ROOTDIR
export BINDIR
export PROGNAME
exec $BINDIR/erlexec ${1+"$@"}
squirrel:/home/jimmie/yaws/yaws# exit
Script done on Sun Feb 9 22:55:41 2003
|