public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* elfutils build and testing
@ 2017-09-18 12:24 Phi Debian
  2017-09-18 12:30 ` Phi Debian
  2017-09-19 14:09 ` Mark Wielaard
  0 siblings, 2 replies; 3+ messages in thread
From: Phi Debian @ 2017-09-18 12:24 UTC (permalink / raw)
  To: elfutils-devel

Hi All,


Just subscribed :).

Here is my 1st question.

I just git cloned the elfutils.git

How to I build it, to my surprise there is no configure script
(assuming the clone is not damaged)

My secondary question is assuming I can build what is the process to
run the test suite?

I run on ubuntu
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial

Thanx in advance
Cheers,
Phi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: elfutils build and testing
  2017-09-18 12:24 elfutils build and testing Phi Debian
@ 2017-09-18 12:30 ` Phi Debian
  2017-09-19 14:09 ` Mark Wielaard
  1 sibling, 0 replies; 3+ messages in thread
From: Phi Debian @ 2017-09-18 12:30 UTC (permalink / raw)
  To: elfutils-devel

Hi All

Sorry about that, I figured that using the tarball do provide the
configure script, I'll start from there.

Cheers
Phi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: elfutils build and testing
  2017-09-18 12:24 elfutils build and testing Phi Debian
  2017-09-18 12:30 ` Phi Debian
@ 2017-09-19 14:09 ` Mark Wielaard
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Wielaard @ 2017-09-19 14:09 UTC (permalink / raw)
  To: Phi Debian, elfutils-devel

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

Hi Phi,

On Mon, 2017-09-18 at 14:24 +0200, Phi Debian wrote:
> I just git cloned the elfutils.git
> 
> How to I build it, to my surprise there is no configure script
> (assuming the clone is not damaged)
> 
> My secondary question is assuming I can build what is the process to
> run the test suite?

To my own surprise this isn't documented at all.
I added the attached to the README.
Hope that helps.

Thanks,

Mark

[-- Attachment #2: 0001-README-Add-basic-build-instructions.patch --]
[-- Type: text/x-patch, Size: 1538 bytes --]

From 04ecad6acd13e7120b171307aa57325b2ec08715 Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mark@klomp.org>
Date: Tue, 19 Sep 2017 16:05:49 +0200
Subject: [PATCH] README: Add basic build instructions.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 ChangeLog | 4 ++++
 README    | 9 +++++++++
 2 files changed, 13 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 86b19b5..c0034ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-19  Mark Wielaard  <mark@klomp.org>
+
+	* README: Add basic build instructions.
+
 2017-05-03  Ulf Hermann  <ulf.hermann@qt.io>
 
 	* configure.ac: Test if symbol versioning is supported.
diff --git a/README b/README
index 9e55d75..0e15bae 100644
--- a/README
+++ b/README
@@ -5,11 +5,20 @@ The project home is http://elfutils.org/
 Releases are published at ftp://sourceware.org/pub/elfutils/
 Which can also be found at https://sourceware.org/elfutils/ftp/
 
+To build a release do: ./configure && make && make check
+Please check the configure summary to make sure all recommended
+features are enabled. There should be no failures after make check.
+
 Please reports bugs at https://sourceware.org/bugzilla/
 
 The current elfutils source code can be checked out with
 git clone git://sourceware.org/git/elfutils.git
 
+To build a git checkout do:
+  autoreconf -i -f && \
+  ./configure --enable-maintainer-mode && \
+  make && make check
+
 The developer mailinglist to send patches to is
 elfutils-devel@sourceware.org.
 https://sourceware.org/ml/elfutils-devel/
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-19 14:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-18 12:24 elfutils build and testing Phi Debian
2017-09-18 12:30 ` Phi Debian
2017-09-19 14:09 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).