problems with mysql compilation

2001-08-31 Thread Artur Nikitin

Hi!
 
I am trying to compile mysql on one of our new servers. (RH 7.1)
Compilation stalles after these messages:
 
...
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...   it here it stayes
 
config.log:

configure:1234: checking whether make sets ${MAKE}
configure:1302: checking for gawk
configure:1334: checking for gcc
configure:1447: checking whether the C compiler (gcc   ) works
configure:1463: gcc -o conftest conftest.c  15
 
What could be wrong?
 
Artur


-
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: Problems with mysql++ compilation

2001-02-23 Thread Sinisa Milivojevic

Christopher McClan writes:
  Hello,
  
  I've followed the instructions from the MySQL web site entitled "Instructions 
  for building MySQLGui with the FL_Editor, and am currently trying to install 
  mysql++1.78. I've made the modifications to sqlinst/connection1.hh  
  sqlinst/result1.hh however when I make I get the following output :
  
  
  [root@cimserv mysql++-1.7.8]# make
  make  all-recursive
  make[1]: Entering directory `/export/mysql-temp/mysql++-1.7.8'
  Making all in sqlplusint
  make[2]: Entering directory `/export/mysql-temp/mysql++-1.7.8/sqlplusint'
  /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. 
  -I../sqlplusint  -I/usr/local/mysql//include/mysql  -g -O2 -c coldata.cc
  rm -f .libs/coldata.lo
  c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../sqlplusint 
  -I/usr/local/mysql//include/mysql -g -O2 -Wp,-MD,.deps/coldata.pp -c  -fPIC 
  -DPIC coldata.cc -o .libs/coldata.lo
  coldata.cc:1: string: No such file or directory
  In file included from const_string2.hh:2,
   from const_string3.hh:2,
   from coldata.cc:2:
  const_string1.hh:4: stdexcept: No such file or directory
  const_string1.hh:5: string: No such file or directory
  const_string1.hh:6: iostream: No such file or directory
  In file included from coldata4.hh:6,
   from coldata.cc:3:
  coldata3.hh:11: string: No such file or directory
  In file included from coldata2.hh:5,
   from coldata3.hh:12,
   from coldata4.hh:6,
   from coldata.cc:3:
  coldata1.hh:5: string: No such file or directory
  In file included from coldata1.hh:7,
   from coldata2.hh:5,
   from coldata3.hh:12,
   from coldata4.hh:6,
   from coldata.cc:3:
  exceptions.hh:4: string: No such file or directory
  In file included from coldata1.hh:8,
   from coldata2.hh:5,
   from coldata3.hh:12,
   from coldata4.hh:6,
   from coldata.cc:3:
  type_info1.hh:12: map: No such file or directory
  In file included from coldata1.hh:10,
   from coldata2.hh:5,
   from coldata3.hh:12,
   from coldata4.hh:6,
   from coldata.cc:3:
  null1.hh:4: ostream.h: No such file or directory
  In file included from coldata4.hh:8,
   from coldata.cc:3:
  string_util.hh:4: string: No such file or directory
  make[2]: *** [coldata.lo] Error 1
  make[2]: Leaving directory `/export/mysql-temp/mysql++-1.7.8/sqlplusint'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/export/mysql-temp/mysql++-1.7.8'
  make: *** [all-recursive-am] Error 2
  [root@cimserv mysql++-1.7.8]#
  
  Any ideas? - I've noticed that I don't actually have "ostream.h" on my system 
  at all (obviously thats just the last error though...)
  
  Cheers,
  
  Christopher.


Hi!

You do not have STL library included on your system. 

In order to build MySQL++ you must have a full installation of gcc
2.95.2

But if you are on i386 Linux, why don't you just use our
mysqlgui-1.7.4  static binary for Linux ?? You do not have to build it
yourself.


Regards,

Sinisa

    __ _   _  ___ ==  MySQL AB
 /*/\*\/\*\   /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/   \*\_   |*|   |*||*| mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*| Larnaca, Cyprus
  /*/ /*/  /*/\*\_/*/ \*\_/*/ |*|
  /*/^^^\*\^^^
 /*/ \*\Developers Team

-
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