powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / MySQL [игнор отключен] [закрыт для гостей] / Ошибка при компиляции MYSQL
2 сообщений из 2, страница 1 из 1
Ошибка при компиляции MYSQL
    #33398405
@NET
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Пытаюсь сконфигурировать и установить мускул из исходников.
OS Solaris 10 X86. Mysql 4.1.15
Хочу скомпилить сановским компилятором, а не gcc.

Пишу
авторCC="cc" CXX="CC" CFLAGS=" -xparallel -fast -xtarget=opteron -xarch=amd64" \
> LDFLAGS=" -xparallel -fast -xarch=amd64" \
> ./configure --prefix=/web/mysql \
> --localstatedir=/web/mysql/data \
> --with-unix-socket-path=/web/mysql/tmp/mysql.sock \
> --with-mysqld-user=mysql --with-extra-charsets=complex --enable-assembler \
> --with-charsets=cp1251 --with-berkeley-db=/usr/local/BerkeleyDB.4.2 \
> --with-berkeley-db-includes=/usr/local/BerkeleyDB.4.2/inclide \
> --with-berkeley-db-libs=/usr/local/BerkeleyDB.4.2/lib \
> --with-openssl=/usr/local/ssl --with-libwrap

лезет ошибка
configure: error: C compiler cannot create executables

Вот что пишут на сайте мускула про аналогичную ошибку http://dev.mysql.com/doc/refman/4.0/ru/compilation-problems.html


Если кто-нить сталкивался с этим не подскажете, как исправить?

Вот что пишет конфиг в config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --prefix=/web/mysql

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

hostname = REX
uname -m = i86pc
uname -r = 5.10
uname -s = SunOS
uname -v = Generic

/usr/bin/uname -p = i386
/bin/uname -X = System = SunOS
Node = REX
Release = 5.10
KernelID = Generic
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

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

PATH: /usr/sfw/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /usr/ccs/bin
PATH: /usr/ucb
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /opt/sfw/bin
PATH: /opt/sfw/sbin
PATH: /opt/SUNWspro/bin


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

configure:1676: checking build system type
configure:1694: result: i386-pc-solaris2.10
configure:1702: checking host system type
configure:1716: result: i386-pc-solaris2.10
configure:1724: checking target system type
configure:1738: result: i386-pc-solaris2.10
configure:1768: checking for a BSD-compatible install
configure:1823: result: /opt/sfw/bin/ginstall -c
configure:1834: checking whether build environment is sane
configure:1852: result: yes
configure:1909: checking for gawk
configure:1938: result: no
configure:1909: checking for mawk
configure:1938: result: no
configure:1909: checking for nawk
configure:1925: found /usr/bin/nawk
configure:1935: result: nawk
configure:1945: checking whether make sets $(MAKE)
configure:1965: result: yes
configure:2268: checking whether build environment is sane
configure:2286: result: yes
configure:2289: checking whether make sets $(MAKE)
configure:2309: result: yes
configure:2397: checking for gawk
configure:2423: result: nawk
configure:2479: checking for gcc
configure:2505: result: cc
configure:2749: checking for C compiler version
configure:2752: cc --version </dev/null >&5
cc: Warning: option -- passed to ld
usage: cc [ options] files. Use 'cc -flags' for details
configure:2755: $? = 1
configure:2757: cc -v </dev/null >&5
usage: cc [ options] files. Use 'cc -flags' for details
configure:2760: $? = 1
configure:2762: cc -V </dev/null >&5
cc: Sun C 5.7 2005/01/07
usage: cc [ options] files. Use 'cc -flags' for details
configure:2765: $? = 1
configure:2788: checking for C compiler default output file name
configure:2791: cc conftest.c >&5
configure:2794: $? = 0
configure:2840: result: a.out
configure:2845: checking whether the C compiler works
configure:2851: ./a.out
configure:2854: $? = 0
configure:2871: result: yes
configure:2878: checking whether we are cross compiling
configure:2880: result: no
configure:2883: checking for suffix of executables
configure:2885: cc -o conftest conftest.c >&5
configure:2888: $? = 0
configure:2913: result:
configure:2919: checking for suffix of object files
configure:2940: cc -c conftest.c >&5
configure:2943: $? = 0
configure:2965: result: o
configure:2969: checking whether we are using the GNU C compiler
configure:2993: cc -c conftest.c >&5
"conftest.c", line 24: undefined symbol: choke
"conftest.c", line 24: syntax error before or at: me
cc: acomp failed for conftest.c
configure:2999: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:3025: result: no
configure:3031: checking whether cc accepts -g
configure:3052: cc -c -g conftest.c >&5
configure:3058: $? = 0
configure:3062: test -z
|| test ! -s conftest.err
configure:3065: $? = 0
configure:3068: test -s conftest.o
configure:3071: $? = 0
configure:3082: result: yes
configure:3099: checking for cc option to accept ANSI C
configure:3169: cc -c conftest.c >&5
"conftest.c", line 36: va_start: argument mismatch
"conftest.c", line 62: warning: statement not reached
configure:3175: $? = 0
configure:3179: test -z
|| test ! -s conftest.err
configure:3182: $? = 0
configure:3185: test -s conftest.o
configure:3188: $? = 0
configure:3206: result: none needed
configure:3224: cc -c conftest.c >&5
"conftest.c", line 2: warning: old-style declaration or incorrect type for: choke
"conftest.c", line 2: syntax error before or at: me
"conftest.c", line 3: warning: old-style declaration or incorrect type for: me
cc: acomp failed for conftest.c
configure:3230: $? = 2
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3375: checking for style of include used by make
configure:3403: result: GNU
configure:3431: checking dependency style of cc
configure:3516: result: none
configure:3627: checking for C++ compiler version
configure:3630: CC --version </dev/null >&5
CC: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
/usr/ccs/bin/ld: illegal option -- version
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
[-64] enforce a 64-bit link-edit
[-a] create an absolute file
[-b] do not do special PIC relocations in a.out
[-B direct] specify `direct' bindings for executable when run
[-B dynamic | static]
search for shared libraries|archives
[-B eliminate] eliminate unqualified global symbols from the
symbol table
[-B group] relocate object from within group
[-B local] reduce unqualified global symbols to local
[-B reduce] process symbol reductions
[-B symbolic] bind external references to definitions when creating
shared objects
[-c name] record configuration file `name'
[-C] demangle C++ symbol name diagnostics
[-d y | n] operate in dynamic|static mode
[-D token,...] print diagnostic messages
[-e epsym] use `epsym' as entry point address
[-f name] specify library for which this file is an auxiliary
filter
[-F name] specify library for which this file is a filter
[-G] create a shared object
[-h name] use `name' as internal shared object identifier
[-i] ignore LD_LIBRARY_PATH setting
[-I name] use `name' as path of interpreter
[-l x] search for libx.so or libx.a
[-L path] search for libraries in directory `path'
[-m] print memory map
[-M mapfile] use processing directives contained in `mapfile'
[-N string] create a dynamic dependency for `string'
[-o outfile] name the output file `outfile'
[-p auditlib] identify audit library to accompany this object
[-P auditlib] identify audit library for processing the dependencies
of this object
[-Q y | n] do|do not place version information in output file
[-r] create a relocatable object
[-R path] specify a library search path to be used at run time
[-s] strip any symbol and debugging information
[-S supportlib]
specify a link-edit support library
[-t] do not warn of multiply-defined symbols that have
different sizes or alignments
[-u symname] create an undefined symbol `symname'
[-V] print version information
[-Y P,dirlist] use `dirlist' as a default path when searching for
libraries
[-z absexec] when building an executable absolute symbols
referenced in dynamic objects are promoted to
the executable
[-z allextract | defaultextract | weakextract]
extract all member files, only members that resolve
undefined tor tentative symbols, or allow extraction of
archive members to resolvetweak references from
archive files
[-z combreloc] combine multiple relocation sections
[-z nocompstrtab]
disable compression of string tables
[-z defs] disallow undefined symbol references
[-z direct | nodirect]
enable|disable direct binding to shared object
dependencies
[-z endfiltee] marks a filtee such that it will terminate a filters
search
[-z finiarray=function]
name of function to be appended to the .finiarray
[-z groupperm | nogroupperm]
enable|disable setting of group permissions
on dynamic dependencies
[-z ignore | record]
ignore|record unused dynamic dependencies
[-z initarray=function]
name of function to be appended to the .initarray
[-z initfirst] mark object to indicate that its .init section should
be executed before the .init section of any other
objects
[-z interpose] dynamic object is to be an `interposer' on direct
bindings
[-z lazyload | nolazyload]
enable|disable delayed loading of shared object
dependencies
[-z ld32=arg1,arg2,...]
define arguments applicable to the 32-bit class of ld(1)
[-z ld64=arg1,arg2,...]
define arguments applicable to the 64-bit class of ld(1)
[-z loadfltr] mark filter as requiring immediate loading of its
filtees at runtime
[-z muldefs] allow multiply-defined symbols
[-z nodefs] allow undefined symbol references
[-z nodefaultlib]
mark object to ignore any default library search path
[-z nodelete] mark object as non-deletable
[-z nodlopen] mark object as non-dlopen()'able
[-z nodump] mark object as non-dldump()'able
[-z nopartial] expand any partially initialized symbols
[-z noversion] don't record any version sections
[-z now] mark object as requiring non-lazy binding
[-z origin] mark object as requiring $ORIGIN processing
[-z preinitarray=function]
name of function to be appended to the .preinitarray
[-z redlocsym] reduce local syms in .symtab to a minimum
[-z rescan] rescan archive list until no further member
extraction occurs
[-z text] disallow output relocations against text
[-z textoff] allow output relocations against text
[-z textwarn] warn if there are relocations against text
[-z verbose] generate warnings for suspicious processings
configure:3633: $? = 1
configure:3635: CC -v </dev/null >&5
### command line files and options (expanded):
### -v
### CC: Note: NLSPATH = /opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
configure:3638: $? = 0
configure:3640: CC -V </dev/null >&5
CC: Sun C++ 5.7 2005/01/07
configure:3643: $? = 0
configure:3646: checking whether we are using the GNU C++ compiler
configure:3670: CC -c conftest.cc >&5
"conftest.cc", line 24: Error: choke is not defined.
1 Error(s) detected.
configure:3676: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:3702: result: no
configure:3708: checking whether CC accepts -g
configure:3729: CC -c -g conftest.cc >&5
configure:3735: $? = 0
configure:3739: test -z
|| test ! -s conftest.err
configure:3742: $? = 0
configure:3745: test -s conftest.o
configure:3748: $? = 0
configure:3759: result: yes
configure:3802: CC -c conftest.cc >&5
configure:3808: $? = 0
configure:3812: test -z
|| test ! -s conftest.err
configure:3815: $? = 0
configure:3818: test -s conftest.o
configure:3821: $? = 0
configure:3847: CC -c conftest.cc >&5
"conftest.cc", line 23: Error: The function "exit" must have a prototype.
1 Error(s) detected.
configure:3853: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3802: CC -c conftest.cc >&5
"conftest.cc", line 19: Error: The class member exit(int) cannot be declared outside the class.
"conftest.cc", line 19: Error: exit is not a member of std.
2 Error(s) detected.
configure:3808: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3802: CC -c conftest.cc >&5
"conftest.cc", line 19: Error: The class member exit(int) cannot be declared outside the class.
"conftest.cc", line 19: Error: exit is not a member of std.
2 Error(s) detected.
configure:3808: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3802: CC -c conftest.cc >&5
"/usr/include/iso/stdlib_iso.h", line 124: Error: The prior declaration for std::exit(int) has an exception specification.
1 Error(s) detected.
configure:3808: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| /* end confdefs.h. */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3802: CC -c conftest.cc >&5
configure:3808: $? = 0
configure:3812: test -z
|| test ! -s conftest.err
configure:3815: $? = 0
configure:3818: test -s conftest.o
configure:3821: $? = 0
configure:3847: CC -c conftest.cc >&5
configure:3853: $? = 0
configure:3857: test -z
|| test ! -s conftest.err
configure:3860: $? = 0
configure:3863: test -s conftest.o
configure:3866: $? = 0
configure:3891: checking dependency style of CC
configure:3976: result: none
configure:3998: checking how to run the C preprocessor
configure:4033: cc -E conftest.c
configure:4039: $? = 0
configure:4071: cc -E conftest.c
"conftest.c", line 22: Can't find include file ac_nonexistent.h
cc: preprocessor failed for conftest.c
configure:4077: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4116: result: cc -E
configure:4140: cc -E conftest.c
configure:4146: $? = 0
configure:4178: cc -E conftest.c
"conftest.c", line 22: Can't find include file ac_nonexistent.h
cc: preprocessor failed for conftest.c
configure:4184: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4239: checking "C Compiler version"
configure:4241: result: "cc "
configure:4256: checking "C++ compiler version"
configure:4258: result: "CC "
configure:4283: checking for as
configure:4301: found /usr/ccs/bin/as
configure:4314: result: /usr/ccs/bin/as
configure:4364: checking for ranlib
configure:4380: found /usr/ccs/bin/ranlib
configure:4391: result: ranlib
configure:4477: checking for a sed that does not truncate output
configure:4531: result: /usr/bin/sed
configure:4534: checking for egrep
configure:4544: result: egrep
configure:4593: checking for non-GNU ld
configure:4627: result: /usr/ccs/bin/ld
configure:4636: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:4651: result: no
configure:4656: checking for /usr/ccs/bin/ld option to reload object files
configure:4663: result: -r
configure:4672: checking for BSD-compatible nm
configure:4714: result: /usr/ccs/bin/nm -p
configure:4718: checking whether ln -s works
configure:4722: result: yes
configure:4729: checking how to recognise dependent libraries
configure:4912: result: pass_all
configure:5122: checking for ANSI C header files
configure:5147: cc -c conftest.c >&5
configure:5153: $? = 0
configure:5157: test -z
|| test ! -s conftest.err
configure:5160: $? = 0
configure:5163: test -s conftest.o
configure:5166: $? = 0
configure:5255: cc -o conftest conftest.c >&5
configure:5258: $? = 0
configure:5260: ./conftest
configure:5263: $? = 0
configure:5278: result: yes
configure:5302: checking for sys/types.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5302: checking for sys/stat.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5302: checking for stdlib.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5302: checking for string.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5302: checking for memory.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5302: checking for strings.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5302: checking for inttypes.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5302: checking for stdint.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5302: checking for unistd.h
configure:5318: cc -c conftest.c >&5
configure:5324: $? = 0
configure:5328: test -z
|| test ! -s conftest.err
configure:5331: $? = 0
configure:5334: test -s conftest.o
configure:5337: $? = 0
configure:5348: result: yes
configure:5374: checking dlfcn.h usability
configure:5386: cc -c conftest.c >&5
configure:5392: $? = 0
configure:5396: test -z
|| test ! -s conftest.err
configure:5399: $? = 0
configure:5402: test -s conftest.o
configure:5405: $? = 0
configure:5415: result: yes
configure:5419: checking dlfcn.h presence
configure:5429: cc -E conftest.c
configure:5435: $? = 0
configure:5455: result: yes
configure:5490: checking for dlfcn.h
configure:5497: result: yes
configure:5515: checking how to run the C++ preprocessor
configure:5546: CC -E conftest.cc
configure:5552: $? = 0
configure:5584: CC -E conftest.cc
"conftest.cc", line 33: Error: Could not open include file<ac_nonexistent.h>.
1 Error(s) detected.
configure:5590: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #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 <ac_nonexistent.h>
configure:5629: result: CC -E
configure:5653: CC -E conftest.cc
configure:5659: $? = 0
configure:5691: CC -E conftest.cc
"conftest.cc", line 33: Error: Could not open include file<ac_nonexistent.h>.
1 Error(s) detected.
configure:5697: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #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 <ac_nonexistent.h>
configure:5792: checking for g77
configure:5808: found /opt/sfw/bin/g77
configure:5818: result: g77
configure:5833: checking for Fortran 77 compiler version
configure:5836: g77 --version </dev/null >&5
GNU Fortran (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING
or type the command `info -f g77 Copying'.
configure:5839: $? = 0
configure:5841: g77 -v </dev/null >&5
Reading specs from /opt/sfw/lib/gcc/i386-pc-solaris2.10/3.4.2/specs
Configured with: ../gcc-3.4.2/configure --prefix=/opt/sfw --with-ld=/usr/ccs/bin/ld --with-gnu-as --with-as=/opt/sfw/bin/gas --enable-shared --disable-libgcj
Thread model: posix
gcc version 3.4.2
configure:5844: $? = 0
configure:5846: g77 -V </dev/null >&5
g77: `-V' option must have argument
configure:5849: $? = 1
configure:5857: checking whether we are using the GNU Fortran 77 compiler
configure:5871: g77 -c conftest.F >&5
configure:5877: $? = 0
configure:5881: test -z
|| test ! -s conftest.err
configure:5884: $? = 0
configure:5887: test -s conftest.o
configure:5890: $? = 0
configure:5903: result: yes
configure:5909: checking whether g77 accepts -g
configure:5921: g77 -c -g conftest.f >&5
configure:5927: $? = 0
configure:5931: test -z
|| test ! -s conftest.err
configure:5934: $? = 0
configure:5937: test -s conftest.o
configure:5940: $? = 0
configure:5952: result: yes
configure:5982: checking the maximum length of command line arguments
configure:6047: result: 262144
configure:6058: checking command to parse /usr/ccs/bin/nm -p output from cc object
configure:6147: cc -c conftest.c >&5
configure:6150: $? = 0
configure:6154: /usr/ccs/bin/nm -p conftest.o \| sed -n -e 's/^.*[ ]\([BDRT][BDRT]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm
configure:6157: $? = 0
configure:6209: cc -o conftest conftest.c conftstm.o >&5
configure:6212: $? = 0
configure:6250: result: ok
configure:6254: checking for objdir
configure:6269: result: .libs
configure:6359: checking for ar
configure:6375: found /usr/ccs/bin/ar
configure:6386: result: ar
configure:6439: checking for ranlib
configure:6466: result: ranlib
configure:6519: checking for strip
configure:6535: found /usr/ccs/bin/strip
configure:6546: result: strip
configure:6808: checking if cc static flag works
configure:6831: result: yes
configure:6897: checking for cc option to produce PIC
configure:7074: result: -KPIC
configure:7082: checking if cc PIC flag -KPIC works
configure:7100: cc -c -KPIC -DPIC conftest.c >&5
configure:7104: $? = 0
configure:7115: result: yes
configure:7139: checking if cc supports -c -o file.o
configure:7160: cc -c -o out/conftest2.o conftest.c >&5
configure:7164: $? = 0
configure:7184: result: yes
configure:7210: checking whether the cc linker (/usr/ccs/bin/ld) supports shared libraries
configure:8058: result: yes
configure:8129: checking dynamic linker characteristics
configure:8690: result: solaris2.10 ld.so
configure:8694: checking how to hardcode library paths into programs
configure:8719: result: immediate
configure:8733: checking whether stripping libraries is possible
configure:8754: result: no
configure:9568: checking if libtool supports shared libraries
configure:9570: result: yes
configure:9573: checking whether to build shared libraries
configure:9631: result: yes
configure:9634: checking whether to build static libraries
configure:9638: result: yes
configure:9730: creating libtool
configure:10419: checking whether the CC linker (/usr/ccs/bin/ld) supports shared libraries
configure:11247: result: yes
configure:11265: CC -c conftest.cc >&5
configure:11268: $? = 0
configure:11364: checking for CC option to produce PIC
configure:11616: result: -KPIC
configure:11624: checking if CC PIC flag -KPIC works
configure:11642: CC -c -KPIC -DPIC conftest.cc >&5
configure:11646: $? = 0
configure:11657: result: yes
configure:11681: checking if CC supports -c -o file.o
configure:11702: CC -c -o out/conftest2.o conftest.cc >&5
configure:11706: $? = 0
configure:11726: result: yes
configure:11752: checking whether the CC linker (/usr/ccs/bin/ld) supports shared libraries
configure:11777: result: yes
configure:11848: checking dynamic linker characteristics
configure:12409: result: solaris2.10 ld.so
configure:12413: checking how to hardcode library paths into programs
configure:12438: result: immediate
configure:12452: checking whether stripping libraries is possible
configure:12473: result: no
configure:13764: checking if libtool supports shared libraries
configure:13766: result: yes
configure:13769: checking whether to build shared libraries
configure:13787: result: yes
configure:13790: checking whether to build static libraries
configure:13794: result: yes
configure:13806: checking for g77 option to produce PIC
configure:13983: result: -KPIC
configure:13991: checking if g77 PIC flag -KPIC works
configure:14009: g77 -c -g -O2 -KPIC conftest.f >&5
g77: unrecognized option `-KPIC'
configure:14013: $? = 0
configure:14024: result: no
configure:14048: checking if g77 supports -c -o file.o
configure:14069: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5
configure:14073: $? = 0
configure:14093: result: yes
configure:14119: checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries
configure:14947: result: yes
configure:15018: checking dynamic linker characteristics
configure:15579: result: solaris2.10 ld.so
configure:15583: checking how to hardcode library paths into programs
configure:15608: result: immediate
configure:15622: checking whether stripping libraries is possible
configure:15643: result: no
configure:19755: checking for a BSD-compatible install
configure:19810: result: /opt/sfw/bin/ginstall -c
configure:19828: checking for bison
configure:19844: found /usr/sfw/bin/bison
configure:19854: result: bison -y
configure:19867: checking for pdftex
configure:19896: result: no
configure:19902: checking for tex
configure:19931: result: no
configure:19936: checking "return type of sprintf"
configure:19975: cc -o conftest conftest.c >&5
configure:19978: $? = 0
configure:19980: ./conftest
configure:19983: $? = 255
configure: program exited with status 255
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #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()
| {
| char* s = "hello";
| char buf[6];
| if((int)sprintf(buf, s) == strlen(s))
| return 0;
|
| return -1;
| }
|
configure:20022: cc -o conftest conftest.c >&5
configure:20025: $? = 0
configure:20027: ./conftest
configure:20030: $? = 255
configure: program exited with status 255
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #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()
| {
| char* s = "hello";
| char buf[6];
| if((char*)sprintf(buf,s) == buf + strlen(s))
| return 0;
| return -1;
| }
configure:20050: result: "garbage"
configure:20076: checking for uname
configure:20094: found /usr/bin/uname
configure:20107: result: /usr/bin/uname
configure:20117: checking operating system
configure:20131: result: SunOS
configure:20335: checking "if we should use 'skip-locking' as default for solaris2.10"
configure:20352: result: "no"
configure:20360: checking for ln
configure:20378: found /usr/bin/ln
configure:20391: result: /usr/bin/ln
configure:20401: checking for ln
configure:20419: found /usr/bin/ln
configure:20432: result: /usr/bin/ln
configure:20448: checking for mv
configure:20466: found /usr/bin/mv
configure:20479: result: /usr/bin/mv
configure:20488: checking for rm
configure:20506: found /usr/bin/rm
configure:20519: result: /usr/bin/rm
configure:20528: checking for cp
configure:20546: found /usr/bin/cp
configure:20559: result: /usr/bin/cp
configure:20568: checking for sed
configure:20599: result: /usr/bin/sed
configure:20608: checking for cmp
configure:20626: found /usr/bin/cmp
configure:20639: result: /usr/bin/cmp
configure:20648: checking for chmod
configure:20666: found /usr/bin/chmod
configure:20679: result: /usr/bin/chmod
configure:20688: checking for hostname
configure:20706: found /usr/bin/hostname
configure:20719: result: /usr/bin/hostname
configure:20732: checking for gnutar
configure:20761: result: no
configure:20732: checking for gtar
configure:20748: found /usr/sfw/bin/gtar
configure:20758: result: gtar
configure:20771: checking for perl
configure:20789: found /usr/bin/perl
configure:20802: result: /usr/bin/perl
configure:20868: checking for doxygen
configure:20899: result: no
configure:20908: checking for pdflatex
configure:20939: result: no
configure:20948: checking for makeindex
configure:20979: result: no
configure:20993: checking for ps
configure:21011: found /usr/bin/ps
configure:21024: result: /usr/bin/ps
configure:21031: checking "how to check if pid exists"
configure:21075: result: "/usr/bin/ps -p $$PID | grep -v grep | grep mysqld > /dev/null"
configure:21081: checking for kill
configure:21099: found /usr/bin/kill
configure:21112: result: /usr/bin/kill
configure:21119: checking "for kill switches"
configure:21133: result: "/usr/bin/kill -0 $$PID > /dev/null 2> /dev/null"
configure:21138: checking for cc option to accept ANSI C
configure:21182: cc -c conftest.c >&5
"conftest.c", line 35: warning: old-style declaration or incorrect type for: choke
"conftest.c", line 35: syntax error before or at: me
"conftest.c", line 43: warning: old-style declaration or incorrect type for: me
cc: acomp failed for conftest.c
configure:21188: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #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
| #define SPRINTF_RETURNS_GARBAGE 1
| /* end confdefs.h. */
| #if !defined(__STDC__)
| choke me
| #endif
| /* DYNIX/ptx V4.1.3 can't compile sys/stat.h with -Xc -D__EXTENSIONS__. */
| #ifdef _SEQUENT_
| # include <sys/types.h>
| # include <sys/stat.h>
| #endif
|
| int
| main ()
| {
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| ;
| return 0;
| }
configure:21182: cc -qlanglvl=ansi -c conftest.c >&5
cc: illegal option -qlanglvl=ansi
configure:21188: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #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
| #define SPRINTF_RETURNS_GARBAGE 1
| /* end confdefs.h. */
| #if !defined(__STDC__)
| choke me
| #endif
| /* DYNIX/ptx V4.1.3 can't compile sys/stat.h with -Xc -D__EXTENSIONS__. */
| #ifdef _SEQUENT_
| # include <sys/types.h>
| # include <sys/stat.h>
| #endif
|
| int
| main ()
| {
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| ;
| return 0;
| }
configure:21182: cc -std1 -c conftest.c >&5
cc: Warning: illegal option -d1
"conftest.c", line 35: warning: old-style declaration or incorrect type for: choke
"conftest.c", line 35: syntax error before or at: me
"conftest.c", line 43: warning: old-style declaration or incorrect type for: me
cc: acomp failed for conftest.c
configure:21188: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #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
| #define SPRINTF_RETURNS_GARBAGE 1
| /* end confdefs.h. */
| #if !defined(__STDC__)
| choke me
| #endif
| /* DYNIX/ptx V4.1.3 can't compile sys/stat.h with -Xc -D__EXTENSIONS__. */
| #ifdef _SEQUENT_
| # include <sys/types.h>
| # include <sys/stat.h>
| #endif
|
| int
| main ()
| {
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| ;
| return 0;
| }
configure:21182: cc -Aa -D_HPUX_SOURCE -c conftest.c >&5
unknown flag -Aa
"conftest.c", line 35: warning: old-style declaration or incorrect type for: choke
"conftest.c", line 35: syntax error before or at: me
"conftest.c", line 43: warning: old-style declaration or incorrect type for: me
cc: acomp failed for conftest.c
configure:21188: $? = 2
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.15"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 4
| #define NDB_VERSION_MINOR 1
| #define NDB_VERSION_BUILD 15
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-solaris2.10"
| #define MACHINE_TYPE "i386"
| #ifdef __cplusplus
| extern "C" void exit (int);
| #endif
| #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
| #define SPRINTF_RETURNS_GARBAGE 1
| /* end confdefs.h. */
| #if !defined(__STDC__)
| choke me
| #endif
| /* DYNIX/ptx V4.1.3 can't compile sys/stat.h with -Xc -D__EXTENSIONS__. */
| #ifdef _SEQUENT_
| # include <sys/types.h>
| # include <sys/stat.h>
| #endif
|
| int
| main ()
| {
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| ;
| return 0;
| }
configure:21215: result: no
configure:21234: error: MySQL requires an ANSI C compiler (and a C++ compiler). Try gcc. See the Installation chapter in the Reference Manual.

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

ac_cv_build=i386-pc-solaris2.10
ac_cv_build_alias=i386-pc-solaris2.10
ac_cv_c_compiler_gnu=no
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=CC
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_f77_compiler_gnu=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
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_host=i386-pc-solaris2.10
ac_cv_host_alias=i386-pc-solaris2.10
ac_cv_objext=o
ac_cv_path_AS=/usr/ccs/bin/as
ac_cv_path_CHMOD=/usr/bin/chmod
ac_cv_path_CMP=/usr/bin/cmp
ac_cv_path_CP=/usr/bin/cp
ac_cv_path_DOXYGEN=no
ac_cv_path_HOSTNAME=/usr/bin/hostname
ac_cv_path_KILL=/usr/bin/kill
ac_cv_path_LN=/usr/bin/ln
ac_cv_path_LN_CP_F=/usr/bin/ln
ac_cv_path_MAKEINDEX=no
ac_cv_path_MV=/usr/bin/mv
ac_cv_path_PDFLATEX=no
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_PS=/usr/bin/ps
ac_cv_path_RM=/usr/bin/rm
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/opt/sfw/bin/ginstall -c'
ac_cv_path_uname_prog=/usr/bin/uname
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_CXXCPP='CC -E'
ac_cv_prog_TAR=gtar
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_ac_ct_F77=g77
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep=egrep
ac_cv_prog_f77_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=i386-pc-solaris2.10
ac_cv_target_alias=i386-pc-solaris2.10
am_cv_CC_dependencies_compiler_type=none
am_cv_CXX_dependencies_compiler_type=none
am_cv_prog_cc_stdc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/ccs/bin/ld
lt_cv_path_LDCXX=
lt_cv_path_NM='/usr/ccs/bin/nm -p'
lt_cv_path_SED=/usr/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_c_o_F77=yes
lt_cv_prog_gnu_ld=no
lt_cv_prog_gnu_ldcxx=
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BDRT][BDRT]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\'''
lt_cv_sys_max_cmd_len=262144
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
lt_lt_cv_prog_compiler_c_o_F77='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([BDRT][BDRT]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"'
mysql_cv_sys_os=SunOS

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

ACLOCAL='${SHELL} /web/source/mysql-4.1.15/missing --run aclocal-1.8'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /web/source/mysql-4.1.15/missing --run tar'
AR='ar'
AS='/usr/ccs/bin/as'
ASSEMBLER_FALSE=''
ASSEMBLER_TRUE=''
ASSEMBLER_sparc32_FALSE=''
ASSEMBLER_sparc32_TRUE=''
ASSEMBLER_sparc64_FALSE=''
ASSEMBLER_sparc64_TRUE=''
ASSEMBLER_x86_FALSE=''
ASSEMBLER_x86_TRUE=''
AUTOCONF='${SHELL} /web/source/mysql-4.1.15/missing --run autoconf'
AUTOHEADER='${SHELL} /web/source/mysql-4.1.15/missing --run autoheader'
AUTOMAKE='${SHELL} /web/source/mysql-4.1.15/missing --run automake-1.8'
AVAILABLE_LANGUAGES='czech danish dutch english estonian french german greek hungarian italian japanese japanese-sjis korean norwegian norwegian-ny polish portuguese romanian russian serbian slovak spanish swedish ukrainian'
AVAILABLE_LANGUAGES_ERRORS=' czech/errmsg.sys danish/errmsg.sys dutch/errmsg.sys english/errmsg.sys estonian/errmsg.sys french/errmsg.sys german/errmsg.sys greek/errmsg.sys hungarian/errmsg.sys italian/errmsg.sys japanese/errmsg.sys japanese-sjis/errmsg.sys korean/errmsg.sys norwegian/errmsg.sys norwegian-ny/errmsg.sys polish/errmsg.sys portuguese/errmsg.sys romanian/errmsg.sys russian/errmsg.sys serbian/errmsg.sys slovak/errmsg.sys spanish/errmsg.sys swedish/errmsg.sys ukrainian/errmsg.sys'
AWK='nawk'
CC='cc'
CCAS='cc'
CCASFLAGS=' '
CCDEPMODE='depmode=none'
CC_VERSION=''
CFLAGS=' '
CHECK_PID='/usr/bin/kill -0 $$PID > /dev/null 2> /dev/null'
CHMOD='/usr/bin/chmod'
CLIENT_EXTRA_LDFLAGS=''
CLIENT_LIBS=''
CMP='/usr/bin/cmp'
COMPILATION_COMMENT=''
COMPILE_PSTACK_FALSE=''
COMPILE_PSTACK_TRUE=''
CONF_COMMAND='./configure '--prefix=/web/mysql' 'CC=cc' 'CXX=CC''
CP='/usr/bin/cp'
CPP='cc -E'
CPPFLAGS=''
CXX='CC'
CXXCPP='CC -E'
CXXDEPMODE='depmode=none'
CXXFLAGS=' '
CXXLDFLAGS=''
CXX_VERSION=''
CYGPATH_W='echo'
DARWIN_MWCC_FALSE=''
DARWIN_MWCC_TRUE='#'
DEFS=''
DEPDIR='.deps'
DOT_FRM_VERSION='6'
DOXYGEN='no'
DVIS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='egrep'
EXEEXT=''
F77='g77'
FFLAGS='-g -O2'
FIND_PROC='/usr/bin/ps -p $$PID | grep -v grep | grep mysqld > /dev/null'
GETCONF=''
GXX='no'
HAVE_NDBCLUSTER_DB_FALSE=''
HAVE_NDBCLUSTER_DB_TRUE=''
HAVE_NETWARE_FALSE=''
HAVE_NETWARE_TRUE=''
HOSTNAME='/usr/bin/hostname'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
KILL='/usr/bin/kill'
LD='/usr/ccs/bin/ld'
LDFLAGS=''
LIBDL=''
LIBEDIT_LOBJECTS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool --preserve-dup-deps'
LIB_EXTRA_CCFLAGS=''
LM_CFLAGS=''
LN='/usr/bin/ln'
LN_CP_F='/usr/bin/ln -s'
LN_S='ln -s'
LOCAL_FALSE=''
LOCAL_TRUE='#'
LTLIBOBJS=''
MACHINE_TYPE='i386'
MAKEINDEX='no'
MAKEINFO='${SHELL} /web/source/mysql-4.1.15/missing --run makeinfo'
MAKE_BINARY_DISTRIBUTION_OPTIONS=''
MAKE_SHELL=''
MT_INCLUDES=''
MT_LD_ADD=''
MV='/usr/bin/mv'
MYSQLD_DEFAULT_SWITCHES=''
MYSQLD_EXTRA_LDFLAGS=''
MYSQLD_USER=''
MYSQL_BASE_VERSION='4.1'
MYSQL_NO_DASH_VERSION='4.1.15'
MYSQL_SERVER_SUFFIX=''
MYSQL_TCP_PORT=''
MYSQL_TCP_PORT_DEFAULT='3306'
MYSQL_UNIX_ADDR=''
MYSQL_VERSION_ID='40115'
NDB_DEFS=''
NDB_SCI_INCLUDES=''
NDB_SCI_LIBS=''
NDB_VERSION_BUILD='15'
NDB_VERSION_MAJOR='4'
NDB_VERSION_MINOR='1'
NDB_VERSION_STATUS=''
NOINST_LDFLAGS=''
NON_THREADED_LIBS=''
OBJEXT='o'
PACKAGE='mysql'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PDFLATEX='no'
PDFMANUAL=''
PERL5='/usr/bin/perl'
PERL='/usr/bin/perl'
PROTOCOL_VERSION='10'
PS='/usr/bin/ps'
RANLIB='ranlib'
RM='/usr/bin/rm'
SAVE_ASFLAGS=''
SAVE_CFLAGS=''
SAVE_CXXFLAGS=''
SAVE_CXXLDFLAGS=''
SAVE_LDFLAGS=''
SED='/usr/bin/sed'
SET_MAKE=''
SHARED_LIB_VERSION='14:0:0'
SHELL='/bin/bash'
STATIC_NSS_FLAGS=''
STRIP='strip'
SYSTEM_TYPE='pc-solaris2.10'
TAR='gtar'
TARGET_LINUX='false'
TERMCAP_LIB=''
THREAD_LOBJECTS=''
THREAD_LPROGRAMS=''
VERSION='4.1.15'
WRAPLIBS=''
YACC='bison -y'
ZLIB_DEPS=''
ZLIB_INCLUDES=''
ZLIB_LIBS=''
ac_ct_AR='ar'
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_F77='g77'
ac_ct_GETCONF=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP='strip'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
bdb_includes=''
bdb_libs=''
bdb_libs_with_path=''
bench_dirs=''
bindir='${exec_prefix}/bin'
build='i386-pc-solaris2.10'
build_alias=''
build_cpu='i386'
build_os='solaris2.10'
build_vendor='pc'
datadir='${prefix}/share'
docs_dirs=''
exec_prefix='NONE'
fs_dirs=''
host='i386-pc-solaris2.10'
host_alias=''
host_cpu='i386'
host_os='solaris2.10'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
innodb_includes=''
innodb_libs=''
innodb_system_libs=''
install_sh='/web/source/mysql-4.1.15/install-sh'
isam_libs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libmysqld_dirs=''
linked_client_targets=''
linked_netware_sources=''
localstatedir='${prefix}/var'
man_dirs=''
mandir='${prefix}/man'
mkdir_p='$(mkinstalldirs)'
ndb_bin_am_ldflags=''
ndb_cxxflags_fix=''
ndb_mgmclient_libs=''
ndb_opt_subdirs=''
ndb_port=''
ndb_port_base=''
ndb_transporter_opt_objs=''
ndbcluster_includes=''
ndbcluster_libs=''
ndbcluster_system_libs=''
netware_dir=''
oldincludedir='/usr/include'
openssl_includes=''
openssl_libs=''
orbit_idl=''
orbit_includes=''
orbit_libs=''
prefix='/web/mysql'
program_transform_name='s,x,x,'
pstack_dirs=''
pstack_libs=''
readline_basedir=''
readline_dir=''
readline_h_ln_cmd=''
readline_link=''
readline_topdir=''
sbindir='${exec_prefix}/sbin'
server_scripts=''
sharedstatedir='${prefix}/com'
sql_client_dirs=''
sql_server_dirs=''
sql_union_dirs=''
subdirs=''
sysconfdir='${prefix}/etc'
target='i386-pc-solaris2.10'
target_alias=''
target_cpu='i386'
target_os='solaris2.10'
target_vendor='pc'
thread_dirs=''
tools_dirs=''
uname_prog='/usr/bin/uname'
vio_dir=''
vio_libs=''
zlib_dir=''

## ------------- ##
## Output files. ##
## ------------- ##

AVAILABLE_LANGUAGES_ERRORS_RULES='./ac_available_languages_fragment'

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

#define DOT_FRM_VERSION 6
#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define MACHINE_TYPE "i386"
#define NDB_VERSION_BUILD 15
#define NDB_VERSION_MAJOR 4
#define NDB_VERSION_MINOR 1
#define NDB_VERSION_STATUS ""
#define PACKAGE "mysql"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PROTOCOL_VERSION 10
#define SPRINTF_RETURNS_GARBAGE 1
#define STDC_HEADERS 1
#define SYSTEM_TYPE "pc-solaris2.10"
#define VERSION "4.1.15"
#endif
#ifdef __cplusplus
extern "C" void exit (int);

configure: exit 1
...
Рейтинг: 0 / 0
Ошибка при компиляции MYSQL
    #33400917
@NET
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
плюнул я на это, решил gcc использовать с флагами CC=gcc CXX=gcc CFLAGS="-O3" CXXFLAGS="-O3"
конфигурация проходит нормально, а вот make останавливается

пишет
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `install-recursive'

что за беда такая?
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / MySQL [игнор отключен] [закрыт для гостей] / Ошибка при компиляции MYSQL
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]