[前][次][番号順一覧][スレッド一覧]

mysql:4760

From: Takeshi Saito <Takeshi Saito <mitene@xxxxxxxxxx>>
Date: Sat, 01 Dec 2001 02:15:22 +0900
Subject: [mysql 04760] Re: インストールができません。( ./configure )

齊藤です
お世話になっています。

> > > gcc-2.96.84(Redhat用rpmを使ってインストールしました)
> > 
> > gcc-2.96.84 ってアリなんでしたっけ。
> egcs のバージョンのようなかんじですが
> 
> redHat のRPMのバージョンの付け方みたいですね
> > > checking for gcc... gcc
> > > checking whether the C++ compiler (gcc   ) works... no
> > > configure: error: installation or configuration problem: C++ compiler cannot create executables.
> > 
> > gcc が C++ をコンパイルできないってエラーのようですが…。
> ?? C++コンパイラーがないのではないでしょうか?
> 
> gccがあったところに
> gcc-c++ とかっていうパッケージは見つかりませんか?
> 
> あとは libstdc++ も必要ですね

ありがとうございました。

ご指示いただいた通り、gcc-c++とlibstdc++をCD-ROMの中を捜して
RPMからインストールして、再度、./confiureを実行したところ
今度は、
----------------------------------------
checking for termcap functions library... configure: error: No curses/termcap library found
----------------------------------------
という、エラーが出ました。そこでtermcapが無いというメッセージだと思い
CD-ROMからtermcapをさがして、インスト−ルして、もう1回、./configureを実
行しました。
それでも、エラーは変わりません。

何度もすみません。どうしたらよろしいでしょう?

一応、長いですが、ログを以下に書いときます。

《ログ》
------------------------------------------------------------
[root@localhost mysql-3.23.45]# ls
COPYING                          client        innobase       myisammrg
COPYING.LIB                      confdefs.h    install-sh     mysql-test
Docs                             config.cache  isam           mysys
INSTALL-SOURCE                   config.guess  libmysql       readline
MIRRORS                          config.h.in   libmysql_r     regex
Makefile.am                      config.log    ltconfig       scripts
Makefile.in                      config.sub    ltmain.sh      sql
README                           configure     man            sql-bench
ac_available_languages_fragment  configure.in  merge          stamp-h.in
acconfig.h                       dbug          missing        strings
acinclude.m4                     extra         mit-pthreads   support-files
aclocal.m4                       heap          mkinstalldirs  tests
bdb                              include       myisam
[root@localhost mysql-3.23.45]# ./configure --prefix=/usr/local/mysql
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc   ) works... yes
checking whether the C compiler (gcc   ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++   ) works... yes
checking whether the C++ compiler (c++   ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for pdftex... no
checking return type of sprintf... int
checking for uname... /bin/uname
checking operating system... Linux
checking if we should use skip-locking as default for linux-gnu... yes
checking for ln... /bin/ln
checking for ln... /bin/ln
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for sed... /bin/sed
checking for cmp... /usr/bin/cmp
checking for chmod... /bin/chmod
checking for hostname... /bin/hostname
checking for perl... /usr/bin/perl
checking for ps... /bin/ps
checking how to check if pid exists... /bin/ps p $$PID | grep mysqld > /dev/nullchecking for kill... /bin/kill
checking for kill switches... /bin/kill -0 $$PID > /dev/null 2> /dev/null
checking for gcc option to accept ANSI C...
checking whether to use RAID... no
checking for getconf... getconf
checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support...
checking for LIBS value to request large file support...
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no
checking for ANSI C header files... yes
checking for size_t... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for float.h... yes
checking for floatingpoint.h... no
checking for ieeefp.h... no
checking for limits.h... yes
checking for memory.h... yes
checking for pwd.h... yes
checking for select.h... no
checking for stdlib.h... yes
checking for stddef.h... yes
checking for strings.h... yes
checking for string.h... yes
checking for synch.h... no
checking for sys/mman.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking for sys/un.h... yes
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking for term.h... no
checking for unistd.h... yes
checking for utime.h... yes
checking for sys/utime.h... no
checking for termio.h... yes
checking for termios.h... yes
checking for sched.h... yes
checking for crypt.h... yes
checking for alloca.h... yes
checking for sys/ioctl.h... yes
checking for floor in -lm... yes
checking for gethostbyname_r... yes
checking for setsockopt... yes
checking for yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for p2open... no
checking for p2open in -lgen... no
checking for bind... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking if libz with compress... no
checking for atomic operations... atomic_add atomic_sub
checking for int8... no
checking LinuxThreads... Found
checking named thread libs:... -lpthread
checking for strtok_r in -lpthread... yes
checking for strtok_r... yes
checking for dlopen in -ldl... yes
checking for restartable system calls... yes
checking need of special linking flags... -rdynamic
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for st_rdev in struct stat... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of char... 1
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of off_t... 8
checking whether byte ordering is bigendian... no
checking base type of last arg to accept... socklen_t
checking stack direction for C alloca... -1
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking if struct timespec has a ts_sec member... no
checking if we have tzname variable... yes
checking for type ulong... yes
checking for type uchar... no
checking for type uint... yes
checking for type fp_except... no
checking if c++ supports bool types... yes
checking if conversion of longlong to float works... yes
checking if pthread_yield takes zero arguments... yes
checking if pthread_yield takes 1 argument... no
checking for varargs.h... yes
checking for stdarg.h... yes
checking for dirent.h... yes
checking for locale.h... yes
checking for ndir.h... no
checking for sys/dir.h... yes
checking for sys/file.h... yes
checking for sys/ndir.h... no
checking for sys/ptem.h... no
checking for sys/pte.h... no
checking for sys/select.h... yes
checking for sys/stream.h... no
checking for sys/mman.h... (cached) yes
checking for curses.h... no
checking for termcap.h... no
checking for termio.h... (cached) yes
checking for termbits.h... no
checking for asm/termbits.h... yes
checking for grp.h... yes
checking for paths.h... yes
checking for lstat... yes
checking for putenv... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcoll... yes
checking for tcgetattr... yes
checking whether stat file-mode macros are broken... no
checking return type of signal handlers... void
checking for type of signal functions... posix
checking whether programs are able to redeclare getpw functions... yes
checking for TIOCGWINSZ in sys/ioctl.h... yes
checking for FIONREAD in sys/ioctl.h... yes
checking for TIOCSTAT in sys/ioctl.h... no
checking if struct dirent has a d_ino member... yes
checking whether signal handlers are of type void... yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
[root@localhost mysql-3.23.45]#
------------------------------------------------------------

以上です。宜しくお願い致します。

┛┛┛┛┛┛┛┛┛┛┛┛┛┛
Myname:Takeshi Saito
E-mail:tsaito@xxxxxxxxxx
┛┛┛┛┛┛┛┛┛┛┛┛┛┛

[前][次][番号順一覧][スレッド一覧]

      4757 2001-11-30 23:11 [Takeshi Saito <miten] インストールができません。( ./configure )
      4758 2001-12-01 00:03 ┗[とみたまさひろ <tomm]                                       
      4759 2001-12-01 01:06  ┗[tateyan <tateyan@xxx]                                     
->    4760 2001-12-01 02:15   ┗[Takeshi Saito <miten]                                   
      4761 2001-12-01 02:47    ┗[tateyan <tateyan@xxx]                                 
      4762 2001-12-02 20:04     ┗[Takeshi Saito <miten]                               
      4763 2001-12-03 06:30      ┗[<tomonaka@xxxxxxxxxx] 五十音順のソートについてお教えください
      4764 2001-12-03 11:00       ┣["f.t" <fujiyama@xxxx]                           
      4765 2001-12-03 20:46       ┃┗[<tomonaka@xxxxxxxxxx]                         
      4766 2001-12-03 21:32       ┃ ┣["東 兼充" <kanemits] ソートについてお教えください
      4767 2001-12-03 21:49       ┃ ┃┣[中野 高顕 <nakano@xx]                     
      4768 2001-12-03 22:23       ┃ ┃┃┗["東 兼充" <kanemits]                   
      4769 2001-12-03 22:29       ┃ ┃┗[tateyan <tateyan@xxx]                     
      4770 2001-12-03 22:53       ┃ ┃ ┗["東 兼充" <kanemits]                   
      4771 2001-12-04 09:41       ┃ ┗[豊島@クロスネット <]                       
      4796 2001-12-07 18:46       ┗["TOYOSHIMA, Masayuki] Re: 五十音順のソート