Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#114 Complete build options for Pthread API

v1.0_(example)
open
None
5
2013-11-11
2007-04-04
Markus Elfring
No

Would you like to improve your checks for this programming interface with the capabilities from the configuration script "ACX_PTHREAD"?
http://ac-archive.sourceforge.net/ac-archive/acx_pthread.html
http://bogofilter.cvs.sourceforge.net/bogofilter/bogofilter/configure.ac?revision=1.436&view=markup

Discussion

  • Will
    Will
    2007-04-21

    Logged In: YES
    user_id=1729428
    Originator: NO

    Hi,

    I ran ./configure and got the following output in config log.
    Can't find a better place to send this, if you are not the right person
    perhaps you will direct me. Thanks for your time...

    Will
    Will@1200baud.com

    wpainter@wpainter-desktop:~/bogofilter-1.1.5$ ./configure
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    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 for gawk... (cached) mawk
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    wpainter@wpainter-desktop:~/bogofilter-1.1.5$ cat config.log
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by bogofilter configure 1.1.5, which was
    generated by GNU Autoconf 2.61. Invocation command line was

    $ ./configure

    ## --------- ##
    ## Platform. ##
    ## --------- ##

    hostname = wpainter-desktop
    uname -m = x86_64
    uname -r = 2.6.20-15-generic
    uname -s = Linux
    uname -v = #2 SMP Sun Apr 15 06:17:24 UTC 2007

    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown

    /bin/arch = x86_64
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown

    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/bin/X11
    PATH: /usr/games

    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##

    configure:1876: checking build system type
    configure:1894: result: x86_64-unknown-linux-gnu
    configure:1916: checking host system type
    configure:1931: result: x86_64-unknown-linux-gnu
    configure:1953: checking target system type
    configure:1968: result: x86_64-unknown-linux-gnu
    configure:2010: checking for a BSD-compatible install
    configure:2066: result: /usr/bin/install -c
    configure:2077: checking whether build environment is sane
    configure:2120: result: yes
    configure:2185: checking for gawk
    configure:2215: result: no
    configure:2185: checking for mawk
    configure:2201: found /usr/bin/mawk
    configure:2212: result: mawk
    configure:2223: checking whether make sets $(MAKE)
    configure:2244: result: yes
    configure:2435: checking for gawk
    configure:2462: result: mawk
    configure:2527: checking for gcc
    configure:2543: found /usr/bin/gcc
    configure:2554: result: gcc
    configure:2590: checking for C compiler version
    configure:2597: gcc --version >&5
    gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    configure:2600: $? = 0
    configure:2607: gcc -v >&5
    Using built-in specs.
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
    Thread model: posix
    gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
    configure:2610: $? = 0
    configure:2617: gcc -V >&5
    gcc: '-V' option must have argument
    configure:2620: $? = 1
    configure:2643: checking for C compiler default output file name
    configure:2670: gcc conftest.c >&5
    /usr/bin/ld: crt1.o: No such file: No such file or directory
    collect2: ld returned 1 exit status
    configure:2673: $? = 1
    configure:2711: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "bogofilter"
    | #define PACKAGE_TARNAME "bogofilter"
    | #define PACKAGE_VERSION "1.1.5"
    | #define PACKAGE_STRING "bogofilter 1.1.5"
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE "bogofilter"
    | #define VERSION "1.1.5"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2718: error: C compiler cannot create executables
    See `config.log' for more details.

    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##

    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=
    ac_cv_env_CFLAGS_value=
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=
    ac_cv_env_LDFLAGS_value=
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=x86_64-unknown-linux-gnu
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=mawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    ac_cv_target=x86_64-unknown-linux-gnu

    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##

    ACLOCAL='${SHELL} /home/wpainter/bogofilter-1.1.5/missing --run aclocal-1.9'
    AMDEPBACKSLASH=''
    AMDEP_FALSE=''
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/wpainter/bogofilter-1.1.5/missing --run tar'
    AR=''
    AUTOCONF='${SHELL} /home/wpainter/bogofilter-1.1.5/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/wpainter/bogofilter-1.1.5/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/wpainter/bogofilter-1.1.5/missing --run automake-1.9'
    AWK='mawk'
    CC='gcc'
    CCDEPMODE=''
    CFLAGS=''
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DB_EXT=''
    DB_TYPE=''
    DEFAULT_CHARSET=''
    DEFS=''
    DEPDIR=''
    DISABLE_TRANSACTIONS_FALSE=''
    DISABLE_TRANSACTIONS_TRUE=''
    DISABLE_UNICODE_FALSE=''
    DISABLE_UNICODE_TRUE=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ENABLE_MEMDEBUG_FALSE=''
    ENABLE_MEMDEBUG_TRUE=''
    ENABLE_QDBM_DATASTORE_FALSE=''
    ENABLE_QDBM_DATASTORE_TRUE=''
    ENABLE_SQLITE_DATASTORE_FALSE=''
    ENABLE_SQLITE_DATASTORE_TRUE=''
    ENABLE_STATIC_FALSE=''
    ENABLE_STATIC_TRUE=''
    ENABLE_TRANSACTIONS_FALSE=''
    ENABLE_TRANSACTIONS_TRUE=''
    ENABLE_UNICODE_FALSE=''
    ENABLE_UNICODE_TRUE=''
    ENABLE_XMLTO_FALSE=''
    ENABLE_XMLTO_TRUE=''
    ENCODING=''
    EXEEXT=''
    EXE_EXT=''
    GREP=''
    GSL_CFLAGS=''
    GSL_CONFIG=''
    GSL_LIBS=''
    HAVE_EXTENDED_PRECISION_REGISTERS=''
    HAVE_EXTERN_INLINE=''
    HAVE_INLINE=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
    LDFLAGS=''
    LEX=''
    LEXLIB=''
    LEX_OUTPUT_ROOT=''
    LIBDB=''
    LIBICONV=''
    LIBOBJS=''
    LIBQDBM=''
    LIBS=''
    LIBSQLITE3=''
    LTLIBDB=''
    LTLIBICONV=''
    LTLIBOBJS=''
    LTLIBQDBM=''
    LTLIBSQLITE3=''
    MAKEINFO='${SHELL} /home/wpainter/bogofilter-1.1.5/missing --run makeinfo'
    NEEDTRIO_FALSE=''
    NEEDTRIO_TRUE=''
    NEED_GETOPT_FALSE=''
    NEED_GETOPT_TRUE=''
    NEED_GSL_FALSE=''
    NEED_GSL_TRUE=''
    NSGMLS=''
    OBJEXT=''
    PACKAGE='bogofilter'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME='bogofilter'
    PACKAGE_STRING='bogofilter 1.1.5'
    PACKAGE_TARNAME='bogofilter'
    PACKAGE_VERSION='1.1.5'
    PATCH_FLEX_253X_FALSE=''
    PATCH_FLEX_253X_TRUE=''
    PATCH_FLEX_254_FALSE=''
    PATCH_FLEX_254_TRUE=''
    PATH_SEPARATOR=':'
    PERL=''
    RANLIB=''
    RPMBUILD=''
    SET_MAKE=''
    SHELL='/bin/bash'
    STATICLDFLAGS=''
    STATIC_DB=''
    STRIP=''
    USE_GCC4_FALSE=''
    USE_GCC4_TRUE=''
    USE_TRANSACTIONS=''
    USE_UNICODE=''
    VERSION='1.1.5'
    ac_ct_CC='gcc'
    ac_cv_enable_xmlto=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='x86_64-unknown-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='/home/wpainter/bogofilter-1.1.5/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='mkdir -p --'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='NONE'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='x86_64-unknown-linux-gnu'
    target_alias=''
    target_cpu='x86_64'
    target_os='linux-gnu'
    target_vendor='unknown'

    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    #define PACKAGE_NAME "bogofilter"
    #define PACKAGE_TARNAME "bogofilter"
    #define PACKAGE_VERSION "1.1.5"
    #define PACKAGE_STRING "bogofilter 1.1.5"
    #define PACKAGE_BUGREPORT ""
    #define PACKAGE "bogofilter"
    #define VERSION "1.1.5"

     
  • Markus Elfring
    Markus Elfring
    2007-04-21

    Logged In: YES
    user_id=572001
    Originator: YES

    It seems that your error message "crt1.o: No such file: No such file or directory" has got nothing to do with my feature request. This message was subject for discussions in several forums already.

    Is the development package of the C runtime library installed on your system? Is the package "glibc-devel" available there?
    http://www.gnu.org/software/libc/libc.html

     
  • David Relson
    David Relson
    2009-02-22

    • status: open --> closed
     
  • Markus Elfring
    Markus Elfring
    2009-02-22

    • status: closed --> open
     
  • David Relson
    David Relson
    2009-08-04

    Pardon my ignorance, but _why_ have you requested adding ACX_PTHREAD?

     
  • Ticket moved from /p/bogofilter/feature-requests/31/

     
    • assigned_to: Matthias Andree
    • Group: --> v1.0_(example)
     
  • I have moved this to the bugs tracker. What database libraries does this affect?