Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

MySQL, RH 7.2 and termcap

  • 13-12-2001 1: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