Skip to Content.
Sympa Menu

freetds - Re: [freetds] Don't know what to tell Makefile.PLforDBD::SybaseonCentos

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Ed Ahlsen-Girard" <Ed.Ahlsen-girard AT tybrin.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Don't know what to tell Makefile.PLforDBD::SybaseonCentos
  • Date: Fri, 2 Jun 2006 13:31:54 -0500

Well, building from RPM works, but DBD::Sybase can't talk to it.
Building from tarball goes on strike when configure says the C
preprocessor failed its sanity check. Config.log excerpt below. It is
long.

Ed A-G

configure:2653: checking for gcc option to accept ANSI C
configure:2714: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:2717: $? = 0
configure:2720: test -s conftest.o
configure:2723: $? = 0
configure:2741: result: none needed
configure:2759: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2762: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2881: checking for style of include used by make
configure:2909: result: GNU
configure:2937: checking dependency style of gcc
configure:3005: result: gcc3
configure:3027: checking how to run the C preprocessor
configure:3063: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
configure:3069: $? = 0
configure:3101: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
configure:3103:28: ac_nonexistent.h: No such file or directory
configure:3107: $? = 1
configure: failed program was:
| #line 3092 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3145: result: gcc -E
configure:3170: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
configure:3176: $? = 0
configure:3208: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
configure:3210:28: ac_nonexistent.h: No such file or directory
configure:3214: $? = 1
configure: failed program was:
| #line 3199 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3328: checking for a sed that does not truncate output
configure:3382: result: /bin/sed
configure:3385: checking for egrep
configure:3395: result: grep -E
configure:3411: checking for ld used by gcc
configure:3478: result: /usr/bin/ld
configure:3487: checking if the linker (/usr/bin/ld) is GNU ld
configure:3502: result: yes
configure:3507: checking for /usr/bin/ld option to reload object files
configure:3514: result: -r
configure:3523: checking for BSD-compatible nm
configure:3565: result: /usr/bin/nm -B
configure:3569: checking whether ln -s works
configure:3573: result: yes
configure:3580: checking how to recognise dependent libraries
configure:3763: result: pass_all
configure:3963: checking for ANSI C header files
configure:3989: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:3992: $? = 0
configure:3995: test -s conftest.o
configure:3998: $? = 0
configure:4090: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
configure:4093: $? = 0
configure:4095: ./conftest
configure:4098: $? = 0
configure:4113: result: yes
configure:4137: checking for sys/types.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4137: checking for sys/stat.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4137: checking for stdlib.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4137: checking for string.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4137: checking for memory.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4137: checking for strings.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4137: checking for inttypes.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4137: checking for stdint.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4137: checking for unistd.h
configure:4154: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4157: $? = 0
configure:4160: test -s conftest.o
configure:4163: $? = 0
configure:4174: result: yes
configure:4200: checking dlfcn.h usability
configure:4213: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:4216: $? = 0
configure:4219: test -s conftest.o
configure:4222: $? = 0
configure:4232: result: yes
configure:4236: checking dlfcn.h presence
configure:4247: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
configure:4253: $? = 0
configure:4272: result: yes
configure:4308: checking for dlfcn.h
configure:4315: result: yes
configure:4380: checking for g++
configure:4409: result: no
configure:4380: checking for c++
configure:4409: result: no
configure:4380: checking for gpp
configure:4409: result: no
configure:4380: checking for aCC
configure:4409: result: no
configure:4380: checking for CC
configure:4409: result: no
configure:4380: checking for cxx
configure:4409: result: no
configure:4380: checking for cc++
configure:4409: result: no
configure:4380: checking for cl
configure:4409: result: no
configure:4380: checking for FCC
configure:4409: result: no
configure:4380: checking for KCC
configure:4409: result: no
configure:4380: checking for RCC
configure:4409: result: no
configure:4380: checking for xlC_r
configure:4409: result: no
configure:4380: checking for xlC
configure:4409: result: no
configure:4422: checking for C++ compiler version
configure:4425: g++ --version </dev/null >&5
./configure: line 4426: g++: command not found
configure:4428: $? = 127
configure:4430: g++ -v </dev/null >&5
./configure: line 4431: g++: command not found
configure:4433: $? = 127
configure:4435: g++ -V </dev/null >&5
./configure: line 4436: g++: command not found
configure:4438: $? = 127
configure:4441: checking whether we are using the GNU C++ compiler
configure:4466: g++ -c -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4467: g++: command not found
configure:4469: $? = 127
configure: failed program was:
| #line 4446 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:4488: result: no
configure:4494: checking whether g++ accepts -g
configure:4516: g++ -c -g -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4517: g++: command not found
configure:4519: $? = 127
configure: failed program was:
| #line 4499 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4536: result: no
configure:4580: g++ -c -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4581: g++: command not found
configure:4583: $? = 127
configure: failed program was:
| #line 4562 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <stdlib.h>
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4580: g++ -c -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4581: g++: command not found
configure:4583: $? = 127
configure: failed program was:
| #line 4562 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <stdlib.h>
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4580: g++ -c -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4581: g++: command not found
configure:4583: $? = 127
configure: failed program was:
| #line 4562 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <stdlib.h>
| extern "C" void std::exit (int) throw (); using std::exit;
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4580: g++ -c -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4581: g++: command not found
configure:4583: $? = 127
configure: failed program was:
| #line 4562 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <stdlib.h>
| extern "C" void std::exit (int); using std::exit;
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4580: g++ -c -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4581: g++: command not found
configure:4583: $? = 127
configure: failed program was:
| #line 4562 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <stdlib.h>
| extern "C" void exit (int) throw ();
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4580: g++ -c -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4581: g++: command not found
configure:4583: $? = 127
configure: failed program was:
| #line 4562 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <stdlib.h>
| extern "C" void exit (int);
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4580: g++ -c -D_FREETDS_LIBRARY_SOURCE conftest.cc >&5
./configure: line 4581: g++: command not found
configure:4583: $? = 127
configure: failed program was:
| #line 4562 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <stdlib.h>
| void exit (int);
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4650: checking dependency style of g++
configure:4718: result: none
configure:4740: checking how to run the C++ preprocessor
configure:4772: g++ -E -D_FREETDS_LIBRARY_SOURCE conftest.cc
./configure: line 4773: g++: command not found
configure:4778: $? = 127
configure: failed program was:
| #line 4758 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4772: g++ -E -D_FREETDS_LIBRARY_SOURCE conftest.cc
./configure: line 4773: g++: command not found
configure:4778: $? = 127
configure: failed program was:
| #line 4758 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4772: /lib/cpp -D_FREETDS_LIBRARY_SOURCE conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or
directory
configure:4778: $? = 1
configure: failed program was:
| #line 4758 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4772: /lib/cpp -D_FREETDS_LIBRARY_SOURCE conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or
directory
configure:4778: $? = 1
configure: failed program was:
| #line 4758 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4854: result: /lib/cpp
configure:4879: /lib/cpp -D_FREETDS_LIBRARY_SOURCE conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or
directory
configure:4885: $? = 1
configure: failed program was:
| #line 4865 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4879: /lib/cpp -D_FREETDS_LIBRARY_SOURCE conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or
directory
configure:4885: $? = 1
configure: failed program was:
| #line 4865 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.63"
| #define _GNU_SOURCE 1
| #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 HAVE_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4953: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Bort, Paul
Sent: Friday, June 02, 2006 10:24 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Don't know what to tell
Makefile.PLforDBD::SybaseonCentos

