On 12 Apr, 09:15, David Spencer <[email protected]>
wrote:
> On Apr 11, 4:15 pm, Peter Chant <[email protected]> wrote:
>
> > Can anyone give me a hint of what is going wrong here?  Untarring
> > enfuse / enblend 4.0 and running / configure does not cause any
> > complains.  However, on running make I get the output below.  Perhaps
> > it is a missing dependency but I can't see what it would be.  Problem
> > with kernel headers?
>
> Hi everybody, (sorry to butt in from nowhere in particular)
>

Since you are responding to my first post I came from nowhere
particular as well. :-)

> It's because of the recent upgrade to libpng 1.4.1.
>
> A number of deprecated libpng functions have been removed in libpng
> 1.4, including the function implicated here, png_set_gray_1_2_4_to_8.
> The following fairly trivial patch fixes it by using the replacement
> function png_set_expand_gray_1_2_4_to_8.  Apologies if the patch is
> garbled by not being properly attached.
>

Not being a C ninja I cheated and used downloaded the amended version
using mecurial.  Thanks for your efforts, greatly appreciated.  Must
get around to learning a bit more C plus the build process.

> The same problem occurs when compiling Hugin itself, so I have
> appended a patch for that as well.
>

Hugin failed when building using sbopkg but I had not investigated - I
don't use it as much as enfuse.

> Obviously these problems will eventually need to be addressed in
> enblend-enfuse and Hugin; you are, of course, welcome to apply these
> patches upstream.  Note that the patches should not break compilation
> with libpng 1.2.  However, the affected code is in the bundled Vigra
> library, so there will be an upstream patch issue for you to deal
> with.
>
> I'll be pushing these patches to Ponce's SBo-git unofficial SlackBuild
> repository for Slackware -current when I've worked out how to do
> that :-/
>

I emailed a link to this thread to Erik Hanson who maintains the
slackbuild on slackbuilds.org - got the address of the website - I've
not tried to contact him before.  It appears that Ponce's SBo-git
draws its slackbuilds from there.  Been running slack for well over a
decade and I'd not noticed SBo-git before!  Looks useful, thanks.

> Hope this is helpful.

Yes.  Thanks.

Pete

-- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

To unsubscribe, reply using "remove me" as the subject.

Reply via email to