LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2004, 01:05 PM   #1
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Rep: Reputation: 15
cannot build mysql.


I'm trying to build the latest version of MySQL on Slackware 10 using the configure program but I got an error message tha I'm not sure what the problem is. I'll post my error log here:

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.57. Invocation command line was

$ ./configure

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

hostname = darkstar
uname -m = i686
uname -r = 2.4.26
uname -s = Linux
uname -v = #6 Mon Jun 14 19:07:27 PDT 2004

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

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

PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games


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

configure:1621: checking build system type
configure:1639: result: i686-pc-linuxlibc1
configure:1647: checking host system type
configure:1661: result: i686-pc-linuxlibc1
configure:1669: checking target system type
configure:1683: result: i686-pc-linuxlibc1
configure:1711: checking for a BSD-compatible install
configure:1765: result: /usr/bin/ginstall -c
configure:1776: checking whether build environment is sane
configure:1794: result: yes
configure:1827: checking for gawk
configure:1843: found /usr/bin/gawk
configure:1853: result: gawk
configure:1863: checking whether make sets $(MAKE)
configure:1883: result: yes
configure:2186: checking whether build environment is sane
configure:2204: result: yes
configure:2207: checking whether make sets $(MAKE)
configure:2227: result: yes
configure:2280: checking for gawk
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.3.4
Copyright (C) 2003 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.
 
Old 10-13-2004, 01:08 PM   #2
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
configure:2638: $? = 0
configure:2640: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
configure:2643: $? = 0
configure:2645: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2648: $? = 1
configure:2672: checking for C compiler default output
configure:2675: gcc conftest.c >&5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2678: $? = 1
configure: failed program was:
| #line 2651 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.1.6-gamma-nightly-20041012"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define NDB_VERSION_MAJOR 3
| #define NDB_VERSION_MINOR 5
| #define NDB_VERSION_BUILD 2
| #define NDB_VERSION_STATUS ""
| #define SYSTEM_TYPE "pc-linuxlibc1"
| #define MACHINE_TYPE "i686"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2717: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linuxlibc1
ac_cv_build_alias=i686-pc-linuxlibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
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=
ac_cv_env_CXX_value=
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=
 
Old 10-13-2004, 01:11 PM   #3
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linuxlibc1
ac_cv_host_alias=i686-pc-linuxlibc1
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linuxlibc1
ac_cv_target_alias=i686-pc-linuxlibc1

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

ACLOCAL='${SHELL} /usr/src/mysql-4.1.6-gamma-nightly-20041012/missing --run aclocal-1.7'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/mysql-4.1.6-gamma-nightly-20041012/missing --run tar'
AR=''
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}
/usr/src/mysql-4.1.6-gamma-nightly-20041012/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/mysql-4.1.6-gamma-nightly-20041012/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/mysql-4.1.6-gamma-nightly-20041012/missing --run automake-1.7'
AVAILABLE_LANGUAGES='czech danish dutch english estonian french german greek hungarian italian japanese 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 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='gawk'
CC='gcc'
CCAS=''
CCASFLAGS=''
CCDEPMODE=''
CC_VERSION=''
CFLAGS=' '
CHECK_PID=''
CHMOD=''
CLIENT_EXTRA_LDFLAGS=''
CLIENT_LIBS=''
CMP=''
COMPILATION_COMMENT=''
COMPILE_PSTACK_FALSE=''
COMPILE_PSTACK_TRUE=''
CONF_COMMAND='./configure '
CP=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=' '
CXXLDFLAGS=''
CXX_VERSION=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DOT_FRM_VERSION='6'
DOXYGEN=''
DVIS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
FIND_PROC=''
GETCONF=''
GXX=''
HAVE_NDBCLUSTER_DB_FALSE=''
HAVE_NDBCLUSTER_DB_TRUE=''
HAVE_NETWARE_FALSE=''
HAVE_NETWARE_TRUE=''
 
