Re: Installation Problem

2002-07-22 Thread Dexter S. Tan
... yes
checking for stdint.h... no
checking for unistd.h... 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... yes
checking for ieeefp.h... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking for pwd.h... yes
checking for select.h... no
checking for stdlib.h... (cached) yes
checking for stddef.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for synch.h... yes
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... (cached) yes
checking for sys/un.h... yes
checking for sys/vadvise.h... no
checking for sys/wait.h... (cached) yes
checking for term.h... yes
checking for unistd.h... (cached) yes
checking for utime.h... yes
checking for sys/utime.h... yes
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 in -lnsl_r... no
checking for gethostbyname_r in -lnsl... yes
checking for gethostbyname_r... yes
checking for setsockopt... no
checking for setsockopt in -lsocket... yes
checking for yp_get_default_domain... yes
checking for p2open... no
checking for p2open in -lgen... yes
checking for bind... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking if libz with compress... no
checking for int8... no
Fixing broken include files for sun-solaris2.8
  - Creating local copy of widec.h
checking LinuxThreads... Not found
checking DEC threads... no
checking DEC 3.2 threads... no
checking SCO threads... no
checking SCO UnixWare7 native threads... no
checking OpenUNIX8 native threads... no
checking Siemens threads... no
checking Solaris threads... yes
checking named thread libs:... -lpthread -lthread
checking for strtok_r in -lpthread... yes
checking for strtok_r... yes
checking for dlopen in -ldl... yes
checking for unistd.h... (cached) yes
checking for restartable system calls... no
checking need of special linking flags... none
checking for /usr/local/compiler/GNUgcc/root/usr/local/bin/c++ option to
accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for struct stat.st_rdev... 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 for char... yes
checking size of char... 1
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking size of off_t... 8
checking whether byte ordering is bigendian... yes
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... yes
checking if /usr/local/compiler/GNUgcc/root/usr/local/bin/c++ supports bool
types... yes
checking if conversion of longlong to float works... no
configure: error: Your compiler cannot convert a longlong value to a float!
If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try
again


Thank you very much..
Dexter

- Original Message -
From: Dan Nelson [EMAIL PROTECTED]
To: Dexter S. Tan [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 22, 2002 11:11 AM
Subject: Re: Installation Problem


 In the last episode (Jul 22), Dexter S. Tan said:
  _
  command i entered
  CC=gcc CFLAGS=-O3 \
  CXX=gcc CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti \
 
./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler
 [...]
  checking for C compiler default output... configure: error: C compiler
cannot create executables
 [...]
  configure:1948: checking for C compiler default output
  configure:1951: gcc -O3conftest.c  5
  ./configure: gcc: not found

 Configure can't find gcc.  Either make sure it's in your PATH, or put
 the pull path to gcc and c++ in your configure command.  Note, CXX=gcc
 will *not* work.  gcc is not a c++ compiler; g++ is.  Use CXX=g++.

 --
 Dan Nelson
 [EMAIL PROTECTED]



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http

Re: Installation Problem

2002-07-22 Thread Dexter S. Tan

Dan,

Hi, good news.. =) I've already successfully installed mysql...
Thank you very much to you and georg :)
Thanks for helping me out. I'm quite new here...

My last problem was solved by fixing my path... 
ok... 

Dexter...




- Original Message - 
From: Dan Nelson [EMAIL PROTECTED]
To: Dexter S. Tan [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 22, 2002 10:53 PM
Subject: Re: Installation Problem


 In the last episode (Jul 22), Dexter S. Tan said:
  Hi,
  
  I've tried it and I still encountered this.
  btw, my compiler version is 2.95.2
  Here is the result.
 [...] 
  checking for gcc... /usr/local/compiler/GNUgcc/root/usr/local/bin/c++
 
 Heh.  You don't want to set CC=g++. :)  You want CC=gcc, CXX=g++.
 
 -- 
 Dan Nelson
 [EMAIL PROTECTED]
 


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Installation Problem

2002-07-21 Thread Dexter S. Tan

Hi Georg,

I have tried to change the zero to letter O and still have this problem.
I'll paste below the config.log file and the output.

Thank you very much for your help.


_
command i entered
CC=gcc CFLAGS=-O3 \
CXX=gcc CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti \
./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler




_
screen output:
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... ./configure: make: not found
no
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) no
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables


_
config.log file

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

  $
./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler

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

hostname = bigbird
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-13

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = bigbird
Release = 5.8
KernelID = Generic_108528-13
Machine = sun4u
BusType = unknown
Serial = unknown
Users = unknown
OEM# = 0
Origin# = 1
NumCPU = 1

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

