From: chrubis@suse.cz
To: Sedat Dilek <sedat.dilek@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] Mini-Howto: Building ltp-from-git on Ubuntu
Date: Thu, 17 Jan 2013 16:31:40 +0100 [thread overview]
Message-ID: <20130117153140.GB12851@rei> (raw)
In-Reply-To: <CA+icZUWV1h46fEVYxKr1nd0fGKGsky2JZ4bVas-7yEq3wKcNhQ@mail.gmail.com>
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
next prev parent reply other threads:[~2013-01-17 15:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 21:32 [LTP] Mini-Howto: Building ltp-from-git on Ubuntu Sedat Dilek
2013-01-17 15:31 ` chrubis [this message]
[not found] ` <CA+icZUUQ4tGuko9qjMcaSUFCBaforJprCKgMMbbJpsPdKVPp6Q@mail.gmail.com>
2013-01-21 13:22 ` chrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130117153140.GB12851@rei \
--to=chrubis@suse.cz \
--cc=ltp-list@lists.sourceforge.net \
--cc=sedat.dilek@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox