You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by ios firefox <fi...@gmail.com> on 2009/11/04 12:38:13 UTC

glibc-devel required?

Hi, everyone,
    I am trying to use traffic server, but when I execute the command
"./configure", something happens as follows:
--------------------------------------------------------------
checking for regcomp in -lregex-3.6... no
checking for exc_capture_context in -lexc... no
checking for MLD_demangle_string in -lmld... no
checking for crypt in -lcrypt... no
checking for dlopen in -ldl... no
checking for XML_SetUserData in -lxml... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for res_init in -lresolv... no
checking for __putlong in -lresolv... no
checking for pthread_exit in -lpthread... no
checking for clock_gettime in -lrt... no
checking for clock_gettime in -lposix4... no
checking for gnu_get_libc_version... no
configure: error: check for glibc failed. Have you installed glibc-devel?
--------------------------------------------------------------

    and I found something in the README:
--------------------------------------------------------------
3. REQUIREMENTS
  Fedora 11:
    gcc-c++
    glibc-devel.i586
    db4-devel.i586
    openssl-devel.i586
    tcl-devel.i586
    expat-devel.i586
 --------------------------------------------------------------

    I already have gcc & glibc on my system, and my system is Red Hat
Enterprise Linux AS release 4 (Nahant Update 3)

    Does it mean I must install all the rpm above?

    I am not root user, how can i install traffic server in this situation,
just from source code, without all the rpm?

Re: glibc-devel required?

Posted by ios firefox <fi...@gmail.com>.
Yes, I am sure that the gcc is all right. A log of applications have been
built on this computer.

I don't know much about how configure works, but I see something below:
---------------------------------------------------------------------------------
configure:3103: /usr/bin/gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3109: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
--------------------------------------------------------------------------------
what is this?



2009/11/6 Leif Hedstrom <zw...@apache.org>

> I keep seeing this in your config.log:
>
>
>    /usr/bin/ld: crt1.o: No such file: No such file or directory
>    collect2: ld returned 1 exit status
>
> I don't know how that would happen, but it looks like your installation of
> gcc is either broken, or incomplete. Can you compile any simple programs
> with this compiler?
>
> -- Leif
>

Re: glibc-devel required?

Posted by Leif Hedstrom <zw...@apache.org>.
I keep seeing this in your config.log:

     /usr/bin/ld: crt1.o: No such file: No such file or directory
     collect2: ld returned 1 exit status

I don't know how that would happen, but it looks like your  
installation of gcc is either broken, or incomplete. Can you compile  
any simple programs with this compiler?

-- Leif

Re: glibc-devel required?

Posted by ios firefox <fi...@gmail.com>.
Still waiting for help...

I don't know why glibc 2.3.4-2.19 can not pass the ./configure's check. And
I can not install a newer version, which may affect other users's
application.

Can anyone see my config.log and give some suggestion?

Thank you.

2009/11/5 ios firefox <fi...@gmail.com>

