Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

MySQL, RH 7.2 and termcap

  • 13-12-2001 02:34PM
    #1
    Subscribers Posts: 1,911 ✭✭✭


    poxy poxy POXY thing...I'm always having trouble with MySQL.

    I'm trying to compile MySQL on a freshly installed RH7.2 machine.
    I've run configure exactly as the manual says[1], and it comes up the the following error:
    error: No curses/termcap library found
    A quick search turned up libtermcap.so.2 in /lib/ and libncurses.so.5 in /usr/lib/.
    According to the termcap page[2] I have the lastest termcap.
    Can anyone shed any light on this? Should I be putting the path to the two librarys in somewhere? Are those two even the right libraries? Should I throw out the whole lot out and use Windows? ;)


    [1]CFLAGS="-O3 -mpentiumpro"
    CXX=gcc
    CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti"
    ./configure --prefix=/usr/local/mysql --with-low-memory --with-extra-charsets=complex --enable-assembler
    [2]http://www.tuxedo.org/~esr/terminfo/


Comments

  • Closed Accounts Posts: 3,859 ✭✭✭logic1


    I think I may have just the thing for you :)

    From Linux.ie
    Install Webserver
    Installs and configures Apache, PHP and MySQL.


    Unfortunately they're download link seems to be down so I've uploaded the file here for you.

    (won't get a chance to upload it until later tonight I'll post when it's done)

    .logic.


  • Registered Users, Registered Users 2 Posts: 347 ✭✭Static


    Originally posted by Draco


    error: No curses/termcap library found
    A quick search turned up libtermcap.so.2 in /lib/ and libncurses.so.5 in /usr/lib/.

    [1]CFLAGS="-O3 -mpentiumpro"
    CXX=gcc
    CXXFLAGS="-O3 -mpentiumpro -felide-constructors -fno-

    Edit /etc/ld.so.conf and make sure /lib and /usr/lib are in
    that file, each one on a new line. Save, and run ldconfig.

    If that doesn't work, try changing CXXFLAGS to include
    -L/lib -L/usr/bin

    That _might_ work.


  • Subscribers Posts: 1,911 ✭✭✭Draco


    Originally posted by Static


    Edit /etc/ld.so.conf and make sure /lib and /usr/lib are in
    that file, each one on a new line. Save, and run ldconfig.

    If that doesn't work, try changing CXXFLAGS to include
    -L/lib -L/usr/bin

    That _might_ work.
    Nope, no dice. Damn it! I've been told this should work straight off! Damn stupid thing! Grrr!


  • Closed Accounts Posts: 3,859 ✭✭✭logic1


    Well I've put that file up if it's any use to you ;)

    .logic.


  • Subscribers Posts: 1,911 ✭✭✭Draco


    To follow up on this:

    After a bit of searching on the mysql mailing list, I found what seems to be the solution. I installed the ncurses development library and that has gotten rid of my intial probelm.

    Thanks the logic and static for the suggestions.


  • Advertisement
Advertisement