<< previous page   --   table of contents   --   next page >>
| | | | | | | |
  • Return to Table of Contents
  • Table of Contents

    1. General Information
    2. MySQL Installation
    3. Tutorial Introduction
    4. Database Administration
    5. MySQL Optimisation
    6. MySQL Language Reference
    7. MySQL Table Types
    8. MySQL APIs
    9. Extending MySQL

    Chapter 2:  MySQL Installation 123 2.6.3.1  Solaris 2.7/2.8 Notes You can normally use a Solaris 2.6 binary on Solaris 2.7 and 2.8.  Most of the Solaris 2.6 issues also apply for Solaris 2.7 and 2.8. Note that MySQL Version 3.23.4 and above should be able to autodetect new versions of Solaris and enable workarounds for the following problems! Solaris 2.7 / 2.8 has some bugs in the include les.  You may see the following error when you use gcc: /usr/include/widec.h:42: warning: `getwc' redefined /usr/include/wchar.h:326: warning: this is the location of the previous definition If this occurs, you can do the following to x the problem: Copy /usr/include/widec.h to .../lib/gcc-lib/os/gcc-version/include and change line 41 from: #if !defined(lint) && !defined(__lint) to #if !defined(lint) && !defined(__lint) && !defined(getwc) Alternatively, you can edit `/usr/include/widec.h' directly.  Either way, after you make the x, you should remove `config.cache' and run configure again! If  you  get  errors  like  this  when  you  run  make,  it's  because  configure  didn't  detect  the `curses.h' le (probably because of the error in `/usr/include/widec.h'): In file included from mysql.cc:50: /usr/include/term.h:1060: syntax error before `,' /usr/include/term.h:1081: syntax error before `;' The solution to this is to do one of the following:    Con gure with CFLAGS=-DHAVE_CURSES_H CXXFLAGS=-DHAVE_CURSES_H ./configure.    Edit `/usr/include/widec.h' as indicted above and rerun con gure.    Remove the #define HAVE_TERM line from `config.h' le and run make again. If you get a problem that your linker can't nd -lz when linking your client program, the problem is probably that your `libz.so' le is installed in `/usr/local/lib'.  You can x this by one of the following methods:    Add `/usr/local/lib' to LD_LIBRARY_PATH.    Add a link to `libz.so' from `/lib'.    If  you  are  using  Solaris  8,  you  can  install  the  optional  zlib  from  your  Solaris  8  CD distribution.    Con gure MySQL with the --with-named-z-libs=no option.
     

    Customer Support CentreMySQL Reference Manual

    Web Hosting Services
    UNIX WEB HOSTING
    SUPPORT & FAQ's
    TERMS OF USE
    Domain Services
    DOMAIN REGISTRATION
    MANAGE YOUR ACCOUNT
    SUPPORT & FAQ's
    TERMS OF USE
    SITE MAP
    Home
    Hosting Plans | Domain Registration | About Us | Contact Us | Site Map
    Terms of Use | Privacy Policy | Guarantees
    Merchant Accounts

    SpiritHost - web hosting for spiritual and education sites
    SpiritHit.com - Religious and Spiritual Portal
  • Return to Table of Contents
  • Back to top

  • Web Hosting: Manuals & FAQ's

    1. Unix-Based Web Hosting
    2. Unix Dedicated Servers
    3. Windows Dedicated Servers
    4. CuteFTP User’s Guide
    5. CuteHTML User’s Guide
    6. WS_FTP Pro User's Guide
    7. Miva Order User's Guide
    8. Miva Merchant User's Guide