Configure keeps failing

Help
hsking
2009-03-06
2013-04-24
  • hsking

    hsking - 2009-03-06

    Hello,

    I've installed every package that even comes close to having names like those required, but this is always the output of "./configure"

    root@DavesLinuxDell:/home/hsking/Desktop/wired-0.5/wired# ./configure
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    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 ISO C89... none needed
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/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 recognize dependent libraries... pass_all
    checking how to run the C preprocessor... gcc -E
    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++... no
    checking for c++... no
    checking for gpp... gpp
    checking whether we are using the GNU C++ compiler... no
    checking whether gpp accepts -g... no
    checking how to run the C++ preprocessor... /lib/cpp
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... no
    checking for g95... no
    checking for xlf95... no
    checking for f95... no
    checking for fort... no
    checking for ifort... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for ftn... 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... 98304
    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 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 static flag -static 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 whether the gpp linker (/usr/bin/ld) supports shared libraries... yes
    libtool.m4: error: problem compiling CXX test program
    checking for gpp option to produce PIC...
    checking if gpp static flag  works... yes
    checking if gpp supports -c -o file.o... no
    checking whether the gpp linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    (cached) (cached) checking how to hardcode library paths into programs... unsupp
    orted
    appending configuration tag "F77" to libtool
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking dependency style of gpp... none
    checking whether we are using the GNU C++ compiler... (cached) no
    checking whether gpp accepts -g... (cached) no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking how to run the C preprocessor... gcc -E
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether make sets $(MAKE)... (cached) yes
    checking whether gcc needs -traditional... no
    checking how to run the C++ preprocessor... /lib/cpp
    checking for pthread_create in -lpthread... no
    configure: error: Couldn't find libpthread
    root@DavesLinuxDell:/home/hsking/Desktop/wired-0.5/wired#

    What is this libpthread (synaptic or even other searches do not help) and how do I get it installed?

    Thanks,

    Dave

     
    • Louis Carrese

      Louis Carrese - 2009-03-06

      Hi there,

      What distribution are you using ?
      Which version of Wired are you trying to compile ?

      libpthread is embedded in the glibc, but you should be very careful when dealing with this, it's a major lib on your system and almost everything depends on it.
      It's just a clue, I'm not absolutely sure, but I think older versions of the glibc does not include the pthread implementation but another one.
      Could you also find the version of the glibc you are using ?

      Furthermore,  you shouldn't run ./configure using the root account but rather a standard user. This could lead to other problems later on.

      See you.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks