Find the answer to your Linux question:
Results 1 to 4 of 4
hello, i'm trying to install x-chat, but when i typed ./configure, i got this: debian:/usr/local/src/x-chat# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    12

    ./configure probs


    hello, i'm trying to install x-chat, but when i typed ./configure, i got this:

    debian:/usr/local/src/x-chat# ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for egrep... grep -E
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... no
    checking for xlf... no
    checking for frt... no
    checking for pgf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for f90... no
    checking for xlf90... no
    checking for pgf90... no
    checking for epcf90... no
    checking for f95... no
    checking for fort... no
    checking for xlf95... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for gfortran... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether accepts -g... no
    checking the maximum length of command line arguments... 32768
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc static flag works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    appending configuration tag "F77" to libtool
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking whether we are using the GNU C Library 2 or newer... yes
    checking for ranlib... (cached) ranlib
    checking for library containing strerror... none required
    checking for an ANSI C-conforming const... yes
    checking for signed... yes
    checking for inline... inline
    checking for off_t... yes
    checking for size_t... yes
    checking for long long... yes
    checking for long double... yes
    checking for wchar_t... yes
    checking for wint_t... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for intmax_t... yes
    checking whether printf() supports POSIX/XSI format strings... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking whether we are using the GNU C Library 2.1 or newer... yes
    checking whether integer division by zero raises SIGFPE... yes
    checking for unsigned long long... yes
    checking for inttypes.h... yes
    checking whether the inttypes.h PRIxNN macros are broken... no
    checking for stdint.h... (cached) yes
    checking for SIZE_MAX... yes
    checking for stdint.h... (cached) yes
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for ptrdiff_t... yes
    checking argz.h usability... yes
    checking argz.h presence... yes
    checking for argz.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking nl_types.h usability... yes
    checking nl_types.h presence... yes
    checking for nl_types.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking stddef.h usability... yes
    checking stddef.h presence... yes
    checking for stddef.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for asprintf... yes
    checking for fwprintf... yes
    checking for getcwd... yes
    checking for getegid... yes
    checking for geteuid... yes
    checking for getgid... yes
    checking for getuid... yes
    checking for mempcpy... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for snprintf... yes
    checking for stpcpy... yes
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for tsearch... yes
    checking for wcslen... yes
    checking for __argz_count... yes
    checking for __argz_stringify... yes
    checking for __argz_next... yes
    checking for __fsetlocking... yes
    checking whether _snprintf is declared... no
    checking whether _snwprintf is declared... no
    checking whether feof_unlocked is declared... yes
    checking whether fgets_unlocked is declared... no
    checking whether getc_unlocked is declared... yes
    checking for iconv... yes
    checking for iconv declaration...
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, ch ar * *outbuf, size_t *outbytesleft);
    checking for nl_langinfo and CODESET... yes
    checking for LC_MESSAGES... yes
    checking for bison... bison
    checking version of bison... 1.875, ok
    checking for CFPreferencesCopyAppValue... (cached) no
    checking for CFLocaleCopyCurrent... (cached) no
    checking whether NLS is requested... yes
    checking whether included gettext is requested... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for sed... /bin/sed
    checking for uname... /bin/uname
    checking system type... Linux
    checking for pkg-config... /usr/bin/pkg-config
    checking for GLIB - version >= 2.0.3... no
    *** Could not run GLIB test program, checking why...
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occured. This usually means GLIB is incorrectly installed.
    configure: error: "Cannot find glib"
    debian:/usr/local/src/x-chat# make
    make: *** No targets specified and no makefile found. Stop.
    debian:/usr/local/src/x-chat# make
    make: *** No targets specified and no makefile found. Stop.

    whats wrong? is it glib? how do i fix this?

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    According to that output, you are missing glib. What distro are you using? It would be much easier to use your package manager.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Just Joined!
    Join Date
    Mar 2006
    Posts
    12
    ok, i installed glib, after i ran ./configure

    i typed make and this is what i got:


    dest=/usr/local/share/locale/locale.alias; \
    sed -f ref-add.sed $orig > $temp; \
    /usr/bin/install -c -m 644 $temp $dest; \
    rm -f $temp; \
    else \
    : ; \
    fi
    if test "xchat" = "gettext-tools"; then \
    /bin/sh .././mkinstalldirs /usr/local/share/gettext/intl; \
    /usr/bin/install -c -m 644 VERSION /usr/local/share/gettext/intl/VERSION; \
    /usr/bin/install -c -m 644 ChangeLog.inst /usr/local/share/gettext/intl/ChangeLog; \
    dists="COPYING.LIB-2.0 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gmo.h gettextP.h hash-string.h loadinfo.h plural-exp.h eval-plural.h localcharset.h relocatable.h xsize.h printf-args.h printf-args.c printf-parse.h wprintf-parse.h printf-parse.c vasnprintf.h vasnwprintf.h vasnprintf.c os2compat.h libgnuintl.h.in bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y plural-exp.c localcharset.c relocatable.c langprefs.c localename.c log.c printf.c osdep.c os2compat.c intl-compat.c"; \
    for file in $dists; do \
    /usr/bin/install -c -m 644 ./$file \
    /usr/local/share/gettext/intl/$file; \
    done; \
    chmod a+x /usr/local/share/gettext/intl/config.charset; \
    dists="plural.c"; \
    for file in $dists; do \
    if test -f $file; then dir=.; else dir=.; fi; \
    /usr/bin/install -c -m 644 $dir/$file \
    /usr/local/share/gettext/intl/$file; \
    done; \
    dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h"; \
    for file in $dists; do \
    rm -f /usr/local/share/gettext/intl/$file; \
    done; \
    else \
    : ; \
    fi
    make[1]: Leaving directory `/usr/local/src/x-chat/intl'
    Making install in src
    make[1]: Entering directory `/usr/local/src/x-chat/src'
    Making install in pixmaps
    make[2]: Entering directory `/usr/local/src/x-chat/src/pixmaps'
    make[3]: Entering directory `/usr/local/src/x-chat/src/pixmaps'
    make[3]: Nothing to be done for `install-exec-am'.
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/usr/local/src/x-chat/src/pixmaps'
    make[2]: Leaving directory `/usr/local/src/x-chat/src/pixmaps'
    Making install in common
    make[2]: Entering directory `/usr/local/src/x-chat/src/common'
    make[3]: Entering directory `/usr/local/src/x-chat/src/common'
    make[3]: Nothing to be done for `install-exec-am'.
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/usr/local/src/x-chat/src/common'
    make[2]: Leaving directory `/usr/local/src/x-chat/src/common'
    make[2]: Entering directory `/usr/local/src/x-chat/src'
    make[3]: Entering directory `/usr/local/src/x-chat/src'
    make[3]: Nothing to be done for `install-exec-am'.
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/usr/local/src/x-chat/src'
    make[2]: Leaving directory `/usr/local/src/x-chat/src'
    make[1]: Leaving directory `/usr/local/src/x-chat/src'
    Making install in plugins
    make[1]: Entering directory `/usr/local/src/x-chat/plugins'
    Making install in .
    make[2]: Entering directory `/usr/local/src/x-chat/plugins'
    make[3]: Entering directory `/usr/local/src/x-chat/plugins'
    make[3]: Nothing to be done for `install-exec-am'.
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/usr/local/src/x-chat/plugins'
    make[2]: Leaving directory `/usr/local/src/x-chat/plugins'
    Making install in perl
    make[2]: Entering directory `/usr/local/src/x-chat/plugins/perl'
    make install-am
    make[3]: Entering directory `/usr/local/src/x-chat/plugins/perl'
    /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -Wall -pipe -funsigned-char -o perl.la -rpath /usr/local/lib/xchat/plugins -avoid-version -module perl.lo -Wl,-E -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -ldl -lm -lpthread -lcrypt -ldl -Wl,--export-dynamic -ldl -lglib-2.0

    *** Warning: Linking the shared library perl.la against the
    *** static library /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a is not portable!
    gcc -shared .libs/perl.o -L/usr/local/lib /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8/CORE -lperl -lm -lpthread -lcrypt -ldl /usr/lib/libglib-2.0.so -Wl,-E -Wl,--export-dynamic -Wl,-soname -Wl,perl.so -o .libs/perl.so
    /usr/bin/ld: cannot find -lperl
    collect2: ld returned 1 exit status
    make[3]: *** [perl.la] Error 1
    make[3]: Leaving directory `/usr/local/src/x-chat/plugins/perl'
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/usr/local/src/x-chat/plugins/perl'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/x-chat/plugins'
    make: *** [install-recursive] Error 1
    debian:/usr/local/src/x-chat# pray
    bash: pray: command not found
    debian:/usr/local/src/x-chat#



    why isn't this working? i don't understand i've done everything the tutorial said to do

    sorry i couldn't get it all in, it was too much text

  4. #4
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Looks like from your output that you are using Debian. In that case, as root, try:
    Code:
    apt-get install xchat
    This will be so much easier than installing from source. I would recommend reading this: http://os.newsforge.com/os/04/12/02/1710208.shtml

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •