Jump to content
  • 0

Error when compiling?


Aeromesi

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   3
  • Joined:  01/18/12
  • Last Seen:  

So on linux centos 6 i have setup mysql/phpmyadmin but i get the following errors in my compile attempt:

configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking for make-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for make-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... no
checking whether gcc produces 32bit code... no
checking whether gcc supports __thread specifier (TLS)... yes
checking whether gcc supports -ffat-lto-objects... no
checking whether gcc supports -flto -fuse-linker-plugin... no
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc can actually use -Wno-unused-parameter... yes
checking whether gcc supports -Wno-maybe-uninitialized... no
checking whether gcc supports -Wno-clobbered... yes
checking whether gcc supports -Wempty-body... yes
checking whether gcc supports -Wnewline-eof... no
checking whether gcc supports -Wint-conversion... no
checking whether gcc supports -Wenum-conversion... no
checking whether gcc supports -Wshorten-64-to-32... no
checking whether gcc supports -Wconstant-conversion... no
checking whether gcc supports -Wbool-conversion... no
checking whether gcc supports -Wno-switch... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether gcc supports -Wshadow... yes
checking whether gcc can efficiently use -Wshadow... no
checking whether gcc supports -fPIC... yes
checking how to make shared objects... -shared yes
checking whether gcc needs -Wl,--no-undefined to check for undefined references in shared objects... no
checking whether gcc needs -fPIC for shared objects... yes
checking whether gcc supports -fno-strict-aliasing... yes
checking for setrlimit... yes
checking for strnlen... yes
checking for uselocale... yes
checking for newlocale... yes
checking for freelocale... yes
checking for xlocale.h... yes
checking for library containing inflateEnd... -lz
checking for zlib.h... yes
checking for library containing sqrt... -lm
checking for library containing clock_gettime... -lrt
checking whether CLOCK_MONOTONIC is supported and works... yes
checking for library containing pthread_create... none required
checking for library containing pthread_sigmask... none required
checking for library containing pthread_attr_init... none required
checking for library containing pthread_attr_setstacksize... none required
checking for library containing pthread_attr_destroy... none required
checking for library containing pthread_cancel... none required
checking for library containing pthread_join... none required
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking MySQL library (required)... no
configure: error: MySQL not found or incompatible
[root@zeta-ro rathena]# configure: WARNING: you should use --build, --host, --target
bash: configure:: command not found
[root@zeta-ro rathena]# configure: WARNING: you should use --build, --host, --target
bash: configure:: command not found
[root@zeta-ro rathena]# checking for make-gcc... no
bash: checking: command not found
[root@zeta-ro rathena]# checking for gcc... gcc
bash: checking: command not found
[root@zeta-ro rathena]# checking whether the C compiler works... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for C compiler default output file name... a.out
bash: checking: command not found
[root@zeta-ro rathena]# checking for suffix of executables... 
bash: checking: command not found
[root@zeta-ro rathena]# checking whether we are cross compiling... no
bash: checking: command not found
[root@zeta-ro rathena]# checking for suffix of object files... o
bash: checking: command not found
[root@zeta-ro rathena]# checking whether we are using the GNU C compiler... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc accepts -g... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for gcc option to accept ISO C89... none needed
bash: checking: command not found
[root@zeta-ro rathena]# checking how to run the C preprocessor... gcc -E
bash: checking: command not found
[root@zeta-ro rathena]# checking for grep that handles long lines and -e... /bin/grep
bash: checking: command not found
[root@zeta-ro rathena]# checking for egrep... /bin/grep -E
bash: checking: command not found
[root@zeta-ro rathena]# checking for ANSI C header files... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for sys/types.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for sys/stat.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for stdlib.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for string.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for memory.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for strings.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for inttypes.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for stdint.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for unistd.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking minix/config.h usability... no
bash: checking: command not found
[root@zeta-ro rathena]# checking minix/config.h presence... no
bash: checking: command not found
[root@zeta-ro rathena]# checking for minix/config.h... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether it is safe to define __EXTENSIONS__... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether make sets $(MAKE)... yes
bash: MAKE: command not found
bash: checking: command not found
[root@zeta-ro rathena]# checking for make-gcc... gcc
bash: checking: command not found
[root@zeta-ro rathena]# checking whether we are using the GNU C compiler... (cached) yes
bash: syntax error near unexpected token `('
[root@zeta-ro rathena]# checking whether gcc accepts -g... (cached) yes
bash: syntax error near unexpected token `('
[root@zeta-ro rathena]# checking for gcc option to accept ISO C89... (cached) none needed
bash: syntax error near unexpected token `('
[root@zeta-ro rathena]# checking how to run the C preprocessor... gcc -E
bash: checking: command not found
[root@zeta-ro rathena]# checking for ar... /usr/bin/ar
bash: checking: command not found
[root@zeta-ro rathena]# checking whether byte ordering is bigendian... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc produces 32bit code... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports __thread specifier (TLS)... yes
bash: syntax error near unexpected token `('
[root@zeta-ro rathena]# checking whether gcc supports -ffat-lto-objects... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -flto -fuse-linker-plugin... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wno-unused-parameter... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc can actually use -Wno-unused-parameter... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wno-maybe-uninitialized... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wno-clobbered... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wempty-body... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wnewline-eof... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wint-conversion... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wenum-conversion... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wshorten-64-to-32... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wconstant-conversion... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wbool-conversion... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wno-switch... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wno-missing-field-initializers... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -Wshadow... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc can efficiently use -Wshadow... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -fPIC... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking how to make shared objects... -shared yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc needs -Wl,--no-undefined to check for undefined references in shared objects... no
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc needs -fPIC for shared objects... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking whether gcc supports -fno-strict-aliasing... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for setrlimit... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for strnlen... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for uselocale... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for newlocale... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for freelocale... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for xlocale.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing inflateEnd... -lz
bash: checking: command not found
[root@zeta-ro rathena]# checking for zlib.h... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing sqrt... -lm
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing clock_gettime... -lrt
bash: checking: command not found
[root@zeta-ro rathena]# checking whether CLOCK_MONOTONIC is supported and works... yes
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing pthread_create... none required
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing pthread_sigmask... none required
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing pthread_attr_init... none required
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing pthread_attr_setstacksize... none required
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing pthread_attr_destroy... none required
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing pthread_cancel... none required
bash: checking: command not found
[root@zeta-ro rathena]# checking for library containing pthread_join... none required
bash: checking: command not found
[root@zeta-ro rathena]# checking for mysql_config... /usr/bin/mysql_config
bash: checking: command not found
[root@zeta-ro rathena]# checking for mysql_init in -lmysqlclient... no
bash: checking: command not found
[root@zeta-ro rathena]# checking mysql.h usability... no
bash: checking: command not found
[root@zeta-ro rathena]# checking mysql.h presence... no
bash: checking: command not found
[root@zeta-ro rathena]# checking for mysql.h... no
bash: checking: command not found
[root@zeta-ro rathena]# checking MySQL library (required)... no
bash: syntax error near unexpected token `('
[root@zeta-ro rathena]# configure: error: MySQL 
not found or incompatible
bash: configure:: command not found
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  164
  • Reputation:   55
  • Joined:  11/25/11
  • Last Seen:  

Make sure you have mysql-dev installed from yum/rpm (or if you are using a newer version of Centos - mariadb-dev)

 

It also appears as if the configure script cannot determine the OS?

"WARNING: you should use --build, --host, --target"

You might have to tell the configure program your system architecture.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   3
  • Joined:  01/18/12
  • Last Seen:  

Make sure you have mysql-dev installed from yum/rpm (or if you are using a newer version of Centos - mariadb-dev)

 

It also appears as if the configure script cannot determine the OS?

"WARNING: you should use --build, --host, --target"

You might have to tell the configure program your system architecture.

Could ou help me with the commands to execute?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...