Re: in suse

From: Anton Berezin <tobez_at_tobez.org>
Date: Mon, 16 Jun 2003 16:31:23 +0200
To: Marcelo Armengot Iborra <marari_at_ono.com>

On Sat, Jun 16, 2001 at 04:01:47PM +0200, Marcelo Armengot Iborra wrote:
> I've got the Suse Linux 8.1 professional distribution.
>
> >perl Makefile.PL
> runs succes but the next
>
> >make
>
> runs like
>
> make: *** Warning: File cc -fno-strict-aliasing -Wall -O3 --pipe -fPIC -c -Iinclude -Iinclude/generic -I/usr/lib/perl5/5.cc1: warning: changing search order for system directory "/usr/local/include"
> cc1: warning: as it has already been specified as a non-system directory
> In file included from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/op.h:480,
> from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/perl.h:2209,
> from include/apricot.h:86,
> from include/img.h:34,
> from img/codec_tiff.c:36:
> /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/reentr.h:602: field `_crypt_struct' has incomplete type
> In file included from /usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/perl.h:3368,
> from include/apricot.h:86,
> from include/img.h:34,
> from img/codec_tiff.c:36:

Please try the following patch:

Index: img/codec_tiff.c
===================================================================
RCS file: /pub/prima.eu.org/cvs/prima/Prima/img/codec_tiff.c,v
retrieving revision 1.1
diff -u -r1.1 codec_tiff.c
--- img/codec_tiff.c 25 Mar 2003 17:55:11 -0000 1.1
+++ img/codec_tiff.c 16 Jun 2003 14:30:35 -0000
@@ -29,6 +29,7 @@
  * $Id: codec_tiff.c,v 1.1 2003/03/25 17:55:11 dk Exp $
  */
 
+#include <sys/types.h>
 #include <tiff.h>
 #include <tiffio.h>
 #include <tiffconf.h>

\Anton

-- 
You shouldn't be intimidated by this issue at all, since Perl is your
friend. -- Apache mod_perl guide
Received on Mon 16 Jun 2003 - 16:31:28 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:04 CET