# Totally stuck installing software

**URL:** <https://forums.digi.com/t/totally-stuck-installing-software/15332>\
**Category:** Linux\
**Tags:** installation, software, install, make, configure\
**Created:** [August 28, 2015, 8:14am UTC](https://forums.digi.com/t/totally-stuck-installing-software/15332 "2015-08-28T08:14:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Curby](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@Curby](https://forums.digi.com/u/Curby)\
**Post date:** [August 28, 2015, 8:14am UTC](https://forums.digi.com/t/totally-stuck-installing-software/15332/1 "2015-08-28T08:14:17Z")

</div>

Hello there,

i’m totally stuck at installing third party software on my digi linux device.

I’m using the ConnectCard™ for i.MX28 with 256/256 and the Development Kit.

I successfully compiled a linux with Digi ESP and transferred it on my module via network and serial. In the past i had gcc and g++ on my modules. Now its not installed on the module.

Looking for a download i’m scarred how big the gnu compiler actually is. To big for 256mib space.

So any hint how to install extern software mit configure/make/make install on my device.

I guess i have to cross compile or something or to include it in my Digi ESP Linux Kernel project.

I understood that there is the possibility to place the application in the “app” directory. But its not simple as it is i guess. I get a lot of errors and stuff. The chapter 4.2.4 is very short and did not help at all.

Nils

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [August 31, 2015, 10:30am UTC](https://forums.digi.com/t/totally-stuck-installing-software/15332/2 "2015-08-31T10:30:30Z")

</div>

yes, you need to cross-compile on host.  
start shell on a host, setup environment for cross compiler:  
export PATH=/usr/local/DigiEL-5.9/x-tools/arm-unknown-linux-gnueabi/bin:$PATH  
export TOOLCHAIN\_DIR=/usr/local/DigiEL-5.9/x-tools/arm-unknown-linux-gnueabi/

If your application supports auto-configure, call ./configure:

CC=arm-linux-gcc ./configure --host=arm-linux --target=arm-linux --prefix=/usr/local/DigiEL-5.9/x-tools/arm-unknown-linux-gnueabi

run make:  
make CC=arm-linux-gcc

Here is an example:  
export PATH=/usr/local/DigiEL-5.9/x-tools/arm-unknown-linux-gnueabi/bin:$PATH  
export TOOLCHAIN\_DIR=/usr/local/DigiEL-5.9/x-tools/arm-unknown-linux-gnueabi/

wget [http://www.tcpdump.org/release/tcpdump-4.3.0.tar.gz](http://www.tcpdump.org/release/tcpdump-4.3.0.tar.gz)  
wget [http://www.tcpdump.org/release/libpcap-1.3.0.tar.gz](http://www.tcpdump.org/release/libpcap-1.3.0.tar.gz)  
tar xvfz libpcap-1.3.0.tar.gz

cd libpcap-1.3.0/  
CC=arm-linux-gcc ./configure --host=arm-linux --target=arm-linux --prefix=/usr/local/DigiEL-5.9/x-tools/arm-unknown-linux-gnueabi --with-pcap=linux  
make CC=arm-linux-gcc  
make install

cd …  
tar xvfz tcpdump-4.3.0.tar.gz  
cd tcpdump-4.3.0/  
vi configure  
Find in configure and change ac\_cv\_linux\_vers=unknown to ac\_cv\_linux\_vers=2

CC=arm-linux-gcc ./configure --host=arm-linux --target=arm-linux --prefix=/usr/local/DigiEL-5.9/x-tools/arm-unknown-linux-gnueabi  
make CC=arm-linux-gcc  
make install

---

<div class="post-metadata">

**Author:** ![Curby](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@Curby](https://forums.digi.com/u/Curby)\
**Post date:** [September 1, 2015, 8:37am UTC](https://forums.digi.com/t/totally-stuck-installing-software/15332/3 "2015-09-01T08:37:54Z")

</div>

Now everything is installed in the directory /usr/local/DigiEL-5.9/x-tools/arm-unknown-linux-gnueabi.

I guess now i have to copy the created folders to my rootfs projekt? But there are many directorys. How do i know, what to copy? sbin and lib directorys into my rootfs?

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [September 1, 2015, 8:46am UTC](https://forums.digi.com/t/totally-stuck-installing-software/15332/4 "2015-09-01T08:46:48Z")

</div>

do “make install” in to some temp folder then you will know what belongs to your project
