mysql:10603
From: 寺西 <寺西 <teranishi@xxxxxxxxxx>>
Date: Fri, 03 Dec 2004 13:29:44 +0900
Subject: [mysql 10603] Re: mysql4.1.7コンパイルエラーNo.2
渡邊様 ありがとうございます。 「gcc」のところに問題がありそうだと いう事でしたので、一応調べてみました。 C++のコンパイラが入っていなかったので、 「gcc-c++」をインストールし、再度 コンパイルしました。 そうしましたら、一応インストールは完了 したのですが、「/usr/local/bin」以下の 「scripts」フォルダがインストール されていませんでした(^^; mysql_install_dbもインストールされて いないので、データベースの初期化も できません。インストール自体が正常に 行われていないのでしょうか。 ↓「gcc-c++」インストールした後の ログです。 configure:2306: result: gawk configure:2362: checking for gcc configure:2378: found /usr/bin/gcc configure:2388: result: gcc configure:2632: checking for C compiler version configure:2635: gcc --version </dev/null >&5 gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) Copyright (C) 2002 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:2638: $? = 0 configure:2640: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/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 --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) configure:2643: $? = 0 configure:2645: gcc -V </dev/null >&5 gcc: argument to `-V' is missing configure:2648: $? = 1 configure:2672: checking for C compiler default output configure:2675: gcc conftest.c >&5 configure:2678: $? = 0 configure:2724: result: a.out configure:2729: checking whether the C compiler works configure:2735: ./a.out configure:2738: $? = 0 configure:2755: result: yes configure:2762: checking whether we are cross compiling configure:2764: result: no configure:2767: checking for suffix of executables configure:2769: gcc -o conftest conftest.c >&5 configure:2772: $? = 0 configure:2797: result: configure:2803: checking for suffix of object files configure:2825: gcc -c conftest.c >&5 configure:2828: $? = 0 configure:2850: result: o configure:2854: checking whether we are using the GNU C compiler configure:2879: gcc -c conftest.c >&5 configure:2882: $? = 0 configure:2885: test -s conftest.o configure:2888: $? = 0 configure:2901: result: yes configure:2907: checking whether gcc accepts -g configure:2929: gcc -c -g conftest.c >&5 configure:2932: $? = 0 configure:2935: test -s conftest.o configure:2938: $? = 0 configure:2949: result: yes configure:2966: checking for gcc option to accept ANSI C configure:3027: gcc -c conftest.c >&5 configure:3030: $? = 0 configure:3033: test -s conftest.o configure:3036: $? = 0 configure:3054: result: none needed configure:3072: gcc -c conftest.c >&5 conftest.c:2: parse error before "me" configure:3075: $? = 1 configure: failed program was: configure:3195: checking for style of include used by make configure:3223: result: GNU configure:3251: checking dependency style of gcc configure:3334: result: gcc3 configure:3403: checking for g++ configure:3419: found /usr/bin/g++ configure:3429: result: g++ configure:3445: checking for C++ compiler version configure:3448: g++ --version </dev/null >&5 g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) Copyright (C) 2002 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:3451: $? = 0 configure:3453: g++ -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/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 --host=i386-redhat-linux Thread model: posix gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) configure:3456: $? = 0 configure:3458: g++ -V </dev/null >&5 g++: argument to `-V' missing configure:3461: $? = 1 configure:3464: checking whether we are using the GNU C++ compiler configure:3489: g++ -c conftest.cc >&5 configure:3492: $? = 0 configure:3495: test -s conftest.o configure:3498: $? = 0 configure:3511: result: yes configure:3517: checking whether g++ accepts -g configure:3539: g++ -c -g conftest.cc >&5 configure:3542: $? = 0 configure:3545: test -s conftest.o configure:3548: $? = 0 configure:3559: result: yes configure:3603: g++ -c conftest.cc >&5 configure:3606: $? = 0 configure:3609: test -s conftest.o configure:3612: $? = 0 configure:3639: g++ -c conftest.cc >&5 configure: In function `int main()': configure:3644: `exit' undeclared (first use this function) configure:3644: (Each undeclared identifier is reported only once for each function it appears in.) configure:3642: $? = 1 configure:4019: checking "C Compiler version" configure:4021: result: "gcc gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)" configure:4036: checking "C++ compiler version" configure:4038: result: "g++ g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)"
10594 2004-12-02 17:27 [寺西 <teranishi@xxxx] mysql4.1.7 コンパイルエラーNo.2 10595 2004-12-02 17:46 ┣[渡邊昌之 <mark@xxxxx] 10596 2004-12-02 17:58 ┃┗[寺西 <teranishi@xxxx] 10597 2004-12-02 18:14 ┃ ┗[渡邊昌之 <mark@xxxxx] 10598 2004-12-02 18:30 ┗[とみたまさひろ <tomm] 10599 2004-12-03 10:23 ┗[寺西 <teranishi@xxxx] 10600 2004-12-03 11:25 ┗[渡邊昌之 <mark@xxxxx] 10601 2004-12-03 11:34 ┗[寺西 <teranishi@xxxx] 10602 2004-12-03 11:55 ┗[渡邊昌之 <mark@xxxxx] -> 10603 2004-12-03 13:29 ┗[寺西 <teranishi@xxxx] 10604 2004-12-03 14:45 ┗[寺西 <teranishi@xxxx]