[dev] Re: Library requirements (freetype2 = 2.0 ) not met . . .

2009-11-18 Thread Michael Stahl
On 17/11/2009 17:32, Albretch Mueller wrote:
  configure: error: install curl to run this script
 
  and I already (apparently) fixed a similar curl-config one
 
  This is what my system looks like right now:
 
 r...@knoppix:/media/hdb2/inst/sw/OO/source/ooxpkgs# dpkg -l | grep curl
 ii  libcurl3 7.15.5-1
  Multi-protocol file transfer library
 
  What more curl(ing) stuff do I need?

uhm, there really is a very simple rule for this: if configure complains
that it cannot find the foo library, and you see that you have a
libfooN package installed, then you should install a package that (on
debian or derived distros) is either named libfoo-dev or libfooN-dev.
that rule should apply at least 95% of the time.

but of course there is also a simpler way: for a lot (but not all) of
external libraries, the OOo repository already contains a copy.
you can enable those by passing --without-system-libs to configure.

if you really want to build with system libs, probably the easiest way
is something like apt-get build-dep openoffice.org (but that is
still not perfect, because it may install more or less than what your
particular configure flags on your particular source milestone require).

regards,
michael

-- 
When C++ is your hammer, everything looks like a thumb.
 -- Steven M. Haflich


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Re: Library requirements (freetype2 = 2.0 ) not met . . .

2009-11-18 Thread Thorsten Behrens
Michael Stahl wrote:
   What more curl(ing) stuff do I need?
 
 uhm, there really is a very simple rule for this: if configure complains
 that it cannot find the foo library, and you see that you have a
 libfooN package installed, then you should install a package that (on
 debian or derived distros) is either named libfoo-dev or libfooN-dev.
 that rule should apply at least 95% of the time.
 
Heh. I wonder why people with virtually no build-stuff-on-linux
experience actually choose OOo as their very first project, likely
one of the hardest picks one could make.

Maybe a disclaimer like: if you've never built stuff on Linux,
please start with easy project Foo, build instructions at Bah
should be added to the build guide?

 but of course there is also a simpler way: for a lot (but not all) of
 external libraries, the OOo repository already contains a copy.
 you can enable those by passing --without-system-libs to configure.
 
I wouldn't call it simpler, if the general concept of a -dev package 
is not grokked beforehand.

Cheers,

-- Thorsten

Java isn't platform independent; it is a platform.
  --  Stroustrup


pgpFDTWDQyqlt.pgp
Description: PGP signature