Cross-compiling for DroboFS: GNU Readline

Introduction: Why libreadline61?

It is a dependency for Lua.

Overall compiling complexity: Easy.

Step 1: Background info

To be able to make use of this post, you need a VM configured as indicated in this post.

Step 2: Enter the cross-compiling environment

See step 2 of this post to see instructions on how to enter the chroot environment.

Step 3: Dependencies

from ubuntu packages:
*ncurses [how to cross-compile]

Step 4: Get the source code

Readline’s website: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
Version: 6.1
Direct link: ftp://ftp.cwru.edu/pub/bash/readline-6.1.tar.gz

Make sure that you are in the folder /root/code, then type:

wget ftp://ftp.cwru.edu/pub/bash/readline-6.1.tar.gz tar zxf readline-6.1.tar.gz cd readline-6.1

Step 5: Configuration

./configure --host=arm-none-linux-gnueabi --prefix=/usr/arm

Step 6: Compiling

make

Step 6: Installing

make install

And then follow step 8 of this post to get screen to your DroboFS.

And there you have it.

Hi
the steps are the same like the other threads. No special configuration or code patcing needed.

Step 5:

./configure --host=arm-none-linux-gnueabi --prefix=/usr/arm

Step 6

make

Should not return errors.

Step 7

make install

cheers

Haha thanks. I haven’t even started yet due to school work.
Glad to see another simple one.
Full speed ahead to Lua now!