[LBo] Compilation problem

Niki Kovacs contact at kikinovak.net
Thu Nov 22 18:09:55 CET 2007


Robin a écrit :

> *** The libgnutls-config script installed by LIBGNUTLS could not be found
> *** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the LIBGNUTLS_CONFIG environment variable to the
> *** full path to libgnutls-config.
> configure: error: libgnutls is required in order to build libprelude.
> 
> So i really don't know what i am missing.
> 
A word of caution, to warn you of some pitfalls ahead. Once you decide 
to build stuff yourself, you'll see differences between distributions. 
Two examples, to illustrate this.

1) Slackware doesn't include many packages in its default configuration. 
Maybe 500 or so. But the included build tools are excellent. On my 
current Slackware desktop, I have no less than about 120 additional 
packages built from source. (No, I didn't run ./configure && make && 
make install on all of these, it's all scripted...). In six years of 
using Slackware, I've only seen *one* package fail to build 
(HandBrakeCLI, a video encoder).

2) On the other hand, some distributions make building stuff from source 
a very hard job. Ubuntu or SuSE, for example, have a great choice of 
available binary packages, but I remember every time I tried to build 
stuff on these, I often felt like I had to jump through burning loops to 
manage a build. Of course, you *can* build from source with - nearly - 
every distributions, but with some of them, it's just in the sense that 
chickens fly and horses swim. It's like with cars: some are meant to go 
offroad, some aren't. And of course you *can* drive on a dirt track with 
that Ferrari, but then, it's your decision :oD

3) Last but not least, if you're trying to build that on SuSE, go check 
if you can find an SRPM. I do quite some SRPM building on CentOS, and 
this makes the job definitely easier.

cheers,

Niki



More information about the QnA mailing list