[PATCH 0/2] build: move copy of linux headers to private directory

Thomas Haller thaller at redhat.com
Thu Sep 25 00:43:52 PDT 2014


On Thu, 2014-09-25 at 09:09 +0200, Alioune Ba wrote:
> Dear All,
> 
> I am trying to install the version 3.2.25 of libnl from the its source
> code because my ubuntu distribution (12.04) is enable to 
> 
> to provide current libnl version. However I don't find the autogen.sh
> in package I downloaded.
> 
>  How can I install libnl without autogen.sh ?


If you download the source tarball
( https://github.com/thom311/libnl/releases/download/libnl3_2_25/libnl-3.2.25.tar.gz ) there is no ./autogen.sh, because you don't need it. ./autogen.sh is needed, when compiling the source from the source code repository (git).


With the source tarball you basically do:
  tar -xvzf libnl-3.2.25.tar.gz
  cd libnl-3.2.25
  ./configure --prefix=/whatever
  make
  make install


When you compile from git, you would instead do something like:

  git clone https://github.com/thom311/libnl.git
  cd libnl
  ./autogen.sh
  ./configure --prefix=/whatever
  make
  make install


Googling turned up with
https://help.ubuntu.com/community/CompilingSoftware , which seems like a
good introduction. Google more, there are certainly better tutorials how
to build from source code. There is no specific tutorial how to build
libnl, because nobody wrote it and the same general principles apply
(configure && make && make install).


> 
> 
> Do you know why ubuntu 12.04 can not download libnl 3.2.24 ?

There is no official libnl-3.2.24 deb-package for Ubuntu 12.04
because Ubuntu 12.04 ships an older version. They don't update it,
because updating a library version potentially breaks stuff. Unless
there is a very good reason to risk this, nobody (Canonical) is willing
to invest the required time and resources to ensure that this won't
happen.

I think you should use 3.2.25 (which is the currently latest release).



Side note: in general, it's better to start a new email thread, and not
replying to an existing, unrelated email.



good luck
Thomas

> Regards
> 
> 
> On 24 September 2014 16:05, Thomas Haller <thaller at redhat.com> wrote:
>         On Wed, 2014-09-24 at 07:49 +0200, Thomas Haller wrote:
>         > How about this?
>         >
>         > Thomas Haller (2):
>         >   build/trivial: prettify makefiles by wrapping long lines
>         >   build: move copy of linux headers to private directory
>         
>         
>         Both patches applied.
>         
>         https://github.com/thom311/libnl/commit/d6f761bc4e6bdf2369d07ca3c9ee6626fdba3631
>         https://github.com/thom311/libnl/commit/1e3f316081588cd7c25a54c1321571e29cfd806c
>         
>         
>         Thomas
>         
>         _______________________________________________
>         libnl mailing list
>         libnl at lists.infradead.org
>         http://lists.infradead.org/mailman/listinfo/libnl
>         
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20140925/6f36a517/attachment.sig>


More information about the libnl mailing list