Hi,

this Mini-Howto is a bit distro-specific but may help other users.

Regards,
- Sedat -

$ cat docs/MINI-HOWTO_BUILDING-LTP-FROM-GIT.txt

##### EXPORTS

export LANG=C
export LC_ALL=C

##### VARIABLES

GIT_URL="https://github.com/linux-test-project/ltp.git";

USER="myusername"

PREFIX="/opt/ltp"

BUILD_LOG="build-log_ltp-git.txt"
INSTALL_LOG="install-log_ltp-git.txt"

##### PREREQS ON UBUNTU

sudo apt-get install build-essential
sudo apt-get install autoconf automake autotools-dev m4
sudo apt-get install git <--- Optional: git-email for sending patches!
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get install libaio-dev

##### WORKING-DIR

mkdir -p $HOME/src/ltp
cd $HOME/src/ltp

##### GET LTP SOURCE

git clone $GIT_URL ltp-git

##### CONFIGURING LTP

cd ltp-git/
make autotools
./configure --prefix=$PREFIX

##### BUILDING LTP

make 2>&1 | tee ../$BUILD_LOG

##### INSTALL LTP

sudo mkdir $PREFIX
sudo chown $USER:$USER -R $PREFIX

make install 2>&1 | tee ../$INSTALL_LOG


-dileks // 16-Jan-2013

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to