Compile exec for iMX233-OLinuXino-MICRO (Arch linux)

Started by bbuic, March 12, 2013, 01:32:09 am

Previous topic - Next topic

bbuic

I need compile some source for my imx233-ARM

I try like is explained here (on my iMX233-OLinuXino-MICRO) : http://code.google.com/p/sma-get/wiki/Installation

For other Linux distributions:
compiling and installing YASDI

Download YASDI from the SMA site:
http://www.sma.de/en/products/monitoring-systems/yasdi.html
extract it to /usr/local/src/libyasdi_1_8_1

    cd /usr/local/src/libyasdi_1_8_1/
    cd projects/generic-cmake
    mkdir build-gcc
    cd build-gcc
    cmake ..
    make
    sudo make install
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    sudo ldconfig /usr/local/lib


but i got error :

CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found.   Please set CMAKE_C_COMPILER to a valid compiler path or name.


Everything work great on linux - ubuntu !

What can I do ?

Thank you

Bojan

Fadil Berisha

Quote from: bbuic on March 12, 2013, 01:32:09 am
Please set CMAKE_C_COMPILER to a valid compiler path or name.



Check what compiler is in your system, gcc or cc. If different from gcc, try to export env varible like:
export CMAKE_C_COMPILER=cc

or try to pass with

make CMAKE_C_COMPILER=cc

Hope this help

bbuic

I found that gcc compiler not installed on my Arch.

I installed GCC and then compile without problems.

Thank you for help