> Thanks for all the reply.
>
> I already have the glibc-xxx as below:
>
> ----------------------------------------------------------------------------------------
> [work@xxx.com traffic]$  rpm -qa | grep glibc
> glibc-common-2.3.4-2.19
>
> glibc-headers-2.3.4-2.19
>
> glibc-2.3.4-2.19
>
> glibc-kernheaders-2.4-9.1.98.EL
>
> glibc-devel-2.3.4-2.19
>
> glibc-2.3.4-2.19
>
>
> ----------------------------------------------------------------------------------------
> The version are a little different from yours, but I think it doesn't
> matter, is it?
>
> But I still met the errors when "./configure" is executed. the config.log
> is listed below, can you give me some suggestion?
>
> I am trying to compare the performance of TS, varnish, squid on the aimed
> computer, and the latter two are already done, so I can not install TS in
> another machine, which will make the compare not fair.
>
> And I can not use root to install rpms, which will affect other user. I can
> only install from the source and use my own PATH.
> Then, what should I do?
>
> ------------------------------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 Traffic Server configure 2.0.0, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
>   $ ./configure
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> hostname = jx-gm-test04.jx.xxx.com
> uname -m = x86_64
> uname -r = 2.6.9-52bs
> uname -s = Linux
> uname -v = #2 SMP Fri Jan 26 13:34:38 CST 2007
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
> /bin/arch              = x86_64
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo               = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> PATH: /usr/kerberos/bin
> PATH: /usr/local/bin
> PATH: /bin
> PATH: /usr/bin
> PATH: /usr/X11R6/bin
> PATH: /usr/share/xxx/bin
> PATH: /home/work/bin
> PATH: /home/work/guoxr/hadoop/jdk/bin
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> configure:1402: checking for a BSD-compatible install
> configure:1457: result: /usr/bin/install -c
> configure:1468: checking whether build environment is sane
> configure:1511: result: yes
> configure:1576: checking for gawk
> configure:1592: found /bin/gawk
> configure:1602: result: gawk
> configure:1612: checking whether make sets $(MAKE)
> configure:1632: result: yes
> configure:1812: checking build system type
> configure:1830: result: x86_64-unknown-linux-gnu
> configure:1838: checking host system type
> configure:1852: result: x86_64-unknown-linux-gnu
> configure:1902: checking whether to enable debugging
> configure:1912: result: no
> configure:1927: checking whether to enable purify
> configure:1937: result: no
> configure:1952: checking whether to enable disk InkAIO
> configure:1962: result: no
> configure:1977: checking whether to enable micro-TS
> configure:1987: result: no
> configure:2067: checking whether to build a standalone iocore
> configure:2077: result: no
> configure:2121: checking whether to commit cov defects to remote host
> configure:2131: result: localhost
> configure:2139: checking whether to enable API and plugin support
> configure:2149: result: yes
> configure:2173: checking whether to enable cli2
> configure:2183: result: yes
> configure:2259: checking for style of include used by make
> configure:2287: result: GNU
> configure:2358: checking for gcc
> configure:2384: result: /usr/bin/gcc
> configure:2628: checking for C compiler version
> configure:2631: /usr/bin/gcc --version </dev/null >&5
> gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
> Copyright (C) 2004 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:2634: $? = 0
> configure:2636: /usr/bin/gcc -v </dev/null >&5
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk
> --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
> configure:2639: $? = 0
> configure:2641: /usr/bin/gcc -V </dev/null >&5
> gcc: `-V' option must have argument
> configure:2644: $? = 1
> configure:2667: checking for C compiler default output file name
> configure:2670: /usr/bin/gcc    conftest.c  >&5
> configure:2673: $? = 0
> configure:2719: result: a.out
> configure:2724: checking whether the C compiler works
> configure:2730: ./a.out
> configure:2733: $? = 0
> configure:2750: result: yes
> configure:2757: checking whether we are cross compiling
> configure:2759: result: no
> configure:2762: checking for suffix of executables
> configure:2764: /usr/bin/gcc -o conftest    conftest.c  >&5
> configure:2767: $? = 0
> configure:2792: result:
> configure:2798: checking for suffix of object files
> configure:2819: /usr/bin/gcc -c   conftest.c >&5
> configure:2822: $? = 0
> configure:2844: result: o
> configure:2848: checking whether we are using the GNU C compiler
> configure:2872: /usr/bin/gcc -c   conftest.c >&5
> configure:2878: $? = 0
> configure:2882: test -z
>     || test ! -s conftest.err
> configure:2885: $? = 0
> configure:2888: test -s conftest.o
> configure:2891: $? = 0
> configure:2904: result: yes
> configure:2910: checking whether /usr/bin/gcc accepts -g
> configure:2931: /usr/bin/gcc -c -g  conftest.c >&5
> configure:2937: $? = 0
> configure:2941: test -z
>     || test ! -s conftest.err
> configure:2944: $? = 0
> configure:2947: test -s conftest.o
> configure:2950: $? = 0
> configure:2961: result: yes
> configure:2978: checking for /usr/bin/gcc option to accept ANSI C
> configure:3048: /usr/bin/gcc  -c -g -O2  conftest.c >&5
> configure:3054: $? = 0
> configure:3058: test -z
>     || test ! -s conftest.err
> configure:3061: $? = 0
> configure:3064: test -s conftest.o
> configure:3067: $? = 0
> configure:3085: result: none needed
> configure:3103: /usr/bin/gcc -c -g -O2  conftest.c >&5
> conftest.c:2: error: syntax error before "me"
> configure:3109: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> |   choke me
> | #endif
> configure:3244: checking dependency style of /usr/bin/gcc
> configure:3334: result: gcc3
> configure:3362: checking for gawk
> configure:3388: result: gawk
> configure:3398: checking whether ln -s works
> configure:3402: result: yes
> configure:3450: checking for ranlib
> configure:3466: found /usr/bin/ranlib
> configure:3477: result: ranlib
> configure:3502: checking for a BSD-compatible install
> configure:3557: result: /usr/bin/install -c
> configure:3571: checking for doxygen
> configure:3589: found /usr/bin/doxygen
> configure:3601: result: /usr/bin/doxygen
> configure:3610: checking for perl
> configure:3628: found /usr/bin/perl
> configure:3641: result: /usr/bin/perl
> configure:3660: checking for tclsh
> configure:3678: found /usr/bin/tclsh
> configure:3690: result: /usr/bin/tclsh
> configure:3700: checking for ccache
> configure:3729: result: no
> configure:3827: checking for gcc
> configure:3853: result: /usr/bin/gcc
> configure:4097: checking for C compiler version
> configure:4100: /usr/bin/gcc --version </dev/null >&5
> gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
> Copyright (C) 2004 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:4103: $? = 0
> configure:4105: /usr/bin/gcc -v </dev/null >&5
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk
> --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
> configure:4108: $? = 0
> configure:4110: /usr/bin/gcc -V </dev/null >&5
> gcc: `-V' option must have argument
> configure:4113: $? = 1
> configure:4116: checking whether we are using the GNU C compiler
> configure:4172: result: yes
> configure:4178: checking whether /usr/bin/gcc accepts -g
> configure:4229: result: yes
> configure:4246: checking for /usr/bin/gcc option to accept ANSI C
> configure:4353: result: none needed
> configure:4371: /usr/bin/gcc -c -g -m32 -Wall -Werror -Wno-char-subscripts
> -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
> -g -O2 -march=pentium  conftest.c >&5
> conftest.c:2: error: syntax error before "me"
> configure:4377: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> |   choke me
> | #endif
> configure:4512: checking dependency style of /usr/bin/gcc
> configure:4602: result: gcc3
> configure:4713: checking for C++ compiler version
> configure:4716: /usr/bin/g++ --version </dev/null >&5
> g++ (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
> Copyright (C) 2004 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:4719: $? = 0
> configure:4721: /usr/bin/g++ -v </dev/null >&5
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk
> --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
> configure:4724: $? = 0
> configure:4726: /usr/bin/g++ -V </dev/null >&5
> g++: `-V' option must have argument
> configure:4729: $? = 1
> configure:4732: checking whether we are using the GNU C++ compiler
> configure:4756: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
> -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
> -Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
> configure:4762: $? = 0
> configure:4766: test -z
>     || test ! -s conftest.err
> configure:4769: $? = 0
> configure:4772: test -s conftest.o
> configure:4775: $? = 0
> configure:4788: result: yes
> configure:4794: checking whether /usr/bin/g++ accepts -g
> configure:4815: /usr/bin/g++ -c -g  conftest.cc >&5
> configure:4821: $? = 0
> configure:4825: test -z
>     || test ! -s conftest.err
> configure:4828: $? = 0
> configure:4831: test -s conftest.o
> configure:4834: $? = 0
> configure:4845: result: yes
> configure:4887: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
> -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
> -Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
> configure:4893: $? = 0
> configure:4897: test -z
>     || test ! -s conftest.err
> configure:4900: $? = 0
> configure:4903: test -s conftest.o
> configure:4906: $? = 0
> configure:4932: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
> -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
> -Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
> conftest.cc: In function `int main()':
> conftest.cc:22: error: `exit' was not declared in this scope
> conftest.cc:22: warning: unused variable 'exit'
> configure:4938: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> | exit (42);
> |   ;
> |   return 0;
> | }
> configure:4887: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
> -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
> -Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
> configure:4893: $? = 0
> configure:4897: test -z
>     || test ! -s conftest.err
> configure:4900: $? = 0
> configure:4903: test -s conftest.o
> configure:4906: $? = 0
> configure:4932: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
> -Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
> -Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
> configure:4938: $? = 0
> configure:4942: test -z
>     || test ! -s conftest.err
> configure:4945: $? = 0
> configure:4948: test -s conftest.o
> configure:4951: $? = 0
> configure:4976: checking dependency style of /usr/bin/g++
> configure:5066: result: gcc3
> configure:5091: checking how to run the C preprocessor
> configure:5126:  /usr/bin/gcc -E  conftest.c
> configure:5132: $? = 0
> configure:5164:  /usr/bin/gcc -E  conftest.c
> conftest.c:21:28: ac_nonexistent.h: No such file or directory
> configure:5170: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:5209: result:  /usr/bin/gcc -E
> configure:5233:  /usr/bin/gcc -E  conftest.c
> configure:5239: $? = 0
> configure:5271:  /usr/bin/gcc -E  conftest.c
> conftest.c:21:28: ac_nonexistent.h: No such file or directory
> configure:5277: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:5325: checking how to run the C++ preprocessor
> configure:5356:  /usr/bin/g++ -E  conftest.cc
> configure:5362: $? = 0
> configure:5394:  /usr/bin/g++ -E  conftest.cc
> conftest.cc:21:28: ac_nonexistent.h: No such file or directory
> configure:5400: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:5439: result:  /usr/bin/g++ -E
> configure:5463:  /usr/bin/g++ -E  conftest.cc
> configure:5469: $? = 0
> configure:5501:  /usr/bin/g++ -E  conftest.cc
> conftest.cc:21:28: ac_nonexistent.h: No such file or directory
> configure:5507: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> | #include <ac_nonexistent.h>
> configure:5555: checking for sin in -lm
> configure:5585:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lm   >&5
> conftest.c:28: warning: conflicting types for built-in function 'sin'
> configure:5591: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char sin ();
> | int
> | main ()
> | {
> | sin ();
> |   ;
> |   return 0;
> | }
> configure:5617: result: no
> configure:5624: checking for regcomp in -lregex-3.6
> configure:5654:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lregex-3.6   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:5660: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char regcomp ();
> | int
> | main ()
> | {
> | regcomp ();
> |   ;
> |   return 0;
> | }
> configure:5686: result: no
> configure:5693: checking for exc_capture_context in -lexc
> configure:5723:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lexc   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:5729: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char exc_capture_context ();
> | int
> | main ()
> | {
> | exc_capture_context ();
> |   ;
> |   return 0;
> | }
> configure:5755: result: no
> configure:5762: checking for MLD_demangle_string in -lmld
> configure:5792:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lmld   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:5798: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char MLD_demangle_string ();
> | int
> | main ()
> | {
> | MLD_demangle_string ();
> |   ;
> |   return 0;
> | }
> configure:5824: result: no
> configure:5831: checking for crypt in -lcrypt
> configure:5861:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lcrypt   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:5867: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char crypt ();
> | int
> | main ()
> | {
> | crypt ();
> |   ;
> |   return 0;
> | }
> configure:5893: result: no
> configure:5900: checking for dlopen in -ldl
> configure:5930:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -ldl   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:5936: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char dlopen ();
> | int
> | main ()
> | {
> | dlopen ();
> |   ;
> |   return 0;
> | }
> configure:5962: result: no
> configure:5969: checking for XML_SetUserData in -lxml
> configure:5999:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lxml   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6005: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char XML_SetUserData ();
> | int
> | main ()
> | {
> | XML_SetUserData ();
> |   ;
> |   return 0;
> | }
> configure:6031: result: no
> configure:6038: checking for socket in -lsocket
> configure:6068:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lsocket   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6074: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char socket ();
> | int
> | main ()
> | {
> | socket ();
> |   ;
> |   return 0;
> | }
> configure:6100: result: no
> configure:6107: checking for gethostbyname in -lnsl
> configure:6137:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lnsl   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6143: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char gethostbyname ();
> | int
> | main ()
> | {
> | gethostbyname ();
> |   ;
> |   return 0;
> | }
> configure:6169: result: no
> configure:6176: checking for res_init in -lresolv
> configure:6206:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lresolv   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6212: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char res_init ();
> | int
> | main ()
> | {
> | res_init ();
> |   ;
> |   return 0;
> | }
> configure:6238: result: no
> configure:6245: checking for __putlong in -lresolv
> configure:6275:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lresolv   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6281: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char __putlong ();
> | int
> | main ()
> | {
> | __putlong ();
> |   ;
> |   return 0;
> | }
> configure:6307: result: no
> configure:6314: checking for pthread_exit in -lpthread
> configure:6344:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lpthread   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6350: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char pthread_exit ();
> | int
> | main ()
> | {
> | pthread_exit ();
> |   ;
> |   return 0;
> | }
> configure:6376: result: no
> configure:6383: checking for clock_gettime in -lrt
> configure:6413:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lrt   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6419: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char clock_gettime ();
> | int
> | main ()
> | {
> | clock_gettime ();
> |   ;
> |   return 0;
> | }
> configure:6445: result: no
> configure:6452: checking for clock_gettime in -lposix4
> configure:6482:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lposix4   >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6488: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char clock_gettime ();
> | int
> | main ()
> | {
> | clock_gettime ();
> |   ;
> |   return 0;
> | }
> configure:6514: result: no
> configure:6522: checking for gnu_get_libc_version
> configure:6579:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
> -Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
> -fno-strict-aliasing -g -O2 -march=pentium   conftest.c  >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:6585: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "Traffic Server"
> | #define PACKAGE_TARNAME "trafficserver"
> | #define PACKAGE_VERSION "2.0.0"
> | #define PACKAGE_STRING "Traffic Server 2.0.0"
> | #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> | #define PACKAGE "trafficserver"
> | #define VERSION "2.0.0"
> | #define HOST_OS linux
> | #define BUILD_PERSON "work"
> | #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> | #define MODULARIZED 1
> | #define _FILE_OFFSET_BITS 64
> | #define _GNU_SOURCE 1
> | #define _REENTRANT 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | /* end confdefs.h.  */
> | /* Define gnu_get_libc_version to an innocuous variant, in case
> <limits.h> declares gnu_get_libc_version.
> |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
> | #define gnu_get_libc_version innocuous_gnu_get_libc_version
> |
> | /* System header to define __stub macros and hopefully few prototypes,
> |     which can conflict with char gnu_get_libc_version (); below.
> |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
> |     <limits.h> exists even on freestanding compilers.  */
> |
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> |
> | #undef gnu_get_libc_version
> |
> | /* Override any gcc2 internal prototype to avoid an error.  */
> | #ifdef __cplusplus
> | extern "C"
> | {
> | #endif
> | /* We use char because int might match the return type of a gcc2
> |    builtin and then its argument prototype would still apply.  */
> | char gnu_get_libc_version ();
> | /* The GNU C library defines this for functions which it implements
> |     to always fail with ENOSYS.  Some functions are actually named
> |     something starting with __ and the normal name is an alias.  */
> | #if defined (__stub_gnu_get_libc_version) || defined
> (__stub___gnu_get_libc_version)
> | choke me
> | #else
> | char (*f) () = gnu_get_libc_version;
> | #endif
> | #ifdef __cplusplus
> | }
> | #endif
> |
> | int
> | main ()
> | {
> | return f != gnu_get_libc_version;
> |   ;
> |   return 0;
> | }
> configure:6610: result: no
> configure:6616: error: check for glibc failed. Have you installed
> glibc-devel?
> See `config.log' for more details.
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
> ac_cv_build=x86_64-unknown-linux-gnu
> ac_cv_build_alias=x86_64-unknown-linux-gnu
> ac_cv_c_compiler_gnu=yes
> ac_cv_cxx_compiler_gnu=yes
> ac_cv_env_CCASFLAGS_set=
> ac_cv_env_CCASFLAGS_value=
> ac_cv_env_CCAS_set=
> ac_cv_env_CCAS_value=
> 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_CXXCPP_set=
> ac_cv_env_CXXCPP_value=
> ac_cv_env_CXXFLAGS_set=
> ac_cv_env_CXXFLAGS_value=
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_DOXYGEN_set=
> ac_cv_env_DOXYGEN_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_PERL_set=
> ac_cv_env_PERL_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_exeext=
> ac_cv_func_gnu_get_libc_version=no
> ac_cv_host=x86_64-unknown-linux-gnu
> ac_cv_host_alias=x86_64-unknown-linux-gnu
> ac_cv_lib_crypt_crypt=no
> ac_cv_lib_dl_dlopen=no
> ac_cv_lib_exc_exc_capture_context=no
> ac_cv_lib_m_sin=no
> ac_cv_lib_mld_MLD_demangle_string=no
> ac_cv_lib_nsl_gethostbyname=no
> ac_cv_lib_posix4_clock_gettime=no
> ac_cv_lib_pthread_pthread_exit=no
> ac_cv_lib_regex_3_6_regcomp=no
> ac_cv_lib_resolv___putlong=no
> ac_cv_lib_resolv_res_init=no
> ac_cv_lib_rt_clock_gettime=no
> ac_cv_lib_socket_socket=no
> ac_cv_lib_xml_XML_SetUserData=no
> ac_cv_objext=o
> ac_cv_path_DOXYGEN=/usr/bin/doxygen
> ac_cv_path_PERL=/usr/bin/perl
> ac_cv_path_TCLSH=/usr/bin/tclsh
> ac_cv_path_install='/usr/bin/install -c'
> ac_cv_prog_AWK=gawk
> ac_cv_prog_CPP=' /usr/bin/gcc -E'
> ac_cv_prog_CXXCPP=' /usr/bin/g++ -E'
> ac_cv_prog_ac_ct_CC=/usr/bin/gcc
> ac_cv_prog_ac_ct_RANLIB=ranlib
> ac_cv_prog_cc_g=yes
> ac_cv_prog_cc_stdc=
> ac_cv_prog_cxx_g=yes
> ac_cv_prog_make_make_set=yes
> am_cv_CC_dependencies_compiler_type=gcc3
> am_cv_CXX_dependencies_compiler_type=gcc3
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
> ACLOCAL='${SHELL}
> /home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
> aclocal-1.9'
> AMDEPBACKSLASH='\'
> AMDEP_FALSE='#'
> AMDEP_TRUE=''
> AMTAR='${SHELL}
> /home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run tar'
> API_DEFS=''
> AUTOCONF='${SHELL}
> /home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
> autoconf'
> AUTOHEADER='${SHELL}
> /home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
> autoheader'
> AUTOMAKE='${SHELL}
> /home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
> automake-1.9'
> AWK='gawk'
> CC=' /usr/bin/gcc'
> CCACHE=''
> CCAS='/usr/bin/gcc'
> CCASFLAGS='-g -O2'
> CCDEPMODE='depmode=gcc3'
> CFLAGS='-g -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3
> -feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium'
> CLI_DIR='cli2'
> CPP=' /usr/bin/gcc -E'
> CPPFLAGS=''
> CXX=' /usr/bin/g++'
> CXXCPP=' /usr/bin/g++ -E'
> CXXDEPMODE='depmode=gcc3'
> CXXFLAGS='-g -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3
> -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof
> -march=pentium'
> CYGPATH_W='echo'
> DEFS=''
> DEPDIR='.deps'
> DOXYGEN='/usr/bin/doxygen'
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> EXPAT_LDFLAGS=''
> EXTRA_CC_LDFLAGS=''
> EXTRA_CXX_LDFLAGS='-rdynamic'
> INSTALL_DATA='${INSTALL} -m 644'
> INSTALL_PROGRAM='${INSTALL}'
> INSTALL_SCRIPT='${INSTALL}'
> INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
> IOCORE_MODULARIZED_DEFS='-DFIXME_NONMODULAR -DSPLIT_DNS -DNON_MODULAR
> -DHTTP_CACHE'
> LDFLAGS=''
> LIBCRYPT=''
> LIBDB=''
> LIBDEMANGLE=''
> LIBDL=''
> LIBEXC=''
> LIBEXPAT=''
> LIBM=''
> LIBMLD=''
> LIBNSL=''
> LIBOBJS=''
> LIBREGEX=''
> LIBRESOLV=''
> LIBRT=''
> LIBS=''
> LIBSOCKET=''
> LIBSSL=''
> LIBTCL=''
> LIBTHREAD=''
> LIBXML=''
> LN_S='ln -s'
> LTLIBOBJS=''
> MAKEINFO='${SHELL}
> /home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
> makeinfo'
> MGMT_DEFS=''
> OBJEXT='o'
> PACKAGE='trafficserver'
> PACKAGE_BUGREPORT='trafficserver-dev@incubator.apache.org'<PACKAGE_BUGREPORT=%27trafficserver-dev@incubator.apache.org%27>
> PACKAGE_NAME='Traffic Server'
> PACKAGE_STRING='Traffic Server 2.0.0'
> PACKAGE_TARNAME='trafficserver'
> PACKAGE_VERSION='2.0.0'
> PATH_SEPARATOR=':'
> PERL='/usr/bin/perl'
> RANLIB='ranlib'
> SET_MAKE=''
> SHARED_CFLAGS='-fPIC'
> SHARED_CXXFLAGS='-fPIC'
> SHARED_CXXLINKFLAGS='-shared'
> SHARED_LDFLAGS='-shared'
> SHELL='/bin/sh'
> STANDALONE_IOCORE_FALSE=''
> STANDALONE_IOCORE_TRUE='#'
> STRIP=''
> TCLSH='/usr/bin/tclsh'
> TFW_PACKAGE_SUFFIX=''
> VERSION='2.0.0'
> ac_ct_CC='/usr/bin/gcc'
> ac_ct_CXX=''
> ac_ct_RANLIB='ranlib'
> ac_ct_STRIP=''
> am__fastdepCC_FALSE='#'
> am__fastdepCC_TRUE=''
> am__fastdepCXX_FALSE='#'
> am__fastdepCXX_TRUE=''
> am__include='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='${prefix}/share'
> enable_remote_cov_commit='localhost'
> exec_prefix='NONE'
> host='x86_64-unknown-linux-gnu'
> host_alias=''
> host_cpu='x86_64'
> host_os='linux-gnu'
> host_vendor='unknown'
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> ink_with_modules_def='-DREC_BUILD_MGMT2'
> ink_with_modules_local='-DLOCAL_MANAGER'
> ink_with_modules_process='-DPROCESS_MANAGER'
>
> install_sh='/home/work/duchuanying/vcache/traffic/traffic/build-aux/install-sh'
> iocore_include_dirs=''
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> logdir='${prefix}/var/log'
> mandir='${prefix}/man'
> mkdir_p='mkdir -p --'
> oldincludedir='/usr/include'
> pkglibexecdir='${exec_prefix}/libexec/trafficserver'
> pkglocalstatedir='${prefix}/var/trafficserver'
> pkglogdir='${prefix}/var/log/trafficserver'
> pkgsysconfdir='${prefix}/etc/trafficserver'
> prefix='NONE'
> program_transform_name='s,x,x,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target_alias=''
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
> #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
> #define BUILD_PERSON "work"
> #define HOST_OS linux
> #define MODULARIZED 1
> #define PACKAGE "trafficserver"
> #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
> #define PACKAGE_NAME "Traffic Server"
> #define PACKAGE_STRING "Traffic Server 2.0.0"
> #define PACKAGE_TARNAME "trafficserver"
> #define PACKAGE_VERSION "2.0.0"
> #define VERSION "2.0.0"
> #define _FILE_OFFSET_BITS 64
> #define _GNU_SOURCE 1
> #define _REENTRANT 1
> #endif
> #ifdef __cplusplus
> extern "C" void std::exit (int) throw (); using std::exit;
> configure: exit 1
>
>
> ----------------------------------------------------------------------------------------
> 2009/11/5 Bryan Call <bc...@yahoo-inc.com>
>
> You will have to install the equivalent packages that are in RHEL4.  Our
>> main production build environment is RHEL4, so after installing the required
>> packages it should compile without problems.
>>
>> On my RHEL4 32bit server, these are the glibc packages I have installed:
>>
>> [yts_dev bcall@armybright ~]$ rpm -qa | grep glibc
>> glibc-common-2.3.4-2.41
>> glibc-headers-2.3.4-2.41
>> glibc-2.3.4-2.41
>> glibc-kernheaders-2.4-9.1.103.EL
>> glibc-devel-2.3.4-2.41
>>
>> [yts_dev bcall@armybright ~]$ cat /etc/redhat-release
>> Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
>>
>> -Bryan
>>
>>
>> On Nov 4, 2009, at 3:38 AM, ios firefox wrote:
>>
>> Hi, everyone,
>>>    I am trying to use traffic server, but when I execute the command
>>> "./configure", something happens as follows:
>>> --------------------------------------------------------------
>>> checking for regcomp in -lregex-3.6... no
>>> checking for exc_capture_context in -lexc... no
>>> checking for MLD_demangle_string in -lmld... no
>>> checking for crypt in -lcrypt... no
>>> checking for dlopen in -ldl... no
>>> checking for XML_SetUserData in -lxml... no
>>> checking for socket in -lsocket... no
>>> checking for gethostbyname in -lnsl... no
>>> checking for res_init in -lresolv... no
>>> checking for __putlong in -lresolv... no
>>> checking for pthread_exit in -lpthread... no
>>> checking for clock_gettime in -lrt... no
>>> checking for clock_gettime in -lposix4... no
>>> checking for gnu_get_libc_version... no
>>> configure: error: check for glibc failed. Have you installed glibc-devel?
>>> --------------------------------------------------------------
>>>
>>>    and I found something in the README:
>>> --------------------------------------------------------------
>>> 3. REQUIREMENTS
>>>  Fedora 11:
>>>    gcc-c++
>>>    glibc-devel.i586
>>>    db4-devel.i586
>>>    openssl-devel.i586
>>>    tcl-devel.i586
>>>    expat-devel.i586
>>> --------------------------------------------------------------
>>>
>>>    I already have gcc & glibc on my system, and my system is Red Hat
>>> Enterprise Linux AS release 4 (Nahant Update 3)
>>>
>>>    Does it mean I must install all the rpm above?
>>>
>>>    I am not root user, how can i install traffic server in this
>>> situation, just from source code, without all the rpm?
>>>
>>
>>
>>
>

Re: glibc-devel required?

Posted by ios firefox <fi...@gmail.com>.
Thanks for all the reply.

I already have the glibc-xxx as below:
----------------------------------------------------------------------------------------
[work@xxx.com traffic]$  rpm -qa | grep glibc
glibc-common-2.3.4-2.19

glibc-headers-2.3.4-2.19

glibc-2.3.4-2.19

glibc-kernheaders-2.4-9.1.98.EL

glibc-devel-2.3.4-2.19

glibc-2.3.4-2.19

----------------------------------------------------------------------------------------
The version are a little different from yours, but I think it doesn't
matter, is it?

But I still met the errors when "./configure" is executed. the config.log is
listed below, can you give me some suggestion?

I am trying to compare the performance of TS, varnish, squid on the aimed
computer, and the latter two are already done, so I can not install TS in
another machine, which will make the compare not fair.

And I can not use root to install rpms, which will affect other user. I can
only install from the source and use my own PATH.
Then, what should I do?
------------------------------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 Traffic Server configure 2.0.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was
  $ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = jx-gm-test04.jx.xxx.com
uname -m = x86_64
uname -r = 2.6.9-52bs
uname -s = Linux
uname -v = #2 SMP Fri Jan 26 13:34:38 CST 2007
/usr/bin/uname -p = unknown
/bin/uname -X     = unknown
/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/share/xxx/bin
PATH: /home/work/bin
PATH: /home/work/guoxr/hadoop/jdk/bin

## ----------- ##
## Core tests. ##
## ----------- ##
configure:1402: checking for a BSD-compatible install
configure:1457: result: /usr/bin/install -c
configure:1468: checking whether build environment is sane
configure:1511: result: yes
configure:1576: checking for gawk
configure:1592: found /bin/gawk
configure:1602: result: gawk
configure:1612: checking whether make sets $(MAKE)
configure:1632: result: yes
configure:1812: checking build system type
configure:1830: result: x86_64-unknown-linux-gnu
configure:1838: checking host system type
configure:1852: result: x86_64-unknown-linux-gnu
configure:1902: checking whether to enable debugging
configure:1912: result: no
configure:1927: checking whether to enable purify
configure:1937: result: no
configure:1952: checking whether to enable disk InkAIO
configure:1962: result: no
configure:1977: checking whether to enable micro-TS
configure:1987: result: no
configure:2067: checking whether to build a standalone iocore
configure:2077: result: no
configure:2121: checking whether to commit cov defects to remote host
configure:2131: result: localhost
configure:2139: checking whether to enable API and plugin support
configure:2149: result: yes
configure:2173: checking whether to enable cli2
configure:2183: result: yes
configure:2259: checking for style of include used by make
configure:2287: result: GNU
configure:2358: checking for gcc
configure:2384: result: /usr/bin/gcc
configure:2628: checking for C compiler version
configure:2631: /usr/bin/gcc --version </dev/null >&5
gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
Copyright (C) 2004 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:2634: $? = 0
configure:2636: /usr/bin/gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
configure:2639: $? = 0
configure:2641: /usr/bin/gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2644: $? = 1
configure:2667: checking for C compiler default output file name
configure:2670: /usr/bin/gcc    conftest.c  >&5
configure:2673: $? = 0
configure:2719: result: a.out
configure:2724: checking whether the C compiler works
configure:2730: ./a.out
configure:2733: $? = 0
configure:2750: result: yes
configure:2757: checking whether we are cross compiling
configure:2759: result: no
configure:2762: checking for suffix of executables
configure:2764: /usr/bin/gcc -o conftest    conftest.c  >&5
configure:2767: $? = 0
configure:2792: result:
configure:2798: checking for suffix of object files
configure:2819: /usr/bin/gcc -c   conftest.c >&5
configure:2822: $? = 0
configure:2844: result: o
configure:2848: checking whether we are using the GNU C compiler
configure:2872: /usr/bin/gcc -c   conftest.c >&5
configure:2878: $? = 0
configure:2882: test -z
    || test ! -s conftest.err
configure:2885: $? = 0
configure:2888: test -s conftest.o
configure:2891: $? = 0
configure:2904: result: yes
configure:2910: checking whether /usr/bin/gcc accepts -g
configure:2931: /usr/bin/gcc -c -g  conftest.c >&5
configure:2937: $? = 0
configure:2941: test -z
    || test ! -s conftest.err
configure:2944: $? = 0
configure:2947: test -s conftest.o
configure:2950: $? = 0
configure:2961: result: yes
configure:2978: checking for /usr/bin/gcc option to accept ANSI C
configure:3048: /usr/bin/gcc  -c -g -O2  conftest.c >&5
configure:3054: $? = 0
configure:3058: test -z
    || test ! -s conftest.err
configure:3061: $? = 0
configure:3064: test -s conftest.o
configure:3067: $? = 0
configure:3085: result: none needed
configure:3103: /usr/bin/gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3109: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3244: checking dependency style of /usr/bin/gcc
configure:3334: result: gcc3
configure:3362: checking for gawk
configure:3388: result: gawk
configure:3398: checking whether ln -s works
configure:3402: result: yes
configure:3450: checking for ranlib
configure:3466: found /usr/bin/ranlib
configure:3477: result: ranlib
configure:3502: checking for a BSD-compatible install
configure:3557: result: /usr/bin/install -c
configure:3571: checking for doxygen
configure:3589: found /usr/bin/doxygen
configure:3601: result: /usr/bin/doxygen
configure:3610: checking for perl
configure:3628: found /usr/bin/perl
configure:3641: result: /usr/bin/perl
configure:3660: checking for tclsh
configure:3678: found /usr/bin/tclsh
configure:3690: result: /usr/bin/tclsh
configure:3700: checking for ccache
configure:3729: result: no
configure:3827: checking for gcc
configure:3853: result: /usr/bin/gcc
configure:4097: checking for C compiler version
configure:4100: /usr/bin/gcc --version </dev/null >&5
gcc (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
Copyright (C) 2004 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:4103: $? = 0
configure:4105: /usr/bin/gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
configure:4108: $? = 0
configure:4110: /usr/bin/gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:4113: $? = 1
configure:4116: checking whether we are using the GNU C compiler
configure:4172: result: yes
configure:4178: checking whether /usr/bin/gcc accepts -g
configure:4229: result: yes
configure:4246: checking for /usr/bin/gcc option to accept ANSI C
configure:4353: result: none needed
configure:4371: /usr/bin/gcc -c -g -m32 -Wall -Werror -Wno-char-subscripts
-Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
-g -O2 -march=pentium  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:4377: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:4512: checking dependency style of /usr/bin/gcc
configure:4602: result: gcc3
configure:4713: checking for C++ compiler version
configure:4716: /usr/bin/g++ --version </dev/null >&5
g++ (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
Copyright (C) 2004 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:4719: $? = 0
configure:4721: /usr/bin/g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
configure:4724: $? = 0
configure:4726: /usr/bin/g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:4729: $? = 1
configure:4732: checking whether we are using the GNU C++ compiler
configure:4756: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
-Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
-Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
configure:4762: $? = 0
configure:4766: test -z
    || test ! -s conftest.err
configure:4769: $? = 0
configure:4772: test -s conftest.o
configure:4775: $? = 0
configure:4788: result: yes
configure:4794: checking whether /usr/bin/g++ accepts -g
configure:4815: /usr/bin/g++ -c -g  conftest.cc >&5
configure:4821: $? = 0
configure:4825: test -z
    || test ! -s conftest.err
configure:4828: $? = 0
configure:4831: test -s conftest.o
configure:4834: $? = 0
configure:4845: result: yes
configure:4887: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
-Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
-Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
configure:4893: $? = 0
configure:4897: test -z
    || test ! -s conftest.err
configure:4900: $? = 0
configure:4903: test -s conftest.o
configure:4906: $? = 0
configure:4932: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
-Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
-Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:22: error: `exit' was not declared in this scope
conftest.cc:22: warning: unused variable 'exit'
configure:4938: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:4887: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
-Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
-Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
configure:4893: $? = 0
configure:4897: test -z
    || test ! -s conftest.err
configure:4900: $? = 0
configure:4903: test -s conftest.o
configure:4906: $? = 0
configure:4932: /usr/bin/g++ -c -g -m32 -Wall -Werror -Wno-char-subscripts
-Wno-write-strings -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
-Wno-invalid-offsetof  -march=pentium  conftest.cc >&5
configure:4938: $? = 0
configure:4942: test -z
    || test ! -s conftest.err
configure:4945: $? = 0
configure:4948: test -s conftest.o
configure:4951: $? = 0
configure:4976: checking dependency style of /usr/bin/g++
configure:5066: result: gcc3
configure:5091: checking how to run the C preprocessor
configure:5126:  /usr/bin/gcc -E  conftest.c
configure:5132: $? = 0
configure:5164:  /usr/bin/gcc -E  conftest.c
conftest.c:21:28: ac_nonexistent.h: No such file or directory
configure:5170: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5209: result:  /usr/bin/gcc -E
configure:5233:  /usr/bin/gcc -E  conftest.c
configure:5239: $? = 0
configure:5271:  /usr/bin/gcc -E  conftest.c
conftest.c:21:28: ac_nonexistent.h: No such file or directory
configure:5277: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5325: checking how to run the C++ preprocessor
configure:5356:  /usr/bin/g++ -E  conftest.cc
configure:5362: $? = 0
configure:5394:  /usr/bin/g++ -E  conftest.cc
conftest.cc:21:28: ac_nonexistent.h: No such file or directory
configure:5400: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5439: result:  /usr/bin/g++ -E
configure:5463:  /usr/bin/g++ -E  conftest.cc
configure:5469: $? = 0
configure:5501:  /usr/bin/g++ -E  conftest.cc
conftest.cc:21:28: ac_nonexistent.h: No such file or directory
configure:5507: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5555: checking for sin in -lm
configure:5585:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lm   >&5
conftest.c:28: warning: conflicting types for built-in function 'sin'
configure:5591: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char sin ();
| int
| main ()
| {
| sin ();
|   ;
|   return 0;
| }
configure:5617: result: no
configure:5624: checking for regcomp in -lregex-3.6
configure:5654:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lregex-3.6   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:5660: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char regcomp ();
| int
| main ()
| {
| regcomp ();
|   ;
|   return 0;
| }
configure:5686: result: no
configure:5693: checking for exc_capture_context in -lexc
configure:5723:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lexc   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:5729: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char exc_capture_context ();
| int
| main ()
| {
| exc_capture_context ();
|   ;
|   return 0;
| }
configure:5755: result: no
configure:5762: checking for MLD_demangle_string in -lmld
configure:5792:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lmld   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:5798: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char MLD_demangle_string ();
| int
| main ()
| {
| MLD_demangle_string ();
|   ;
|   return 0;
| }
configure:5824: result: no
configure:5831: checking for crypt in -lcrypt
configure:5861:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lcrypt   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:5867: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char crypt ();
| int
| main ()
| {
| crypt ();
|   ;
|   return 0;
| }
configure:5893: result: no
configure:5900: checking for dlopen in -ldl
configure:5930:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -ldl   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:5936: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char dlopen ();
| int
| main ()
| {
| dlopen ();
|   ;
|   return 0;
| }
configure:5962: result: no
configure:5969: checking for XML_SetUserData in -lxml
configure:5999:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lxml   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6005: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char XML_SetUserData ();
| int
| main ()
| {
| XML_SetUserData ();
|   ;
|   return 0;
| }
configure:6031: result: no
configure:6038: checking for socket in -lsocket
configure:6068:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lsocket   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6074: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char socket ();
| int
| main ()
| {
| socket ();
|   ;
|   return 0;
| }
configure:6100: result: no
configure:6107: checking for gethostbyname in -lnsl
configure:6137:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lnsl   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6143: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gethostbyname ();
| int
| main ()
| {
| gethostbyname ();
|   ;
|   return 0;
| }
configure:6169: result: no
configure:6176: checking for res_init in -lresolv
configure:6206:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lresolv   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6212: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char res_init ();
| int
| main ()
| {
| res_init ();
|   ;
|   return 0;
| }
configure:6238: result: no
configure:6245: checking for __putlong in -lresolv
configure:6275:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lresolv   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6281: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char __putlong ();
| int
| main ()
| {
| __putlong ();
|   ;
|   return 0;
| }
configure:6307: result: no
configure:6314: checking for pthread_exit in -lpthread
configure:6344:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lpthread   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6350: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char pthread_exit ();
| int
| main ()
| {
| pthread_exit ();
|   ;
|   return 0;
| }
configure:6376: result: no
configure:6383: checking for clock_gettime in -lrt
configure:6413:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lrt   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6419: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char clock_gettime ();
| int
| main ()
| {
| clock_gettime ();
|   ;
|   return 0;
| }
configure:6445: result: no
configure:6452: checking for clock_gettime in -lposix4
configure:6482:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c -lposix4   >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6488: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char clock_gettime ();
| int
| main ()
| {
| clock_gettime ();
|   ;
|   return 0;
| }
configure:6514: result: no
configure:6522: checking for gnu_get_libc_version
configure:6579:  /usr/bin/gcc -o conftest -g -m32 -Wall -Werror
-Wno-char-subscripts -Wno-write-strings -O3 -feliminate-unused-debug-symbols
-fno-strict-aliasing -g -O2 -march=pentium   conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:6585: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Traffic Server"
| #define PACKAGE_TARNAME "trafficserver"
| #define PACKAGE_VERSION "2.0.0"
| #define PACKAGE_STRING "Traffic Server 2.0.0"
| #define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
| #define PACKAGE "trafficserver"
| #define VERSION "2.0.0"
| #define HOST_OS linux
| #define BUILD_PERSON "work"
| #define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
| #define MODULARIZED 1
| #define _FILE_OFFSET_BITS 64
| #define _GNU_SOURCE 1
| #define _REENTRANT 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| /* Define gnu_get_libc_version to an innocuous variant, in case <limits.h>
declares gnu_get_libc_version.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define gnu_get_libc_version innocuous_gnu_get_libc_version
|
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char gnu_get_libc_version (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef gnu_get_libc_version
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gnu_get_libc_version ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined (__stub_gnu_get_libc_version) || defined
(__stub___gnu_get_libc_version)
| choke me
| #else
| char (*f) () = gnu_get_libc_version;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != gnu_get_libc_version;
|   ;
|   return 0;
| }
configure:6610: result: no
configure:6616: error: check for glibc failed. Have you installed
glibc-devel?
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DOXYGEN_set=
ac_cv_env_DOXYGEN_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PERL_set=
ac_cv_env_PERL_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_exeext=
ac_cv_func_gnu_get_libc_version=no
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_lib_crypt_crypt=no
ac_cv_lib_dl_dlopen=no
ac_cv_lib_exc_exc_capture_context=no
ac_cv_lib_m_sin=no
ac_cv_lib_mld_MLD_demangle_string=no
ac_cv_lib_nsl_gethostbyname=no
ac_cv_lib_posix4_clock_gettime=no
ac_cv_lib_pthread_pthread_exit=no
ac_cv_lib_regex_3_6_regcomp=no
ac_cv_lib_resolv___putlong=no
ac_cv_lib_resolv_res_init=no
ac_cv_lib_rt_clock_gettime=no
ac_cv_lib_socket_socket=no
ac_cv_lib_xml_XML_SetUserData=no
ac_cv_objext=o
ac_cv_path_DOXYGEN=/usr/bin/doxygen
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_TCLSH=/usr/bin/tclsh
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=' /usr/bin/gcc -E'
ac_cv_prog_CXXCPP=' /usr/bin/g++ -E'
ac_cv_prog_ac_ct_CC=/usr/bin/gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL}
/home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL}
/home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run tar'
API_DEFS=''
AUTOCONF='${SHELL}
/home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
autoconf'
AUTOHEADER='${SHELL}
/home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
autoheader'
AUTOMAKE='${SHELL}
/home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
automake-1.9'
AWK='gawk'
CC=' /usr/bin/gcc'
CCACHE=''
CCAS='/usr/bin/gcc'
CCASFLAGS='-g -O2'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3
-feliminate-unused-debug-symbols -fno-strict-aliasing -g -O2 -march=pentium'
CLI_DIR='cli2'
CPP=' /usr/bin/gcc -E'
CPPFLAGS=''
CXX=' /usr/bin/g++'
CXXCPP=' /usr/bin/g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -m32 -Wall -Werror -Wno-char-subscripts -Wno-write-strings -O3
-feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof
-march=pentium'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DOXYGEN='/usr/bin/doxygen'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXPAT_LDFLAGS=''
EXTRA_CC_LDFLAGS=''
EXTRA_CXX_LDFLAGS='-rdynamic'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
IOCORE_MODULARIZED_DEFS='-DFIXME_NONMODULAR -DSPLIT_DNS -DNON_MODULAR
-DHTTP_CACHE'
LDFLAGS=''
LIBCRYPT=''
LIBDB=''
LIBDEMANGLE=''
LIBDL=''
LIBEXC=''
LIBEXPAT=''
LIBM=''
LIBMLD=''
LIBNSL=''
LIBOBJS=''
LIBREGEX=''
LIBRESOLV=''
LIBRT=''
LIBS=''
LIBSOCKET=''
LIBSSL=''
LIBTCL=''
LIBTHREAD=''
LIBXML=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL}
/home/work/duchuanying/vcache/traffic/traffic/build-aux/missing --run
makeinfo'
MGMT_DEFS=''
OBJEXT='o'
PACKAGE='trafficserver'
PACKAGE_BUGREPORT='trafficserver-dev@incubator.apache.org'
PACKAGE_NAME='Traffic Server'
PACKAGE_STRING='Traffic Server 2.0.0'
PACKAGE_TARNAME='trafficserver'
PACKAGE_VERSION='2.0.0'
PATH_SEPARATOR=':'
PERL='/usr/bin/perl'
RANLIB='ranlib'
SET_MAKE=''
SHARED_CFLAGS='-fPIC'
SHARED_CXXFLAGS='-fPIC'
SHARED_CXXLINKFLAGS='-shared'
SHARED_LDFLAGS='-shared'
SHELL='/bin/sh'
STANDALONE_IOCORE_FALSE=''
STANDALONE_IOCORE_TRUE='#'
STRIP=''
TCLSH='/usr/bin/tclsh'
TFW_PACKAGE_SUFFIX=''
VERSION='2.0.0'
ac_ct_CC='/usr/bin/gcc'
ac_ct_CXX=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='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='${prefix}/share'
enable_remote_cov_commit='localhost'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
ink_with_modules_def='-DREC_BUILD_MGMT2'
ink_with_modules_local='-DLOCAL_MANAGER'
ink_with_modules_process='-DPROCESS_MANAGER'
install_sh='/home/work/duchuanying/vcache/traffic/traffic/build-aux/install-sh'
iocore_include_dirs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
logdir='${prefix}/var/log'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pkglibexecdir='${exec_prefix}/libexec/trafficserver'
pkglocalstatedir='${prefix}/var/trafficserver'
pkglogdir='${prefix}/var/log/trafficserver'
pkgsysconfdir='${prefix}/etc/trafficserver'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define BUILD_MACHINE "jx-gm-test04.jx.xxx.com"
#define BUILD_PERSON "work"
#define HOST_OS linux
#define MODULARIZED 1
#define PACKAGE "trafficserver"
#define PACKAGE_BUGREPORT "trafficserver-dev@incubator.apache.org"
#define PACKAGE_NAME "Traffic Server"
#define PACKAGE_STRING "Traffic Server 2.0.0"
#define PACKAGE_TARNAME "trafficserver"
#define PACKAGE_VERSION "2.0.0"
#define VERSION "2.0.0"
#define _FILE_OFFSET_BITS 64
#define _GNU_SOURCE 1
#define _REENTRANT 1
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 1

----------------------------------------------------------------------------------------
2009/11/5 Bryan Call <bc...@yahoo-inc.com>

> You will have to install the equivalent packages that are in RHEL4.  Our
> main production build environment is RHEL4, so after installing the required
> packages it should compile without problems.
>
> On my RHEL4 32bit server, these are the glibc packages I have installed:
>
> [yts_dev bcall@armybright ~]$ rpm -qa | grep glibc
> glibc-common-2.3.4-2.41
> glibc-headers-2.3.4-2.41
> glibc-2.3.4-2.41
> glibc-kernheaders-2.4-9.1.103.EL
> glibc-devel-2.3.4-2.41
>
> [yts_dev bcall@armybright ~]$ cat /etc/redhat-release
> Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
>
> -Bryan
>
>
> On Nov 4, 2009, at 3:38 AM, ios firefox wrote:
>
> Hi, everyone,
>>    I am trying to use traffic server, but when I execute the command
>> "./configure", something happens as follows:
>> --------------------------------------------------------------
>> checking for regcomp in -lregex-3.6... no
>> checking for exc_capture_context in -lexc... no
>> checking for MLD_demangle_string in -lmld... no
>> checking for crypt in -lcrypt... no
>> checking for dlopen in -ldl... no
>> checking for XML_SetUserData in -lxml... no
>> checking for socket in -lsocket... no
>> checking for gethostbyname in -lnsl... no
>> checking for res_init in -lresolv... no
>> checking for __putlong in -lresolv... no
>> checking for pthread_exit in -lpthread... no
>> checking for clock_gettime in -lrt... no
>> checking for clock_gettime in -lposix4... no
>> checking for gnu_get_libc_version... no
>> configure: error: check for glibc failed. Have you installed glibc-devel?
>> --------------------------------------------------------------
>>
>>    and I found something in the README:
>> --------------------------------------------------------------
>> 3. REQUIREMENTS
>>  Fedora 11:
>>    gcc-c++
>>    glibc-devel.i586
>>    db4-devel.i586
>>    openssl-devel.i586
>>    tcl-devel.i586
>>    expat-devel.i586
>> --------------------------------------------------------------
>>
>>    I already have gcc & glibc on my system, and my system is Red Hat
>> Enterprise Linux AS release 4 (Nahant Update 3)
>>
>>    Does it mean I must install all the rpm above?
>>
>>    I am not root user, how can i install traffic server in this situation,
>> just from source code, without all the rpm?
>>
>
>
>

Re: glibc-devel required?

Posted by Bryan Call <bc...@yahoo-inc.com>.
You will have to install the equivalent packages that are in RHEL4.   
Our main production build environment is RHEL4, so after installing  
the required packages it should compile without problems.

On my RHEL4 32bit server, these are the glibc packages I have installed:

[yts_dev bcall@armybright ~]$ rpm -qa | grep glibc
glibc-common-2.3.4-2.41
glibc-headers-2.3.4-2.41
glibc-2.3.4-2.41
glibc-kernheaders-2.4-9.1.103.EL
glibc-devel-2.3.4-2.41

[yts_dev bcall@armybright ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)

-Bryan

On Nov 4, 2009, at 3:38 AM, ios firefox wrote:

> Hi, everyone,
>     I am trying to use traffic server, but when I execute the  
> command "./configure", something happens as follows:
> --------------------------------------------------------------
> checking for regcomp in -lregex-3.6... no
> checking for exc_capture_context in -lexc... no
> checking for MLD_demangle_string in -lmld... no
> checking for crypt in -lcrypt... no
> checking for dlopen in -ldl... no
> checking for XML_SetUserData in -lxml... no
> checking for socket in -lsocket... no
> checking for gethostbyname in -lnsl... no
> checking for res_init in -lresolv... no
> checking for __putlong in -lresolv... no
> checking for pthread_exit in -lpthread... no
> checking for clock_gettime in -lrt... no
> checking for clock_gettime in -lposix4... no
> checking for gnu_get_libc_version... no
> configure: error: check for glibc failed. Have you installed glibc- 
> devel?
> --------------------------------------------------------------
>
>     and I found something in the README:
> --------------------------------------------------------------
> 3. REQUIREMENTS
>   Fedora 11:
>     gcc-c++
>     glibc-devel.i586
>     db4-devel.i586
>     openssl-devel.i586
>     tcl-devel.i586
>     expat-devel.i586
> --------------------------------------------------------------
>
>     I already have gcc & glibc on my system, and my system is Red  
> Hat Enterprise Linux AS release 4 (Nahant Update 3)
>
>     Does it mean I must install all the rpm above?
>
>     I am not root user, how can i install traffic server in this  
> situation, just from source code, without all the rpm?



RE: glibc-devel required?

Posted by Adam Faris <fa...@yahoo-inc.com>.
Hello, 

 

These packages are listed as requirements as they contain items needed
to build TS from source.  An alternate solution would be to install
VMware server on your laptop/desktop and install Fedora 11 as a virtual
machine, which will give you root.   Using a VM is probably better then
tracking down the source dependencies by hand and wondering if you have
the same version as the listed RPMs.

 

-- Good luck, Adam

 

________________________________

From: ios firefox [mailto:firefoxios@gmail.com] 
Sent: Wednesday, November 04, 2009 3:38 AM
To: trafficserver-user@incubator.apache.org
Subject: glibc-devel required?

 

Hi, everyone,

    I am trying to use traffic server, but when I execute the command
"./configure", something happens as follows:

--------------------------------------------------------------

checking for regcomp in -lregex-3.6... no
checking for exc_capture_context in -lexc... no
checking for MLD_demangle_string in -lmld... no
checking for crypt in -lcrypt... no
checking for dlopen in -ldl... no
checking for XML_SetUserData in -lxml... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for res_init in -lresolv... no
checking for __putlong in -lresolv... no
checking for pthread_exit in -lpthread... no
checking for clock_gettime in -lrt... no
checking for clock_gettime in -lposix4... no
checking for gnu_get_libc_version... no
configure: error: check for glibc failed. Have you installed
glibc-devel?

--------------------------------------------------------------

 

    and I found something in the README:

--------------------------------------------------------------

3. REQUIREMENTS

  Fedora 11:
    gcc-c++
    glibc-devel.i586
    db4-devel.i586
    openssl-devel.i586
    tcl-devel.i586
    expat-devel.i586

--------------------------------------------------------------

 

    I already have gcc & glibc on my system, and my system is Red Hat
Enterprise Linux AS release 4 (Nahant Update 3)

 

    Does it mean I must install all the rpm above?

 

    I am not root user, how can i install traffic server in this
situation, just from source code, without all the rpm?