dillo-0.7.2 compile probs SuSE 8.1
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. checking png.h usability... no checking png.h presence... yes configure: WARNING: png.h: present but cannot be compiled configure: WARNING: png.h: check for missing prerequisite headers? configure: WARNING: png.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for png.h... yes checking for png_check_sig in -lpng... no checking for pthread_create in -lpthread... no checking for ANSI C header files... (cached) yes checking fcntl.h usability... no checking fcntl.h presence... yes configure: WARNING: fcntl.h: present but cannot be compiled configure: WARNING: fcntl.h: check for missing prerequisite headers? configure: WARNING: fcntl.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for fcntl.h... yes checking for unistd.h... (cached) yes checking sys/uio.h usability... no checking sys/uio.h presence... yes configure: WARNING: sys/uio.h: present but cannot be compiled configure: WARNING: sys/uio.h: check for missing prerequisite headers? configure: WARNING: sys/uio.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for sys/uio.h... yes checking for socket... no configure: creating ./config.status config.status: creating Makefile sed: file ./confstatT5yymW/subs-2.sed line 19: Unterminated ' command config.status: creating dpi/Makefile sed: file ./confstatT5yymW/subs-2.sed line 19: Unterminated ' command config.status: creating doc/Makefile sed: file ./confstatT5yymW/subs-2.sed line 19: Unterminated ' command config.status: creating src/Makefile sed: file ./confstatT5yymW/subs-2.sed line 19: Unterminated ' command config.status: creating src/IO/Makefile sed: file ./confstatT5yymW/subs-2.sed line 19: Unterminated ' command config.status: creating config.h config.status: executing depfiles commands And I end up with a Makefile of 0 bytes. System is SuSE 8.1. tks, -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org Linux, a continuous *learning* experience
On Tue, 29 Apr 2003 21:38:36 -0500, Patrick Shanahan <paka@MyRealBox.com> 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.
checking png.h usability... no checking png.h presence... yes configure: WARNING: png.h: present but cannot be compiled configure: WARNING: png.h: check for missing prerequisite headers? configure: WARNING: png.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## <snip>
Yes, I got that problem too when I tried to build Dillo 0.7.2 earlier today. Since it didn't work I downloaded the rpm (http://www.hyperborea.org/software/repackaged/dillo-0.7.2-1.rh7.i386.rpm) which installed but when I run Dillo it segfaults with a message saying the Dillo was built for a different version of libpng (which I've already reported on this list today). So there seems to be a common thread here. Bill -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
On Tue, 29 Apr 2003 21:38:36 -0500 Patrick Shanahan <paka@MyRealBox.com> 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.
Perhaps outdated libpng? Get the latest stable at; http://sourceforge.net/project/showfiles.php?group_id=5624 - Victor
On Wed, 30 Apr 2003 05:16:24 +0200, Victor Sahlstedt <salan@myrealbox.com> wrote:
On Tue, 29 Apr 2003 21:38:36 -0500 Patrick Shanahan <paka@MyRealBox.com> 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.
Perhaps outdated libpng? Get the latest stable at; http://sourceforge.net/project/showfiles.php?group_id=5624
<snip> I just downloaded the latest libpng and built it. I still get the following segfault when I link to a web page with a png file on it: # dillo Setting locale to C... dillo_dns_init: Here we go! Disabling cookies. Nav_open_url: Url=>about:splash< Nav_open_url: Url=>http://dillo.auriga.wearlab.de/ChangeLog.html< Dns_server [0]: dillo.auriga.wearlab.de is 0x80d3608 Connecting to 134.102.206.165 Png_error_handling: Application was compiled with png.h from libpng-1.0.14 Segmentation fault If the web page does not have a png file, dillo does not crash. Checking the dillo binary I get: # ldd /usr/bin/dillo libpthread.so.0 => /lib/libpthread.so.0 (0x40013000) libpng.so.2 => /usr/local/lib/libpng.so.2 (0x40028000) <snip> So my question is how does libpng-1.0.14 relate to libpng.so.2? Thanks for any help you can provide, Bill
Hi,
Png_error_handling: Application was compiled with png.h from libpng-1.0.14 ^^^^^^^^^^^^^
Something is screwy with your versions. The 1.0.X series is quite old. Dillo may even work with it, but apparently, you got some mixture of versions on your machine, since further down you have a later version of png.
# ldd /usr/bin/dillo libpng.so.2 => /usr/local/lib/libpng.so.2 (0x40028000) ^^^^^ This is no longer the 1.0.X series.
So my question is how does libpng-1.0.14 relate to libpng.so.2?
1.0.14 is older than 1.2.X (and libpng.so.2 is 1.2.X) BTW, double check which executable you are using. Didn't you also install at some point the RH rpm ? Which seemed to becompiled with some 1.0.X version ? HTH, Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198
I am glad to report that I have finally gotten Dillo 0.7.2 up and running. Many thanks to all who helped me sort out my installation problem, especially the patient explanations about libpng, and the patch to ./configure. In a nutshell I completely removed all traces of libpng (libraries, includes, and .pc files), downloaded the libpng 1.2.5 sources, built and installed that, patched the Dillo ./configure file, then built and installed Dillo 0.7.2 from source and it worked. Nothing like some occasional house cleaning to clear out version conflicts. Thanks again for your help. Dillo is magnificient! Bill -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
In a nutshell I completely removed all traces of libpng (libraries, includes, and .pc files), downloaded the libpng 1.2.5 sources, built and installed that, patched the Dillo ./configure file, then built and installed Dillo 0.7.2 from source and it worked. Nothing like some occasional house cleaning to clear out version conflicts.
Well, actually, a mere clean upgrade to libpng.1.2.5 should have been enough. Then, the patch against configure should not be necessary. Or vice versa . Just clarifying a bit :-) Cheers, Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198
On Tue, 29 Apr 2003, William Trenker wrote:
On Wed, 30 Apr 2003 05:16:24 +0200, Victor Sahlstedt <salan@myrealbox.com> wrote:
On Tue, 29 Apr 2003 21:38:36 -0500 Patrick Shanahan <paka@MyRealBox.com> wrote:
Perhaps outdated libpng? Get the latest stable at; http://sourceforge.net/project/showfiles.php?group_id=5624
<snip>
I just downloaded the latest libpng and built it. I still get the following segfault when I link to a web page with a png file on it:
# dillo Setting locale to C... dillo_dns_init: Here we go! Disabling cookies. Nav_open_url: Url=>about:splash< Nav_open_url: Url=>http://dillo.auriga.wearlab.de/ChangeLog.html< Dns_server [0]: dillo.auriga.wearlab.de is 0x80d3608 Connecting to 134.102.206.165 Png_error_handling: Application was compiled with png.h from libpng-1.0.14 Segmentation fault
Checking the dillo binary I get:
# ldd /usr/bin/dillo libpthread.so.0 => /lib/libpthread.so.0 (0x40013000) libpng.so.2 => /usr/local/lib/libpng.so.2 (0x40028000) <snip>
So my question is how does libpng-1.0.14 relate to libpng.so.2?
Are you sure, that you don't have old 1.0.14 header laying somewhere in include path, which was found and used by compiler instead of the one you downloaded and installed?
* Victor Sahlstedt <salan@myrealbox.com> [04-29-03 22:19]:
On Tue, 29 Apr 2003 21:38:36 -0500 Patrick Shanahan <paka@MyRealBox.com> 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.
Perhaps outdated libpng? Get the latest stable at; http://sourceforge.net/project/showfiles.php?group_id=5624
sourceforge has libpng-1.2.5-? I have libpng-1.2.4-58 dillo configure.in looks for: PNG_CONFIG="hich libpng-config || which libpng12-config" ??? -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org Linux, a continuous *learning* experience
On Tue, 29 Apr 2003 22:38:59 -0500 Patrick Shanahan <paka@MyRealBox.com> wrote:
Perhaps outdated libpng? Get the latest stable at; http://sourceforge.net/project/showfiles.php?group_id=5624
sourceforge has libpng-1.2.5-? I have libpng-1.2.4-58 dillo configure.in looks for: PNG_CONFIG="hich libpng-config || which libpng12-config"
???
Well, I'm using 1.2.5 and it works so maybe it's worth a shot? - Victor
On Tue, Apr 29, 2003 at 10:38:59PM -0500, Patrick Shanahan wrote:
* Victor Sahlstedt <salan@myrealbox.com> [04-29-03 22:19]:
On Tue, 29 Apr 2003 21:38:36 -0500 Patrick Shanahan <paka@MyRealBox.com> 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.
Perhaps outdated libpng? Get the latest stable at; http://sourceforge.net/project/showfiles.php?group_id=5624
sourceforge has libpng-1.2.5-? I have libpng-1.2.4-58 dillo configure.in looks for: PNG_CONFIG="hich libpng-config || which libpng12-config"
???
Either you should do a clean upgrade or patch the configure script (see below). The "which libpng-config" stuff is perefctly ok. However, for version 1.2.5 the png folks added a few options to libpng-config which are not present for version 1.2.4. But as the developers of dillo use bleeding edge version, we assume 1.2.5 ;-) .... Anyways, dillo will run perfectly fine with png1.2.anyversion To use the Suse supplied libpng, patch the configure script with the attached patch. This patch is so trivial, you probably can do it by hand :-) ... All right, as a last word : Since I am mostly responsible for that part in dillo : I will, from now on, test on the SuSe machines I have access to ;-) .... (although I don't like Suse ...). Cheers, Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198
To use the Suse supplied libpng, patch the configure script with the attached patch. This patch is so trivial, you probably can do it by hand :-) ...
grmbl, and it's so trivial, it's invisible .... ;-) .... not any longer ... Cheers, Andreas -- **************************** NEW ADDRESS ****************************** Hamburger Sternwarte Universitaet Hamburg Gojenbergsweg 112 Tel. ++49 40 42891 4016 D-21029 Hamburg, Germany Fax. ++49 40 42891 4198
* Andreas Schweitzer <Andreas.Schweitzer@hs.uni-hamburg.de> [04-30-03 06:25]:
To use the Suse supplied libpng, patch the configure script with the attached patch. This patch is so trivial, you probably can do it by hand :-) ...
grmbl, and it's so trivial, it's invisible .... ;-) ....
not any longer ...
configure completes successfully now, but <frown>, make fail as: dillo-0.7.2/src/IO/mime.c:111: undefined reference to _Png_image' dillo-0.7.2/src/IO/mime.c:112: undefined reference to _Png_image' collect2: ld returned 1 exit status make[3]: *** [dillo] Error 1 make[3]: Leaving directory /data4/KeeP/dillo-0.7.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /data4/KeeP/dillo-0.7.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /data4/KeeP/dillo-0.7.2' make: *** [all] Error 2 tks, -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org Linux, a continuous *learning* experience
* Patrick Shanahan <paka@MyRealBox.com> [04-30-03 07:04]:
configure completes successfully now, but <frown>, make fail as:
dillo-0.7.2/src/IO/mime.c:111: undefined reference to _Png_image' dillo-0.7.2/src/IO/mime.c:112: undefined reference to _Png_image' collect2: ld returned 1 exit status make[3]: *** [dillo] Error 1 make[3]: Leaving directory /data4/KeeP/dillo-0.7.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /data4/KeeP/dillo-0.7.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /data4/KeeP/dillo-0.7.2' make: *** [all] Error 2
Please disregard this post. I should always try 3 times before bailing out. The third time was the charmer. Dillo 0.7.2 is *now* functional and *much* improved. The cut/select and/or copy/paste is a *very* desirable and welcome addition to Dillo's attributes. Thanks for the assistance and an *excellent* product. -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org Linux, a continuous *learning* experience
* Andreas Schweitzer <Andreas.Schweitzer@hs.uni-hamburg.de> [04-30-03 04:56]:
Either you should do a clean upgrade or patch the configure script (see below).
The "which libpng-config" stuff is perefctly ok. However, for version 1.2.5 the png folks added a few options to libpng-config which are not present for version 1.2.4. But as the developers of dillo use bleeding edge version, we assume 1.2.5 ;-) ....
Anyways, dillo will run perfectly fine with png1.2.anyversion To use the Suse supplied libpng, patch the configure script with the attached patch. This patch is so trivial, you probably can do it by hand :-) ...
Thanks, but you seem to have neglected to include the *patch*.
All right, as a last word : Since I am mostly responsible for that part in dillo : I will, from now on, test on the SuSe machines I have access to ;-) .... (although I don't like Suse ...). ^^^^^^^ <frown>
Thanks for your efforts, -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org Linux, a continuous *learning* experience
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
participants (6)
-
Andreas Schweitzer
-
Madis Janson
-
Patrick Shanahan
-
Raphael Barabas
-
Victor Sahlstedt
-
William Trenker