PATH = /usr/sbin:/usr/bin

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

configure:1044: PATH=.;.; conftest.sh
./configure: conftest.sh: not found
configure:1047: $? = 1
configure:1087: checking build system type
configure:1105: result: sparc-sun-solaris2.8
configure:1115: checking host system type
configure:1129: result: sparc-sun-solaris2.8
configure:1139: checking target system type
configure:1153: result: sparc-sun-solaris2.8
configure:1182: checking for a BSD compatible install
configure:1231: result: ./install-sh -c
configure:1242: checking whether build environment is sane
configure:1260: result: yes
configure:1275: checking whether make sets ${MAKE}
configure:1299: result: no
configure:1323: checking for working aclocal
configure:1334: result: missing
configure:1338: checking for working autoconf
configure:1349: result: missing
configure:1353: checking for working automake
configure:1364: result: missing
configure:1368: checking for working autoheader
configure:1379: result: missing
configure:1383: checking for working makeinfo
configure:1394: result: missing
configure:1473: checking whether to enable maintainer-specific portions of
Makefiles
configure:1482: result: no
configure:1495: checking whether build environment is sane
configure:1513: result: yes
configure:1516: checking whether make sets ${MAKE}
configure:1540: result: no
configure:1585: checking for mawk
configure:1611: result: no
configure:1585: checking for gawk
configure:1611: result: no
configure:1585: checking for nawk
configure:1600: found /usr/bin/nawk
configure:1608: result: nawk
configure:1661: checking for gcc
configure:1684: result: gcc
configure:1912: checking for C compiler version
configure:1915: gcc --version /dev/null 5
./configure: gcc: not found
configure:1918: $? = 1
configure:1920: gcc -v /dev/null 5
./configure: gcc: not found
configure:1923: $? = 1
configure:1925: gcc -V /dev/null 5
./configure: gcc: not found
configure:1928: $? = 1
configure:1948: checking for C compiler default output
configure:1951: gcc -O3conftest.c  5
./configure: gcc: not found
configure:1954: $? = 1
configure: failed program was:
#line 1932 configure
#include confdefs.h

int
main ()
{

  ;
  return 0;
}
configure:1977: error: C compiler cannot create executables

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

ac_cv_build='sparc-sun-solaris2.8'
ac_cv_build_alias='sparc-sun-solaris2.8'
ac_cv_env_CC_set='set'
ac_cv_env_CC_value='gcc'
ac_cv_env_CFLAGS_set='set'
ac_cv_env_CFLAGS_value='-O3'
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''

Re: Installation Problem

2002-07-21 Thread Dexter S. Tan

Dan,

Thank you very much.
I'll try it again and update you as soon as i got the result...


Dexter.