If you build RPMs from the rpmbuild included in the source tarball you
get a -devel package. (And the main package, of course.) There might be
a third RPM, I don't recall.

> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org
> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Ed
> Ahlsen-Girard
> Sent: Friday, June 02, 2006 10:43 AM
> To: FreeTDS Development Group
> Subject: Re: [freetds] Don't know what to tell Makefile.PL
> forDBD::SybaseonCentos
>
> Hmm. Where is the devel package? SourceForge as linked from the
> freetds.org page doesn't actually have anything, and the CVS site
> (again, as linked from freetds) does not even load.
>
> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org
> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Ed
> Ahlsen-Girard
> Sent: Friday, June 02, 2006 8:44 AM
> To: FreeTDS Development Group
> Subject: Re: [freetds] Don't know what to tell Makefile.PL for
> DBD::SybaseonCentos
>
> I'll try grabbing the devel package then, since there appear to be
> some quirks in the way yum installed in the first place.
>
> >-----Original Message-----
> >From: freetds-bounces AT lists.ibiblio.org
> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Bort, Paul
> >Sent: Friday, June 02, 2006 8:22 AM
> >To: FreeTDS Development Group
> >Subject: Re: [freetds] Don't know what to tell Makefile.PL for
> DBD::Sybaseon Centos
> >
> >I can confirm that you cannot successfully build DBD::Sybase against
> FreeTDS without either (a) a complete install from source, or (b) the
> freetds-devel package if installing from RPMs. It has to have the
> header files.
> >
> >
> >
> >> -----Original Message-----
> >> From: freetds-bounces AT lists.ibiblio.org
> >> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of James K.
> >> Lowden
> >> Sent: Thursday, June 01, 2006 10:16 PM
> >> To: FreeTDS Development Group
> >> Subject: Re: [freetds] Don't know what to tell Makefile.PL for
> >> DBD::Sybase on Centos
> >>
> >> Ed Ahlsen-Girard wrote:
> >> >
> >> > My results were:
> >> >
> >> > ldd $(command -v freebcp)
> >> > libsybdb.so.5 => /usr/lib/libsybdb.so.5 (0x0059b000)
> >> > libc.so.6 => /lib/tls/libc.so.6 (0x0032e000)
> >> > /lib/ld-linux.so.2 (0x00315000)
> >> >
> >> > My results from env SYBASE=/usr perl ./Makefile.PL are:
> >> >
> >> > Can't find the Client Library include files under /usr at
> >> ./Makefile.PL
> >> > line 129, <IN> line 44.
> >> >
> >> > Any reason that using bash would foul this up?
> >>
> >> OK, that's progress of a kind. And no, I don't think bash is the
> >> problem.
> >>
> >>
> >> The message is quite clear: the build can't find the
> "client library
> >> include files". Those would be the header files. Behold:
> >>
> >> $ ls /usr/local/include/ct*
> >> /usr/local/include/ctlib.h
> >> /usr/local/include/ctpublic.h
> >>
> >> There are others besides. Yours of course should be in
> /usr/include.
>
> >> That would help a bunch. (If they're there, then I don't
> know what
> >> could be wrong.)
> >>
> >> Is it possible you need some kind of devel package? If I knew for
> >> sure you were missing only the .h files, I'd suggest you
> download and
>
> >> build the source tarball, and copy them to /usr/include.
> But I don't
>
> >> know what else might be missing.
> >>
> >> --jkl
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds



  • Re: [freetds] Don't know what to tell Makefile.PLforDBD::SybaseonCentos, Ed Ahlsen-Girard, 06/02/2006

Archive powered by MHonArc 2.6.24.

Top of Page