[Pkg-phototools-devel] openjpeg FTBFS on alpha
Sebastian Harl
sh at tokkee.org
Mon May 26 17:52:57 UTC 2008
Hi,
On Mon, May 26, 2008 at 01:21:45PM +0100, Robin Cornelius wrote:
> gcc compat/getopt.c index.c convert.c j2k_to_image.c -o j2k_to_image
> -L.. -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
> In file included from j2k_to_image.c:40:
> dirent.h:122:5: error: #error "not implemented"
> dirent.h:673:3: error: #error "missing dirent interface"
> j2k_to_image.c: In function 'get_num_images':
> j2k_to_image.c:144: error: 'DIR' undeclared (first use in this function)
Looks like the configure script is missing here. That check in
codec/dirent.h counts on autoconf determining the availability of some
features while there is no configure script and no config.h which would
provide that kind of information...
So, to me, this looks like upstream was copying that file from somewhere
without really looking at it. The best way (imho) in the long run would
be to bug upstream to switch to autotools. If that's not what they want,
they still have to fix that somehow. For now, you could write a small
wrapper using autotools to either call the makefile provided by upstream
or create CFLAGS dynamically.
Cheers,
Sebastian
--
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20080526/94729273/attachment.pgp
More information about the Pkg-phototools-devel
mailing list