* [LTP] Mini-Howto: Building ltp-from-git on Ubuntu
@ 2013-01-16 21:32 Sedat Dilek
2013-01-17 15:31 ` chrubis
0 siblings, 1 reply; 3+ messages in thread
From: Sedat Dilek @ 2013-01-16 21:32 UTC (permalink / raw)
To: ltp-list
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] Mini-Howto: Building ltp-from-git on Ubuntu
2013-01-16 21:32 [LTP] Mini-Howto: Building ltp-from-git on Ubuntu Sedat Dilek
@ 2013-01-17 15:31 ` chrubis
[not found] ` <CA+icZUUQ4tGuko9qjMcaSUFCBaforJprCKgMMbbJpsPdKVPp6Q@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: chrubis @ 2013-01-17 15:31 UTC (permalink / raw)
To: Sedat Dilek; +Cc: ltp-list
Hi!
> $ 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
You can add libcap-dev and libattr-dev (and possibly more, we should
probably keep a list in some file in doc/ directory).
> ##### 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
Hmm, the installation is expected to be run as root (and I'm not sure if
this will work correctly, most of the thigs should, but there may be
test that expects that particular file is owned by root, etc.).
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LTP] Mini-Howto: Building ltp-from-git on Ubuntu
[not found] ` <CA+icZUUQ4tGuko9qjMcaSUFCBaforJprCKgMMbbJpsPdKVPp6Q@mail.gmail.com>
@ 2013-01-21 13:22 ` chrubis
0 siblings, 0 replies; 3+ messages in thread
From: chrubis @ 2013-01-21 13:22 UTC (permalink / raw)
To: Sedat Dilek; +Cc: ltp-list
Hi!
> ##### EXPORTS
>
> export LANG=C
> export LC_ALL=C
>
> ##### VARIABLES
>
> WORKING_DIR="$HOME/src/ltp"
>
> BUILD_LOG_FILE="build-log_ltp-git.txt"
> INSTALL_LOG_FILE="install-log_ltp-git.txt"
>
> GIT_URL="https://github.com/linux-test-project/ltp.git"
>
> PREFIX="/opt/ltp"
>
> ##### PREREQS ON UBUNTU
>
> sudo apt-get install build-essential
> sudo apt-get install autoconf automake autotools-dev m4
> sudo apt-get install git
> sudo apt-get install linux-headers-$(uname -r)
> sudo apt-get install libaio-dev libattr1-dev libcap-dev
>
> ##### WORKING-DIR
>
> mkdir -p $WORKING_DIR
> cd $WORKING_DIR
>
> ##### 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_FILE
>
> ##### INSTALL LTP
>
> sudo make install 2>&1 | tee ../$INSTALL_LOG_FILE
This one looks good. I think that we can add it into the doc/ directory,
can you send a patch? (and perhaps change the filename not to use caps
as the rest of the files in doc/ is named in lowercase letters).
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-21 13:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16 21:32 [LTP] Mini-Howto: Building ltp-from-git on Ubuntu Sedat Dilek
2013-01-17 15:31 ` chrubis
[not found] ` <CA+icZUUQ4tGuko9qjMcaSUFCBaforJprCKgMMbbJpsPdKVPp6Q@mail.gmail.com>
2013-01-21 13:22 ` chrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox