Welcome, Guest

Author Topic: Compile exec for iMX233-OLinuXino-MICRO (Arch linux)  (Read 2207 times)

bbuic

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Compile exec for iMX233-OLinuXino-MICRO (Arch linux)
« on: March 12, 2013, 01:32:09 AM »
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

  • Full Member
  • ***
  • Posts: 124
  • Karma: +7/-0
Re: Compile exec for iMX233-OLinuXino-MICRO (Arch linux)
« Reply #1 on: March 12, 2013, 03:49:34 PM »
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

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Re: Compile exec for iMX233-OLinuXino-MICRO (Arch linux)
« Reply #2 on: March 13, 2013, 01:22:51 AM »
I found that gcc compiler not installed on my Arch.

I installed GCC and then compile without problems.

Thank you for help