Graphic Links patch

Stefan Sperling stsp at stsp.name
Sun Apr 15 17:47:48 CEST 2007


On Sun, Apr 15, 2007 at 05:39:33PM +0200, John S. Skogtvedt wrote:
> Stefan Sperling skrev:
> > On Sun, Apr 15, 2007 at 05:12:39PM +0200, John S. Skogtvedt wrote:
> >> Doesn't seem to compile. Ran svn up (at r1724), cleaned out my config,
> >> did make clean and make, and got the following error when it ran the
> >> links configure script:
> >>
> >> checking for libpng >= 1.0.0... yes

That check is never made here.

I get this instead:

checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.

And the build succeeds.

My guess is that you have pkg-config installed, and the
build uses it to override CFLAGS etc. for libpng.

What happens if you set PKG_CONFIG=/bin/false in the configure
script environment?


> >> checking LIBPNG_CFLAGS... -I/usr/include/libpng12
> >> checking LIBPNG_LIBS... -lpng12
> >> checking for png.h... yes
> >> checking for libpng/png.h... no
> >> checking for png_create_info_struct in -lpng... no
> >> configure: error: You need libpng to compile Links in graphics mode
> >> make[2]: *** [.configured] Fejl 1
> >> make[2]: Forlader katalog '/home/jss/dslinux/user/links'
> >> make[1]: *** [all] Fejl 2
> >> make[1]: Forlader katalog '/home/jss/dslinux/user'
> >> make: *** [subdirs] Fejl 1
-- 
stefan
http://stsp.name                                         PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mailman.dslinux.in-berlin.de/pipermail/dslinux-devel-dslinux.in-berlin.de/attachments/20070415/fd7a3d96/attachment.pgp 


More information about the dslinux-devel mailing list