- Original Message -
From: Dan Nelson [EMAIL PROTECTED]
To: Dexter S. Tan [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 22, 2002 11:11 AM
Subject: Re: Installation Problem


 In the last episode (Jul 22), Dexter S. Tan said:
  _
  command i entered
  CC=gcc CFLAGS=-O3 \
  CXX=gcc CXXFLAGS=-O3 -felide-constructors -fno-exceptions -fno-rtti \
 
./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler
 [...]
  checking for C compiler default output... configure: error: C compiler
cannot create executables
 [...]
  configure:1948: checking for C compiler default output
  configure:1951: gcc -O3conftest.c  5
  ./configure: gcc: not found

 Configure can't find gcc.  Either make sure it's in your PATH, or put
 the pull path to gcc and c++ in your configure command.  Note, CXX=gcc
 will *not* work.  gcc is not a c++ compiler; g++ is.  Use CXX=g++.

 --
 Dan Nelson
 [EMAIL PROTECTED]



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Installation Problem

2002-07-19 Thread Dexter S. Tan

Georg,

Here is the content of the config.log file..

config.log
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.52.  Invocation command line was

  $
./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler

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

hostname = bigbird
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-13

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = bigbird
Release = 5.8
KernelID = Generic_108528-13
Machine = sun4u
BusType = unknown
Serial = unknown
Users = unknown
OEM# = 0
Origin# = 1
NumCPU = 1

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

PATH = /usr/sbin:/usr/bin:/opt/DCT2000/GNU-C:/usr/ccs/bin:/usr/openwin/bin

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

configure:1044: PATH=.;.; conftest.sh
./configure: conftest.sh: not found
configure:1047: $? = 1
configure:1087: checking build system type
configure:1105: result: sparc-sun-solaris2.8
configure:1115: checking host system type
configure:1129: result: sparc-sun-solaris2.8
configure:1139: checking target system type
configure:1153: result: sparc-sun-solaris2.8
configure:1182: checking for a BSD compatible install
configure:1231: result: ./install-sh -c
configure:1242: checking whether build environment is sane
configure:1260: result: yes
configure:1275: checking whether make sets ${MAKE}
configure:1295: result: yes
configure:1323: checking for working aclocal
configure:1334: result: missing
configure:1338: checking for working autoconf
configure:1349: result: missing
configure:1353: checking for working automake
configure:1364: result: missing
configure:1368: checking for working autoheader
configure:1379: result: missing
configure:1383: checking for working makeinfo
configure:1394: result: missing
configure:1473: checking whether to enable maintainer-specific portions of
Makefiles
configure:1482: result: no
configure:1495: checking whether build environment is sane
configure:1513: result: yes
configure:1516: checking whether make sets ${MAKE}
configure:1536: result: yes
configure:1585: checking for mawk
configure:1611: result: no
configure:1585: checking for gawk
configure:1611: result: no
configure:1585: checking for nawk
configure:1600: found /usr/bin/nawk
configure:1608: result: nawk
configure:1661: checking for gcc
configure:1684: result: gcc
configure:1912: checking for C compiler version
configure:1915: gcc --version /dev/null 5
2.95.2
configure:1918: $? = 0
configure:1920: gcc -v /dev/null 5
Using builtin specs.
gcc version 2.95.2 19991024 (release)
configure:1923: $? = 0
configure:1925: gcc -V /dev/null 5
gcc: argument to `-V' is missing
configure:1928: $? = 1
configure:1948: checking for C compiler default output
configure:1951: gcc -03conftest.c  5
gcc: unrecognized option `-03'
cpp: Internal compiler error: program cpp got fatal signal 9
configure:1954: $? = 1
configure: failed program was:
#line 1932 configure
#include confdefs.h

int
main ()
{

  ;
  return 0;
}
configure:1977: error: C compiler cannot create executables

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

ac_cv_build='sparc-sun-solaris2.8'
ac_cv_build_alias='sparc-sun-solaris2.8'
ac_cv_env_CC_set='set'
ac_cv_env_CC_value='gcc'
ac_cv_env_CFLAGS_set='set'
ac_cv_env_CFLAGS_value='-03'
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_CXXFLAGS_set='set'
ac_cv_env_CXXFLAGS_value='-03 -felide-constructors -fno-exceptions -fno-rtti
'
ac_cv_env_CXX_set='set'
ac_cv_env_CXX_value='gcc'
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=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_host='sparc-sun-solaris2.8'
ac_cv_host_alias='sparc-sun-solaris2.8'
ac_cv_prog_AWK='nawk'
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_prog_make_make_set='yes'
ac_cv_target='sparc-sun-solaris2.8'
ac_cv_target_alias='sparc-sun-solaris2.8'

##  ##
## confdefs.h.  ##
##  ##

#define PACKAGE mysql
#define VERSION 3.23.51
#define PROTOCOL_VERSION 10
#define DOT_FRM_VERSION 6
#define SYSTEM_TYPE sun-solaris2.8
#define MACHINE_TYPE sparc


configure: exit 77






Thank you for your quick response.. =)

Dexter

- Original Message -
From: Georg Richter [EMAIL PROTECTED]
To: Dexter S. Tan [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 19, 2002 1:38 PM
Subject: Re: Installation Problem


 On Friday, 19. July 2002 07:03, Dexter S. Tan wrote:

 Hello Dexter,

 would be interesting to know the content from your config.log file.

 Regards

Installation Problem

2002-07-18 Thread Dexter S . Tan

Hi,

I would like to ask how come the installation won't work on my system.
Here are the details.

Specifications:
Sun Sparc Ultra-5_10 Generic_108528-13
mysql-3.23.51
gcc version 2.95.2 19991024

What I did:
shell groupadd mysql
shell useradd -g mysql mysql
unzip the files using gtar with no error.
shell CC=gcc CFLAGS=-03 \
CXX=gcc CXXFLAGS=-03 -felide-constructors -fno-exceptions -fno-rtti \
./configure --prefix=/usr/local/mysql --with-lowmemory --enable-assembler

This is the result:
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking for a BSD compatible install... ./install-sh -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 mawk... no
checking for gawk... no
checking for nawk... nawk
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create 
executables

Can someone please help me with this. 




Thank you very much


Dexter Tan




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php