This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Configuring mysql-5.0.90 for arm-linux-gnueabihf-

Hi,

I have downloaded mysql-5.0.90 and I am trying to build it for arm-linux-gnueabihf- 

I tried to execute the following command as shown below on ubuntu machine:

./configure --host=arm-linux CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ LD=arm-linux-gnueabihf-ld CFLAGS="-O3" CXXFLAGS="-O3"

It is generating the following error:

checking for termcap functions library... configure: error: No curses/termcap library found

Can you guide me on how to resolve the above error and how to configure mysql for ti sdk6.

I tried to execute ./configure and it has generated Makefile properly, but when I give parameter like --host=arm-linux command as shown above, I am getting the error.

Please suggest me in this regard.

Regards,

Ajith

  • Any help regarding the above post?
  • Hello Ajith,

    Is the mysql version 5.1.40 applicable for you? This is the version which is included in SDK6 OE build system. You can easily build it through these steps:

    $ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
    $ cd tisdk
    $ ./oe-layertool-setup.sh -f configs/amsdk/amsdk-06.00.00.00-config.txt
    $ cd build
    $ . conf/setenv
    $ export PATH=$HOME/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH
    $ MACHINE=am335x-evm bitbake mysql5


    These steps will produce the sql installation packages in this location:

    tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-vfp-neon-3.2-oe-linux-gnueabi/mysql5-5.1.40-r10/deploy-ipks/armv7ahf-vfp-neon-3.2/


    Best regards,
    Kemal