Old 10-13-2004, 01:12 PM   #4
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
HOSTNAME='darkstar.example.net'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL}
$(install_sh) -c -s'
IS_LINUX=''
KILL=''
LD=''
LDFLAGS=''
LIBDL=''
LIBEDIT_LOBJECTS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_EXTRA_CCFLAGS=''
LM_CFLAGS=''
LN=''
LN_CP_F=''
LN_S=''
LOCAL_FALSE=''
LOCAL_TRUE='#'
LTLIBOBJS=''
MACHINE_TYPE='i686'
MAKEINDEX=''
MAKEINFO='${SHELL}
/usr/src/mysql-4.1.6-gamma-nightly-20041012/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.6'
MYSQL_SERVER_SUFFIX=''
MYSQL_TCP_PORT=''
MYSQL_TCP_PORT_DEFAULT='3306'
MYSQL_UNIX_ADDR=''
MYSQL_VERSION_ID='40106'
NDB_DEFS=''
NDB_SCI_INCLUDES=''
NDB_SCI_LIBS=''
NDB_VERSION_BUILD='2'
NDB_VERSION_MAJOR='3'
NDB_VERSION_MINOR='5'
NDB_VERSION_STATUS=''
NOINST_LDFLAGS=''
OBJEXT=''
PACKAGE='mysql'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PDFLATEX=''
PDFMANUAL=''
PERL5=''
PERL=''
PROTOCOL_VERSION='10'
PS=''
RANLIB=''
RM=''
SAVE_ASFLAGS=''
SAVE_CFLAGS=''
SAVE_CXXFLAGS=''
SAVE_CXXLDFLAGS=''
SAVE_LDFLAGS=''
SED=''
SET_MAKE=''
SHARED_LIB_VERSION='14:0:0'
SHELL='/bin/sh'
STRIP=''
SYSTEM_TYPE='pc-linuxlibc1'
TAR=''
TERMCAP_LIB=''
THREAD_LOBJECTS=''
THREAD_LPROGRAMS=''
VERSION='4.1.6-gamma-nightly-20041012'
WRAPLIBS=''
YACC=''
ZLIB_INCLUDES=''
ZLIB_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_GETCONF=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bdb_includes=''
bdb_libs=''
bdb_libs_with_path=''
bench_dirs=''
bindir='${exec_prefix}/bin'
build='i686-pc-linuxlibc1'
build_alias=''
build_cpu='i686'
build_os='linuxlibc1'
build_vendor='pc'
datadir='${prefix}/share'
docs_dirs=''
exec_prefix='NONE'
fs_dirs=''
host='i686-pc-linuxlibc1'
host_alias=''
host_cpu='i686'
host_os='linuxlibc1'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
 
Old 10-13-2004, 01:12 PM   #5
levicc00123
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 94

Original Poster
Rep: Reputation: 15
innodb_includes=''
innodb_libs=''
innodb_system_libs=''
install_sh='/usr/src/mysql-4.1.6-gamma-nightly-20041012/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'
ndb_bin_am_ldflags=''
ndb_cxxflags_fix=''
ndb_opt_subdirs=''
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='NONE'
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=''
subdirs=''
sysconfdir='${prefix}/etc'
target='i686-pc-linuxlibc1'
target_alias=''
target_cpu='i686'
target_os='linuxlibc1'
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 MACHINE_TYPE "i686"
#define NDB_VERSION_BUILD 2
#define NDB_VERSION_MAJOR 3
#define NDB_VERSION_MINOR 5
#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 SYSTEM_TYPE "pc-linuxlibc1"
#define VERSION "4.1.6-gamma-nightly-20041012"

configure: exit 77
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
rpmbuild --with : mysql - unknown option. How to pass extra options to build? fireman949 Red Hat 0 07-06-2005 06:53 PM
RedHat and src.rpm build of MySQL wdingus Linux - Software 3 04-15-2003 05:23 PM
Kazaa lite 2.0 build 2 and 2.02 build 5 walterw Linux - General 1 02-04-2003 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration