[Dillo-dev] dillo-0.7.2 compile probs SuSE 8.1

Raphael Barabas raphi.b@gmx.de
Wed, 30 Apr 2003 14:00:23 +0200


On Tue, Apr 29, 2003 at 09:38:36PM -0500, Patrick Shanahan wrote:
> Having successfully compiled 0.7.0, 0.7.1 & 0.7.12, I am unable to
> compile 0.7.2.  I get the following errors which mean very little to
> me.  Any help or direction will be appreciated.

[snip configure output]

> And I end up with a Makefile of 0 bytes.

libpng-config in libpng < 1.2.5 does not support the option "-I_opts",
which is used by configure in dillo 0.7.2. 
see bugreport 444.

either update to libpng 1.2.5 or use the following workaround to be
able to compile (you propably need to edit the path to libpng12)

--- configure.org       2003-04-17 11:05:38.079964000 +0200
+++ configure   2003-04-17 11:07:02.290610000 +0200
@@ -4221,7 +4221,7 @@ fi
 
 PNG_CONFIG="`which libpng-config || which libpng12-config`"
 if test -n "$PNG_CONFIG" ; then
-  CPPFLAGS="$CPPFLAGS `$PNG_CONFIG --I_opts`"
+  CPPFLAGS="$CPPFLAGS -I/usr/local/include/libpng12"
 fi

hth,
	raphael