When i tried to configure my serv as a web server i realised that something is fishi..
1-I managed to install php
2-I managed to install apache
3-Mysql installation screwed...
I need that on my server
I'm using Fedora core 3...Don't tell me to upgrade coz my server is far away from me
The apt -get isn't functioning
The yum isn't functioning
And the last solution was installing it from source
I got the mysql-4.1.10....
I decompress it using rpm -i
I give the command: ./configure --prefix=/usr/local/mysql --with-unix-sock-path=/tmp/mysql.sock --with-charset=utf8
Here is all the compilation:
Code:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C preprocessor... gcc -E
checking "C Compiler version"... "gcc gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)"
./configure: line 4208: g++: command not found
checking "C++ compiler version"... "g++ "
checking for ranlib... ranlib
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for /usr/local/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Well i thaught that downloading the gcc compiler is a solution but no...good... i downloaded the i386 version i don't know if it is a problem
Here is the config.log to see and help me with:
Code:
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
IS_LINUX=''
KILL=''
LD='/usr/local/bin/ld'
LDFLAGS=''
LIBDL=''
LIBEDIT_LOBJECTS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_EXTRA_CCFLAGS=''
LM_CFLAGS=''
LN=''
LN_CP_F=''
LN_S='ln -s'
LOCAL_FALSE=''
LOCAL_TRUE='#'
LTLIBOBJS=''
MACHINE_TYPE='i686'
MAKEINDEX=''
MAKEINFO='${SHELL} /usr/local/src/mysql-4.1.10/missing --run makeinfo'
MAKE_BINARY_DISTRIBUTION_OPTIONS=''
MAKE_SHELL=''
MT_INCLUDES=''
MT_LD_ADD=''
MV=''
MYSQLD_DEFAULT_SWITCHES=''
MYSQLD_EXTRA_LDFLAGS=''
MYSQLD_USER=''
MYSQL_BASE_VERSION='4.1'
MYSQL_NO_DASH_VERSION='4.1.10'
MYSQL_SERVER_SUFFIX=''
MYSQL_TCP_PORT=''
MYSQL_TCP_PORT_DEFAULT='3306'
MYSQL_UNIX_ADDR=''
MYSQL_VERSION_ID='40110'
NDB_DEFS=''
NDB_SCI_INCLUDES=''
NDB_SCI_LIBS=''
NDB_VERSION_BUILD='10'
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=''
PDFMANUAL=''
PERL5=''
PERL=''
PROTOCOL_VERSION='10'
PS=''
RANLIB='ranlib'
RM=''
SAVE_ASFLAGS=''
SAVE_CFLAGS=''
SAVE_CXXFLAGS=''
SAVE_CXXLDFLAGS=''
SAVE_LDFLAGS=''
SED='/bin/sed'
SET_MAKE=''
SHARED_LIB_VERSION='14:0:0'
SHELL='/bin/sh'
STATIC_NSS_FLAGS=''
STRIP=''
SYSTEM_TYPE='pc-linux-gnu'
TAR=''
TERMCAP_LIB=''
THREAD_LOBJECTS=''
THREAD_LPROGRAMS=''
VERSION='4.1.10'
WRAPLIBS=''
YACC=''
ZLIB_DEPS=''
ZLIB_INCLUDES=''
ZLIB_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_GETCONF=''
ac_ct_RANLIB='ranlib'
ac_ct_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='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
docs_dirs=''
exec_prefix='NONE'
fs_dirs=''
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
innodb_includes=''
innodb_libs=''
innodb_system_libs=''
install_sh='/usr/local/src/mysql-4.1.10/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='mkdir -p -- .'
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='/usr/local/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='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
thread_dirs=''
tools_dirs=''
uname_prog=''
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 "i686"
#define NDB_VERSION_BUILD 10
#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 STDC_HEADERS 1
#define SYSTEM_TYPE "pc-linux-gnu"
#define VERSION "4.1.10"
#endif
#ifdef __cplusplus
#include <stdlib.h>
Please help me cos im confused and very stressed