* Installing python for gdb
@ 2010-01-29 19:29 Michael Snyder
2010-01-29 19:41 ` Daniel Jacobowitz
2010-01-29 19:50 ` Tom Tromey
0 siblings, 2 replies; 9+ messages in thread
From: Michael Snyder @ 2010-01-29 19:29 UTC (permalink / raw)
To: gdb, tromey
Hi,
I'm on RHEL4 with python 2.3.something, which is not one of the
version numbers that gdb / configure will accept. When I configure
with --with-python, it tells me:
checking whether to use python... yes
checking for python2.6... no
checking for python2.5... no
checking for python2.4... no
configure: error: python is missing or unusable
Unfortunately I can't find an rpm for RHEL4 contining a newer
python, so I've attempted to build and install python2.6 from
sources.
Make install seems to work, but since there's already a
/usr/local/bin/python, it installs itself as /usr/local/bin/python2.6,
and similarly numbers its libraries. Gdb's configure script
doesn't find it.
I've tried renaming /usr/local/bin/python2.6 to python,
in which case it runs fine from the bash shell, but for
reasons mystical to me the configure script still can't
seem to find it.
Help?
thanks,
Michael
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Installing python for gdb
2010-01-29 19:29 Installing python for gdb Michael Snyder
@ 2010-01-29 19:41 ` Daniel Jacobowitz
2010-01-29 20:15 ` Michael Snyder
2010-01-29 19:50 ` Tom Tromey
1 sibling, 1 reply; 9+ messages in thread
From: Daniel Jacobowitz @ 2010-01-29 19:41 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb, tromey
On Fri, Jan 29, 2010 at 11:28:50AM -0800, Michael Snyder wrote:
> I've tried renaming /usr/local/bin/python2.6 to python,
> in which case it runs fine from the bash shell, but for
> reasons mystical to me the configure script still can't
> seem to find it.
It's not looking for the app, it's looking for the libraries. You
might need a --with-python=/usr/local or something like that?
config.log should show you the failed tests.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Installing python for gdb
2010-01-29 19:29 Installing python for gdb Michael Snyder
2010-01-29 19:41 ` Daniel Jacobowitz
@ 2010-01-29 19:50 ` Tom Tromey
2010-01-29 20:16 ` Michael Snyder
2010-02-01 22:28 ` Michael Snyder
1 sibling, 2 replies; 9+ messages in thread
From: Tom Tromey @ 2010-01-29 19:50 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb
>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
Michael> I'm on RHEL4 with python 2.3.something, which is not one of the
Michael> version numbers that gdb / configure will accept.
In addition to what Daniel said, it may be possible to make gdb work
with this version. I don't know, but you could try it.
Tom
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Installing python for gdb
2010-01-29 19:41 ` Daniel Jacobowitz
@ 2010-01-29 20:15 ` Michael Snyder
2010-01-29 20:26 ` Daniel Jacobowitz
2010-01-29 20:29 ` Tom Tromey
0 siblings, 2 replies; 9+ messages in thread
From: Michael Snyder @ 2010-01-29 20:15 UTC (permalink / raw)
To: Michael Snyder, gdb, tromey
[-- Attachment #1: Type: text/plain, Size: 568 bytes --]
Daniel Jacobowitz wrote:
> On Fri, Jan 29, 2010 at 11:28:50AM -0800, Michael Snyder wrote:
>> I've tried renaming /usr/local/bin/python2.6 to python,
>> in which case it runs fine from the bash shell, but for
>> reasons mystical to me the configure script still can't
>> seem to find it.
>
> It's not looking for the app, it's looking for the libraries. You
> might need a --with-python=/usr/local or something like that?
Didn't seem to work. FYI ls /usr/local/lib | grep python
libpython2.6.a
python2.6
> config.log should show you the failed tests.
Attached.
[-- Attachment #2: config.log --]
[-- Type: text/x-log, Size: 61801 bytes --]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ /misc/home/msnyder/esx/src-vmkgdb/gdb/configure --cache-file=./config.cache --with-system-zlib --with-64-bit-bfd --with-python=/usr/local --program-transform-name=s,y,y, --disable-option-checking --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --srcdir=/misc/home/msnyder/esx/src-vmkgdb/gdb
## --------- ##
## Platform. ##
## --------- ##
hostname = msnyder-server
uname -m = i686
uname -r = 2.6.9-67.0.20.ELsmp
uname -s = Linux
uname -v = #1 SMP Wed Jun 18 12:40:47 EDT 2008
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /build/trees/bin
PATH: /bldmnt/apps/bin
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /mts/home4/msnyder/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2649: loading cache ./config.cache
configure:2739: checking whether to enable maintainer-specific portions of Makefiles
configure:2748: result: no
configure:2770: checking for i686-pc-linux-gnu-gcc
configure:2797: result: gcc
configure:3066: checking for C compiler version
configure:3075: gcc --version >&5
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3086: $? = 0
configure:3075: gcc -v >&5
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/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=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)
configure:3086: $? = 0
configure:3075: gcc -V >&5
gcc: `-V' option must have argument
configure:3086: $? = 1
configure:3075: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:3086: $? = 1
configure:3106: checking for C compiler default output file name
configure:3128: gcc -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3132: $? = 0
configure:3169: result: a.out
configure:3185: checking whether the C compiler works
configure:3194: ./a.out
configure:3198: $? = 0
configure:3213: result: yes
configure:3220: checking whether we are cross compiling
configure:3222: result: no
configure:3225: checking for suffix of executables
configure:3232: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3236: $? = 0
configure:3258: result:
configure:3264: checking for suffix of object files
configure:3286: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3290: $? = 0
configure:3311: result: o
configure:3315: checking whether we are using the GNU C compiler
configure:3334: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3334: $? = 0
configure:3343: result: yes
configure:3352: checking whether gcc accepts -g
configure:3372: gcc -c -g conftest.c >&5
configure:3372: $? = 0
configure:3413: result: yes
configure:3430: checking for gcc option to accept ISO C89
configure:3494: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3494: $? = 0
configure:3507: result: none needed
configure:3533: checking how to run the C preprocessor
configure:3564: gcc -E conftest.c
configure:3564: $? = 0
configure:3578: gcc -E conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:3578: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3603: result: gcc -E
configure:3623: gcc -E conftest.c
configure:3623: $? = 0
configure:3637: gcc -E conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:3637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3666: checking for grep that handles long lines and -e
configure:3724: result: /bin/grep
configure:3729: checking for egrep
configure:3791: result: /bin/grep -E
configure:3796: checking for ANSI C header files
configure:3816: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3816: $? = 0
configure:3889: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3889: $? = 0
configure:3889: ./conftest
configure:3889: $? = 0
configure:3900: result: yes
configure:3913: checking for sys/types.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3913: checking for sys/stat.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3913: checking for stdlib.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3913: checking for string.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3913: checking for memory.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3913: checking for strings.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3913: checking for inttypes.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3913: checking for stdint.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3913: checking for unistd.h
configure:3913: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3913: $? = 0
configure:3913: result: yes
configure:3927: checking minix/config.h usability
configure:3927: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
conftest.c:52:26: minix/config.h: No such file or directory
configure:3927: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:3927: result: no
configure:3927: checking minix/config.h presence
configure:3927: gcc -E conftest.c
conftest.c:19:26: minix/config.h: No such file or directory
configure:3927: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <minix/config.h>
configure:3927: result: no
configure:3927: checking for minix/config.h
configure:3927: result: no
configure:3948: checking whether it is safe to define __EXTENSIONS__
configure:3966: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:3966: $? = 0
configure:3973: result: yes
configure:3990: checking for i686-pc-linux-gnu-ranlib
configure:4017: result: ranlib
configure:4087: checking for gcc option to accept ANSI C
configure:4145: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:4145: $? = 0
configure:4155: result: none needed
configure:4194: checking build system type
configure:4208: result: i686-pc-linux-gnu
configure:4228: checking host system type
configure:4241: result: i686-pc-linux-gnu
configure:4261: checking target system type
configure:4274: result: i686-pc-linux-gnu
configure:4320: checking dependency style of gcc
configure:4351: trying gcc3
| depmode=gcc3 source=sub/conftest.c object=sub/conftest.o depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo /bin/sh ./depcomp gcc -c -o sub/conftest.o sub/conftest.c
configure:4390: success
configure:4405: result: gcc3
configure:4419: checking for make
configure:4435: found /usr/bin/make
configure:4446: result: make
configure:4471: checking whether make sets $(MAKE)
configure:4493: result: yes
configure:4527: checking whether NLS is requested
configure:4533: result: yes
configure:4539: checking for catalogs to be installed
configure:4571: result:
configure:4649: checking whether memmem is declared
configure:4649: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:4649: $? = 0
configure:4649: result: yes
configure:4674: checking for memmem
configure:4674: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:4674: $? = 0
configure:4674: result: yes
configure:4701: checking for long long int
configure:4738: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:4738: $? = 0
configure:4768: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:4768: $? = 0
configure:4768: ./conftest
configure:4768: $? = 0
configure:4783: result: yes
configure:4792: checking for unsigned long long int
configure:4829: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:4829: $? = 0
configure:4837: result: yes
configure:4847: checking whether the preprocessor supports include_next
configure:4875: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB -Iconftestd1 -Iconftestd2 conftest.c >&5
configure:4875: $? = 0
configure:4885: result: yes
configure:4906: checking for stdint.h
configure:4906: result: yes
configure:4906: checking wchar.h usability
configure:4906: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:4906: $? = 0
configure:4906: result: yes
configure:4906: checking wchar.h presence
configure:4906: gcc -E conftest.c
configure:4906: $? = 0
configure:4906: result: yes
configure:4906: checking for wchar.h
configure:4906: result: yes
configure:4906: checking for string.h
configure:4906: result: yes
configure:4926: checking for C/C++ restrict keyword
configure:4951: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:4951: $? = 0
configure:4959: result: __restrict
configure:5059: checking for memchr
configure:5059: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:5059: $? = 0
configure:5059: result: yes
configure:5091: checking for working memcmp
configure:5134: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:5134: $? = 0
configure:5134: ./conftest
configure:5134: $? = 0
configure:5144: result: yes
configure:5166: checking whether memmem works in linear time
configure:5206: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:5206: $? = 0
configure:5206: ./conftest
/misc/home/msnyder/esx/src-vmkgdb/gdb/configure: line 1890: 2868 Alarm clock ./conftest$ac_exeext
configure:5206: $? = 142
configure: program exited with status 142
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| /* end confdefs.h. */
|
| #include <string.h> /* for memmem */
| #include <stdlib.h> /* for malloc */
| #include <unistd.h> /* for alarm */
|
| int
| main ()
| {
| size_t m = 1000000;
| char *haystack = (char *) malloc (2 * m + 1);
| char *needle = (char *) malloc (m + 1);
| void *result = 0;
| /* Failure to compile this test due to missing alarm is okay,
| since all such platforms (mingw) also lack memmem. */
| alarm (5);
| /* Check for quadratic performance. */
| if (haystack && needle)
| {
| memset (haystack, 'A', 2 * m);
| haystack[2 * m] = 'B';
| memset (needle, 'A', m);
| needle[m] = 'B';
| result = memmem (haystack, 2 * m + 1, needle, m + 1);
| }
| /* Check for empty needle behavior. */
| return !result || !memmem ("a", 1, 0, 0);
| ;
| return 0;
| }
configure:5216: result: no
configure:5245: checking for memmem
configure:5245: result: yes
configure:5359: checking whether stdint.h conforms to C99
configure:5528: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:5528: $? = 0
configure:5533: result: yes
configure:5758: checking whether <wchar.h> is standalone
configure:5768: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:5768: $? = 0
configure:5775: result: yes
configure:5893: checking for a BSD-compatible install
configure:5961: result: /usr/bin/install -c
configure:5972: checking whether build environment is sane
configure:6022: result: yes
configure:6163: checking for a thread-safe mkdir -p
configure:6202: result: /bin/mkdir -p
configure:6215: checking for gawk
configure:6242: result: gawk
configure:6263: checking for style of include used by make
configure:6291: result: GNU
configure:6367: checking dependency style of gcc
configure:6477: result: gcc3
configure:6871: checking libunwind.h usability
configure:6871: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
conftest.c:76:23: libunwind.h: No such file or directory
configure:6871: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libunwind.h>
configure:6871: result: no
configure:6871: checking libunwind.h presence
configure:6871: gcc -E conftest.c
conftest.c:43:23: libunwind.h: No such file or directory
configure:6871: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| /* end confdefs.h. */
| #include <libunwind.h>
configure:6871: result: no
configure:6871: checking for libunwind.h
configure:6871: result: no
configure:6871: checking libunwind-ia64.h usability
configure:6871: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
conftest.c:76:28: libunwind-ia64.h: No such file or directory
configure:6871: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libunwind-ia64.h>
configure:6871: result: no
configure:6871: checking libunwind-ia64.h presence
configure:6871: gcc -E conftest.c
conftest.c:43:28: libunwind-ia64.h: No such file or directory
configure:6871: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| /* end confdefs.h. */
| #include <libunwind-ia64.h>
configure:6871: result: no
configure:6871: checking for libunwind-ia64.h
configure:6871: result: no
configure:6942: checking for monstartup
configure:6942: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:6942: $? = 0
configure:6942: result: yes
configure:6942: checking for _mcleanup
configure:6942: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:6942: $? = 0
configure:6942: result: yes
configure:6952: checking for _etext
configure:6970: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:6970: $? = 0
configure:6978: result: yes
configure:6985: checking for etext
configure:7003: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:7003: $? = 0
configure:7011: result: yes
configure:7123: checking for gawk
configure:7150: result: gawk
configure:7162: checking whether ln -s works
configure:7166: result: yes
configure:7176: checking for i686-pc-linux-gnu-ranlib
configure:7203: result: ranlib
configure:7269: checking for bison
configure:7296: result: bison -y
configure:7312: checking for i686-pc-linux-gnu-ar
configure:7339: result: ar
configure:7404: checking for i686-pc-linux-gnu-dlltool
configure:7431: result: dlltool
configure:7496: checking for i686-pc-linux-gnu-windres
configure:7523: result: windres
configure:7590: checking for i686-pc-linux-gnu-mig
configure:7620: result: no
configure:7630: checking for mig
configure:7660: result: no
configure:7685: checking for main in -lm
configure:7704: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lm >&5
configure:7704: $? = 0
configure:7713: result: yes
configure:7729: checking for wctype
configure:7729: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lm >&5
configure:7729: $? = 0
configure:7729: result: yes
configure:7782: checking for library containing gethostbyname
configure:7813: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lm >&5
configure:7813: $? = 0
configure:7830: result: none required
configure:7840: checking for library containing socketpair
configure:7871: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lm >&5
configure:7871: $? = 0
configure:7888: result: none required
configure:7898: checking for library containing zlibVersion
configure:7929: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lm >&5
/tmp/ccsBOFlR.o(.text+0x1d): In function `main':
/misc/home/msnyder/esx/build/cross/64/i386-linux-64/gdb/conftest.c:61: undefined reference to `zlibVersion'
collect2: ld returned 1 exit status
configure:7929: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char zlibVersion ();
| int
| main ()
| {
| return zlibVersion ();
| ;
| return 0;
| }
configure:7929: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lz -lm >&5
configure:7929: $? = 0
configure:7946: result: -lz
configure:7953: checking zlib.h usability
configure:7953: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:7953: $? = 0
configure:7953: result: yes
configure:7953: checking zlib.h presence
configure:7953: gcc -E conftest.c
configure:7953: $? = 0
configure:7953: result: yes
configure:7953: checking for zlib.h
configure:7953: result: yes
configure:7967: checking for library containing dlgetmodinfo
configure:7998: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lz -lm >&5
/tmp/ccCzTw5f.o(.text+0x1d): In function `main':
/misc/home/msnyder/esx/build/cross/64/i386-linux-64/gdb/conftest.c:62: undefined reference to `dlgetmodinfo'
collect2: ld returned 1 exit status
configure:7998: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlgetmodinfo ();
| int
| main ()
| {
| return dlgetmodinfo ();
| ;
| return 0;
| }
configure:7998: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -ldl -lz -lm >&5
/tmp/ccm8N8wm.o(.text+0x1d): In function `main':
/misc/home/msnyder/esx/build/cross/64/i386-linux-64/gdb/conftest.c:62: undefined reference to `dlgetmodinfo'
collect2: ld returned 1 exit status
configure:7998: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlgetmodinfo ();
| int
| main ()
| {
| return dlgetmodinfo ();
| ;
| return 0;
| }
configure:7998: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lxpdl -lz -lm >&5
/usr/bin/ld: cannot find -lxpdl
collect2: ld returned 1 exit status
configure:7998: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlgetmodinfo ();
| int
| main ()
| {
| return dlgetmodinfo ();
| ;
| return 0;
| }
configure:8015: result: no
configure:8041: checking for iconv
configure:8099: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lz -lm >&5
configure:8099: $? = 0
configure:8141: result: yes
configure:8164: checking for iconv declaration
configure:8193: gcc -c -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c >&5
configure:8193: $? = 0
configure:8204: result: install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure:8256: checking for library containing waddstr
configure:8287: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lz -lm >&5
/tmp/ccuRywbL.o(.text+0x1d): In function `main':
/misc/home/msnyder/esx/build/cross/64/i386-linux-64/gdb/conftest.c:64: undefined reference to `waddstr'
collect2: ld returned 1 exit status
configure:8287: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char waddstr ();
| int
| main ()
| {
| return waddstr ();
| ;
| return 0;
| }
configure:8287: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lncurses -lz -lm >&5
configure:8287: $? = 0
configure:8304: result: -lncurses
configure:8362: checking for library containing tgetent
configure:8393: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lncurses -lz -lm >&5
configure:8393: $? = 0
configure:8410: result: none required
configure:8484: checking whether to use expat
configure:8486: result: auto
configure:8534: checking for ld used by GCC
configure:8597: result: ld
configure:8604: checking if the linker (ld) is GNU ld
GNU ld version 2.15.92.0.2 20040927
configure:8616: result: yes
configure:8622: checking for shared library run path origin
configure:8635: result: done
configure:9062: checking for libexpat
configure:9081: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lncurses -lz -lm -lexpat >&5
configure:9081: $? = 0
configure:9091: result: yes
configure:9098: checking how to link with libexpat
configure:9100: result: -lexpat
configure:9126: checking for XML_StopParser
configure:9126: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB conftest.c -lncurses -lz -lm -lexpat >&5
/tmp/ccqyHooh.o(.text+0x1d): In function `main':
/misc/home/msnyder/esx/build/cross/64/i386-linux-64/gdb/conftest.c:88: undefined reference to `XML_StopParser'
collect2: ld returned 1 exit status
configure:9126: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_LIBEXPAT 1
| /* end confdefs.h. */
| /* Define XML_StopParser to an innocuous variant, in case <limits.h> declares XML_StopParser.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define XML_StopParser innocuous_XML_StopParser
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char XML_StopParser (); 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 XML_StopParser
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char XML_StopParser ();
| /* 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_XML_StopParser || defined __stub___XML_StopParser
| choke me
| #endif
|
| int
| main ()
| {
| return XML_StopParser ();
| ;
| return 0;
| }
configure:9126: result: no
configure:9149: checking whether to use python
configure:9151: result: /usr/local
configure:9185: checking for python2.6
configure:9200: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB -I/usr/local/include conftest.c -lncurses -lz -lm -L/usr/local/lib -lpython2.6 >&5
/usr/local/lib/libpython2.6.a(posixmodule.o)(.text+0x3e72): In function `posix_tmpnam':
./Modules/posixmodule.c:7180: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/libpython2.6.a(posixmodule.o)(.text+0x3dd2): In function `posix_tempnam':
./Modules/posixmodule.c:7135: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/local/lib/libpython2.6.a(dynload_shlib.o)(.text+0x15e): In function `_PyImport_GetDynLoadFunc':
Python/dynload_shlib.c:130: undefined reference to `dlopen'
/usr/local/lib/libpython2.6.a(dynload_shlib.o)(.text+0x19f):Python/dynload_shlib.c:141: undefined reference to `dlsym'
/usr/local/lib/libpython2.6.a(dynload_shlib.o)(.text+0x1f6):Python/dynload_shlib.c:133: undefined reference to `dlerror'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x6c): In function `PyThread_start_new_thread':
Python/thread_pthread.h:181: undefined reference to `pthread_create'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x8e):Python/thread_pthread.h:197: undefined reference to `pthread_detach'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0xa6):Python/thread_pthread.h:171: undefined reference to `pthread_attr_setstacksize'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x15e): In function `PyThread_allocate_lock':
Python/thread_pthread.h:296: undefined reference to `sem_init'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x1a5): In function `PyThread_free_lock':
Python/thread_pthread.h:320: undefined reference to `sem_destroy'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x1f9): In function `PyThread_acquire_lock':
Python/thread_pthread.h:334: undefined reference to `sem_trywait'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x228):Python/thread_pthread.h:334: undefined reference to `sem_wait'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x240):Python/thread_pthread.h:334: undefined reference to `sem_wait'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x29e): In function `PyThread_release_lock':
Python/thread_pthread.h:374: undefined reference to `sem_post'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x321): In function `PyThread_set_stacksize':
Python/thread_pthread.h:519: undefined reference to `pthread_attr_setstacksize'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x38a): In function `find_key':
Python/thread_pthread.h:334: undefined reference to `sem_wait'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x417):Python/thread_pthread.h:374: undefined reference to `sem_post'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x4ce): In function `PyThread_create_key':
Python/thread_pthread.h:296: undefined reference to `sem_init'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x532): In function `PyThread_delete_key':
Python/thread_pthread.h:334: undefined reference to `sem_wait'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x577):Python/thread_pthread.h:374: undefined reference to `sem_post'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x63e): In function `PyThread_delete_key_value':
Python/thread_pthread.h:334: undefined reference to `sem_wait'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x69a):Python/thread_pthread.h:374: undefined reference to `sem_post'
/usr/local/lib/libpython2.6.a(thread.o)(.text+0x72d): In function `PyThread_ReInitTLS':
Python/thread_pthread.h:296: undefined reference to `sem_init'
/usr/local/lib/libpython2.6.a(posixmodule.o)(.text+0x1c35): In function `posix_openpty':
: undefined reference to `openpty'
/usr/local/lib/libpython2.6.a(posixmodule.o)(.text+0x1c87): In function `posix_forkpty':
: undefined reference to `forkpty'
collect2: ld returned 1 exit status
configure:9200: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_LIBEXPAT 1
| /* end confdefs.h. */
| #include "python2.6/Python.h"
| int
| main ()
| {
| Py_Initialize ();
| ;
| return 0;
| }
configure:9208: result: no
configure:9223: checking for python2.5
configure:9238: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB -I/usr/local/include conftest.c -lncurses -lz -lm -L/usr/local/lib -lpython2.5 >&5
conftest.c:54:30: python2.5/Python.h: No such file or directory
configure:9238: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_LIBEXPAT 1
| /* end confdefs.h. */
| #include "python2.5/Python.h"
| int
| main ()
| {
| Py_Initialize ();
| ;
| return 0;
| }
configure:9246: result: no
configure:9261: checking for python2.4
configure:9276: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB -I/usr/local/include conftest.c -lncurses -lz -lm -L/usr/local/lib -lpython2.4 >&5
conftest.c:54:30: python2.4/Python.h: No such file or directory
configure:9276: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define ENABLE_NLS 1
| #define HAVE_DECL_MEMMEM 1
| #define HAVE_MEMMEM 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define HAVE_INCLUDE_NEXT 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STRING_H 1
| #define restrict __restrict
| #define HAVE_MEMCHR 1
| #define HAVE_MEMMEM 1
| #define PACKAGE "gdb"
| #define DEBUGDIR "/usr/local/lib/debug"
| #define DEBUGDIR_RELOCATABLE 1
| #define GDB_DATADIR "/usr/local/share/gdb"
| #define GDB_DATADIR_RELOCATABLE 1
| #define DEFAULT_BFD_ARCH bfd_i386_arch
| #define DEFAULT_BFD_VEC bfd_elf32_i386_vec
| #define HAVE_MONSTARTUP 1
| #define HAVE__MCLEANUP 1
| #define HAVE__ETEXT 1
| #define HAVE_ETEXT 1
| #define PKGVERSION "(GDB) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
| #define HAVE_LIBM 1
| #define HAVE_ZLIB_H 1
| #define HAVE_ICONV 1
| #define ICONV_CONST
| #define HAVE_LIBEXPAT 1
| /* end confdefs.h. */
| #include "python2.4/Python.h"
| int
| main ()
| {
| Py_Initialize ();
| ;
| return 0;
| }
configure:9284: result: no
configure:9303: error: no usable python found at /usr/local
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_restrict=__restrict
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -DVMWARE_PIE7 -DVMWARE_VMKGDB'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_YACC_set=set
ac_cv_env_YACC_value='bison -y'
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i686-pc-linux-gnu
ac_cv_func_XML_StopParser=no
ac_cv_func__mcleanup=yes
ac_cv_func_memchr=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_memmem=yes
ac_cv_func_monstartup=yes
ac_cv_func_wctype=yes
ac_cv_have_decl_memmem=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libunwind_h=no
ac_cv_header_libunwind_ia64_h=no
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_wchar_h=yes
ac_cv_header_zlib_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_lib_m_main=yes
ac_cv_libexpat=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AR=ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_DLLTOOL=dlltool
ac_cv_prog_MAKE=make
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_WINDRES=windres
ac_cv_prog_YACC='bison -y'
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_dlgetmodinfo=no
ac_cv_search_gethostbyname='none required'
ac_cv_search_socketpair='none required'
ac_cv_search_tgetent='none required'
ac_cv_search_waddstr=-lncurses
ac_cv_search_zlibVersion=-lz
ac_cv_target=i686-pc-linux-gnu
ac_cv_type_long_long_int=yes
ac_cv_type_unsigned_long_long_int=yes
ac_cv_var__etext=yes
ac_cv_var_etext=yes
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_path_LD=ld
acl_cv_prog_gnu_ld=yes
acl_cv_rpath=done
acl_cv_shlibext=so
acl_cv_wl=-Wl,
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_func_iconv=yes
am_cv_lib_iconv=no
am_cv_prog_cc_stdc=
am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
am_cv_proto_iconv_arg1=
am_cv_use_build_libiconv=no
gl_cv_func_memmem_works=no
gl_cv_have_include_next=yes
gl_cv_header_wchar_h_standalone=yes
gl_cv_header_working_stdint_h=yes
gl_cv_next_stdint_h='<stdint.h>'
gl_cv_next_string_h='<string.h>'
gl_cv_next_wchar_h='<wchar.h>'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /misc/home/msnyder/esx/src-vmkgdb/missing --run aclocal-1.11'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /misc/home/msnyder/esx/src-vmkgdb/missing --run tar'
AR='ar'
AUTOCONF='${SHELL} /misc/home/msnyder/esx/src-vmkgdb/missing --run autoconf'
AUTOHEADER='${SHELL} /misc/home/msnyder/esx/src-vmkgdb/missing --run autoheader'
AUTOMAKE='${SHELL} /misc/home/msnyder/esx/src-vmkgdb/missing --run automake-1.11'
AWK='gawk'
BITSIZEOF_PTRDIFF_T=''
BITSIZEOF_SIG_ATOMIC_T=''
BITSIZEOF_SIZE_T=''
BITSIZEOF_WCHAR_T=''
BITSIZEOF_WINT_T=''
CATALOGS=''
CATOBJEXT='.gmo'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -DVMWARE_PIE7 -DVMWARE_VMKGDB'
CONFIG_ALL=' all-po all-tui'
CONFIG_CLEAN=' clean-po clean-tui'
CONFIG_DEPS=' $(SUBDIR_CLI_DEPS) $(SUBDIR_MI_DEPS) $(SUBDIR_TUI_DEPS)'
CONFIG_INSTALL=' install-po install-tui'
CONFIG_LDFLAGS=''
CONFIG_OBS=' $(SUBDIR_CLI_OBS) $(SUBDIR_MI_OBS) $(SUBDIR_TUI_OBS)'
CONFIG_SRCS=' $(SUBDIR_CLI_SRCS) $(SUBDIR_MI_SRCS) $(SUBDIR_TUI_SRCS)'
CONFIG_UNINSTALL=' uninstall-po uninstall-tui'
CPP='gcc -E'
CPPFLAGS=' -I/usr/local/include'
CYGPATH_W='echo'
DATADIRNAME='share'
DEBUGDIR='${exec_prefix}/lib/debug'
DEFS=''
DEPDIR='.deps'
DLLTOOL='dlltool'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_CFLAGS=' $(SUBDIR_CLI_CFLAGS) $(SUBDIR_MI_CFLAGS) $(SUBDIR_TUI_CFLAGS)'
EXEEXT=''
GDBTKLIBS=''
GDBTK_CFLAGS=''
GDBTK_SRC_DIR=''
GDB_DATADIR='${datarootdir}/gdb'
GDB_NM_FILE=''
GENCAT='gencat'
GL_COND_LIBTOOL_FALSE=''
GL_COND_LIBTOOL_TRUE='#'
GMAKE_FALSE='#'
GMAKE_TRUE=''
GMSGFMT='/usr/bin/msgfmt'
GNULIB_MBSCASECMP='0'
GNULIB_MBSCASESTR='0'
GNULIB_MBSCHR='0'
GNULIB_MBSCSPN='0'
GNULIB_MBSLEN='0'
GNULIB_MBSNCASECMP='0'
GNULIB_MBSNLEN='0'
GNULIB_MBSPBRK='0'
GNULIB_MBSPCASECMP='0'
GNULIB_MBSRCHR='0'
GNULIB_MBSSEP='0'
GNULIB_MBSSPN='0'
GNULIB_MBSSTR='0'
GNULIB_MBSTOK_R='0'
GNULIB_MEMMEM='1'
GNULIB_MEMPCPY='0'
GNULIB_MEMRCHR='0'
GNULIB_STDINT_H=''
GNULIB_STPCPY='0'
GNULIB_STPNCPY='0'
GNULIB_STRCASESTR='0'
GNULIB_STRCHRNUL='0'
GNULIB_STRDUP='0'
GNULIB_STRERROR='0'
GNULIB_STRNDUP='0'
GNULIB_STRNLEN='0'
GNULIB_STRPBRK='0'
GNULIB_STRSEP='0'
GNULIB_STRSIGNAL='0'
GNULIB_STRSTR='0'
GNULIB_STRTOK_R='0'
GNULIB_WCWIDTH='0'
GREP='/bin/grep'
GUI_CFLAGS_X=''
HAVE_DECL_MEMMEM='1'
HAVE_DECL_MEMRCHR='1'
HAVE_DECL_STRDUP='1'
HAVE_DECL_STRERROR='1'
HAVE_DECL_STRNDUP='1'
HAVE_DECL_STRNLEN='1'
HAVE_DECL_STRSIGNAL='1'
HAVE_DECL_STRTOK_R='1'
HAVE_DECL_WCWIDTH='1'
HAVE_INTTYPES_H='1'
HAVE_LIBEXPAT='yes'
HAVE_LONG_LONG_INT='1'
HAVE_MEMPCPY='1'
HAVE_SIGNED_SIG_ATOMIC_T=''
HAVE_SIGNED_WCHAR_T=''
HAVE_SIGNED_WINT_T=''
HAVE_STDINT_H='1'
HAVE_STPCPY='1'
HAVE_STPNCPY='1'
HAVE_STRCASESTR='1'
HAVE_STRCHRNUL='1'
HAVE_STRNDUP='1'
HAVE_STRPBRK='1'
HAVE_STRSEP='1'
HAVE_SYS_BITYPES_H=''
HAVE_SYS_INTTYPES_H=''
HAVE_SYS_TYPES_H='1'
HAVE_UNSIGNED_LONG_LONG_INT='1'
HAVE_WCHAR_H='1'
INCINTL=''
INCLUDE_NEXT='include_next'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT='.mo'
LDFLAGS=' '
LIBEXPAT='-lexpat'
LIBGNU_LIBDEPS=''
LIBGNU_LTLIBDEPS=''
LIBGUI=''
LIBINTL=''
LIBINTL_DEP=''
LIBOBJS=''
LIBS='-lncurses -lz -lm -L/usr/local/lib'
LN_S='ln -s'
LTLIBEXPAT='-lexpat'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKE='make'
MAKEINFO='makeinfo'
MIG=''
MKDIR_P='/bin/mkdir -p'
NEXT_STDINT_H='<stdint.h>'
NEXT_STRING_H='<string.h>'
NEXT_WCHAR_H='<wchar.h>'
OBJEXT='o'
PACKAGE='gdb'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKGVERSION='(GDB) '
POSUB='po'
PROFILE_CFLAGS=''
PTRDIFF_T_SUFFIX=''
PYTHON_CFLAGS=''
RANLIB='ranlib'
READLINE='$(READLINE_DIR)/libreadline.a'
READLINE_CFLAGS='-I$(READLINE_SRC)/..'
READLINE_DEPS='$(READLINE)'
REPLACE_MEMMEM='1'
REPLACE_STRCASESTR='0'
REPLACE_STRERROR='0'
REPLACE_STRSIGNAL='0'
REPLACE_STRSTR='0'
REPLACE_WCWIDTH='0'
REPORT_BUGS_TEXI='@uref{http://www.gnu.org/software/gdb/bugs/}'
REPORT_BUGS_TO='<http://www.gnu.org/software/gdb/bugs/>'
SER_HARDWIRE=''
SET_MAKE=''
SHELL='/bin/sh'
SIG_ATOMIC_T_SUFFIX=''
SIM=''
SIM_OBS=''
SIZE_T_SUFFIX=''
STDINT_H=''
STRIP=''
SYSTEM_GDBINIT=''
TARGET_OBS=' i386-tdep.o i386-linux-tdep.o glibc-tdep.o i387-tdep.o solib.o solib-svr4.o symfile-mem.o corelow.o linux-tdep.o linux-record.o'
TARGET_SYSTEM_ROOT=''
TARGET_SYSTEM_ROOT_DEFINE=''
TCL_BIN_DIR=''
TCL_DEPS=''
TCL_INCLUDE=''
TCL_LIBRARY=''
TCL_LIB_FILE=''
TCL_LIB_FLAG=''
TCL_LIB_SPEC=''
TCL_PATCH_LEVEL=''
TCL_SRC_DIR=''
TCL_STUB_LIB_FILE=''
TCL_STUB_LIB_FLAG=''
TCL_STUB_LIB_SPEC=''
TCL_VERSION=''
TK_BIN_DIR=''
TK_DEPS=''
TK_INCLUDE=''
TK_LIBRARY=''
TK_LIB_FILE=''
TK_LIB_FLAG=''
TK_LIB_SPEC=''
TK_SRC_DIR=''
TK_STUB_LIB_FILE=''
TK_STUB_LIB_FLAG=''
TK_STUB_LIB_SPEC=''
TK_VERSION=''
TK_XINCLUDES=''
USE_NLS='yes'
VERSION='UNUSED-VERSION'
WARN_CFLAGS=''
WCHAR_H=''
WCHAR_T_SUFFIX=''
WERROR_CFLAGS=''
WIN32LDAPP=''
WIN32LIBS=''
WINDRES='windres'
WINT_T_SUFFIX=''
XGETTEXT='/usr/bin/xgettext'
XMKMF=''
X_CFLAGS=''
X_LDFLAGS=''
X_LIBS=''
YACC='bison -y'
YFLAGS=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
frags=''
gl_LIBOBJS=' memmem.o'
gl_LTLIBOBJS=''
gltests_LIBOBJS=''
gltests_LTLIBOBJS=''
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /misc/home/msnyder/esx/src-vmkgdb/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datadir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' doc testsuite'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias='i686-pc-linux-gnu'
target_cpu='i686'
target_os='linux-gnu'
target_subdir=''
target_vendor='pc'
## ------------------- ##
## File substitutions. ##
## ------------------- ##
host_makefile_frag=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define ENABLE_NLS 1
#define HAVE_DECL_MEMMEM 1
#define HAVE_MEMMEM 1
#define HAVE_LONG_LONG_INT 1
#define HAVE_UNSIGNED_LONG_LONG_INT 1
#define HAVE_INCLUDE_NEXT 1
#define HAVE_STDINT_H 1
#define HAVE_WCHAR_H 1
#define HAVE_STRING_H 1
#define restrict __restrict
#define HAVE_MEMCHR 1
#define HAVE_MEMMEM 1
#define PACKAGE "gdb"
#define DEBUGDIR "/usr/local/lib/debug"
#define DEBUGDIR_RELOCATABLE 1
#define GDB_DATADIR "/usr/local/share/gdb"
#define GDB_DATADIR_RELOCATABLE 1
#define DEFAULT_BFD_ARCH bfd_i386_arch
#define DEFAULT_BFD_VEC bfd_elf32_i386_vec
#define HAVE_MONSTARTUP 1
#define HAVE__MCLEANUP 1
#define HAVE__ETEXT 1
#define HAVE_ETEXT 1
#define PKGVERSION "(GDB) "
#define REPORT_BUGS_TO "<http://www.gnu.org/software/gdb/bugs/>"
#define HAVE_LIBM 1
#define HAVE_ZLIB_H 1
#define HAVE_ICONV 1
#define ICONV_CONST
#define HAVE_LIBEXPAT 1
configure: exit 1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Installing python for gdb
2010-01-29 19:50 ` Tom Tromey
@ 2010-01-29 20:16 ` Michael Snyder
2010-02-01 22:28 ` Michael Snyder
1 sibling, 0 replies; 9+ messages in thread
From: Michael Snyder @ 2010-01-29 20:16 UTC (permalink / raw)
To: tromey; +Cc: gdb
Tom Tromey wrote:
>>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
>
> Michael> I'm on RHEL4 with python 2.3.something, which is not one of the
> Michael> version numbers that gdb / configure will accept.
>
> In addition to what Daniel said, it may be possible to make gdb work
> with this version. I don't know, but you could try it.
Tom, I wouldn't know how. I'm staring at the configury,
and I swear I don't understand how it is supposed to work.
;-)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Installing python for gdb
2010-01-29 20:15 ` Michael Snyder
@ 2010-01-29 20:26 ` Daniel Jacobowitz
2010-01-29 20:29 ` Tom Tromey
1 sibling, 0 replies; 9+ messages in thread
From: Daniel Jacobowitz @ 2010-01-29 20:26 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb, tromey
My trick with autoconf is to first figure out which check is supposed
to fail (not always easy....). Here it is:
On Fri, Jan 29, 2010 at 12:15:21PM -0800, Michael Snyder wrote:
> /usr/local/lib/libpython2.6.a(dynload_shlib.o)(.text+0x19f):Python/dynload_shlib.c:141: undefined reference to `dlsym'
> /usr/local/lib/libpython2.6.a(dynload_shlib.o)(.text+0x1f6):Python/dynload_shlib.c:133: undefined reference to `dlerror'
Try either building python as a shared library or adding -ldl to
CFLAGS. You've found a bug in the configure check - we should add
-ldl explicitly if linking to Python.
This fight's just impossible to win with static libraries.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Installing python for gdb
2010-01-29 20:15 ` Michael Snyder
2010-01-29 20:26 ` Daniel Jacobowitz
@ 2010-01-29 20:29 ` Tom Tromey
1 sibling, 0 replies; 9+ messages in thread
From: Tom Tromey @ 2010-01-29 20:29 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb
>> It's not looking for the app, it's looking for the libraries. You
>> might need a --with-python=/usr/local or something like that?
Michael> Didn't seem to work. FYI ls /usr/local/lib | grep python
It is the right thing but something is screwy.
Michael> libpython2.6.a
Static linking may be a problem.
Michael> configure:9200: gcc -o conftest -g -DVMWARE_PIE7 -DVMWARE_VMKGDB -I/usr/local/include conftest.c -lncurses -lz -lm -L/usr/local/lib -lpython2.6 >&5
This command line looks right, but...
Michael> /usr/local/lib/libpython2.6.a(dynload_shlib.o)(.text+0x15e): In function `_PyImport_GetDynLoadFunc':
Michael> Python/dynload_shlib.c:130: undefined reference to `dlopen'
... you can errors.
Michael> /usr/local/lib/libpython2.6.a(thread.o)(.text+0x6c): In function `PyThread_start_new_thread':
Michael> Python/thread_pthread.h:181: undefined reference to `pthread_create'
... and more errors.
Michael> collect2: ld returned 1 exit status
Michael> configure:9200: $? = 1
And linking fails, so configure sensibly gives up.
You need at least -ldl and -lpthread in there, maybe more stuff.
Maybe this works out of the box for others due to libpython.so being
linked against the libraries it requires -- this doesn't happen for
static linking.
As I recall, we didn't use the pkg-config stuff here because it is
sometimes broken in python, or something like that. So I guess you will
have to add configury or set LDFLAGS or something along those lines.
Tom
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Installing python for gdb
2010-01-29 19:50 ` Tom Tromey
2010-01-29 20:16 ` Michael Snyder
@ 2010-02-01 22:28 ` Michael Snyder
2010-02-03 20:32 ` Tom Tromey
1 sibling, 1 reply; 9+ messages in thread
From: Michael Snyder @ 2010-02-01 22:28 UTC (permalink / raw)
To: tromey; +Cc: gdb
Tom Tromey wrote:
>>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
>
> Michael> I'm on RHEL4 with python 2.3.something, which is not one of the
> Michael> version numbers that gdb / configure will accept.
>
> In addition to what Daniel said, it may be possible to make gdb work
> with this version. I don't know, but you could try it.
Well I don't know if RHEL4 is important any more --
it builds on RHEL5 but not on RHEL4.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Installing python for gdb
2010-02-01 22:28 ` Michael Snyder
@ 2010-02-03 20:32 ` Tom Tromey
0 siblings, 0 replies; 9+ messages in thread
From: Tom Tromey @ 2010-02-03 20:32 UTC (permalink / raw)
To: Michael Snyder; +Cc: gdb
>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:
>> In addition to what Daniel said, it may be possible to make gdb work
>> with this version. I don't know, but you could try it.
Michael> Well I don't know if RHEL4 is important any more --
Michael> it builds on RHEL5 but not on RHEL4.
RHEL 4 is still important, but we haven't backported the new gdb to it.
FWIW, I think we're pretty unlikely to do that, but I can't promise
anything.
Tom
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-02-03 20:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-29 19:29 Installing python for gdb Michael Snyder
2010-01-29 19:41 ` Daniel Jacobowitz
2010-01-29 20:15 ` Michael Snyder
2010-01-29 20:26 ` Daniel Jacobowitz
2010-01-29 20:29 ` Tom Tromey
2010-01-29 19:50 ` Tom Tromey
2010-01-29 20:16 ` Michael Snyder
2010-02-01 22:28 ` Michael Snyder
2010-02-03 20:32 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox