Hi,

I haven't been able to compile camlimages-4.1.1 for quite some time, but
today I stuck with it, tried including all dependencies, and reached a
brick wall. It just won't compile for me. I'm hoping someone can tell me
what I can do to get it compiled. Here's the entire terminal output:

 * camlimages-4.1.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-)
...                                                                             
[ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/dev-ml/camlimages-4.1.1/work
>>> Preparing source in
/var/tmp/portage/dev-ml/camlimages-4.1.1/work/camlimages-4.1.1 ...
>>> Source prepared.
>>> Configuring source in
/var/tmp/portage/dev-ml/camlimages-4.1.1/work/camlimages-4.1.1 ...
>>> Source configured.
>>> Compiling source in
/var/tmp/portage/dev-ml/camlimages-4.1.1/work/camlimages-4.1.1 ...
*** omake: reading OMakefiles
File OMyMakeroot: line 191, characters 18-98:
   Warning: old-style fun expression.
   This expression should use a => binding.
File src/OMakefile: line 79, characters 2-34:
   Warning: old-style foreach expression.
   This expression should use a => binding.
File src/OMakefile: line 83, characters 2-24:
   Warning: old-style foreach expression.
   This expression should use a => binding.
File src/OMakefile: line 157, characters 2-34:
   Warning: old-style foreach expression.
   This expression should use a => binding.
File src/OMakefile: line 161, characters 2-24:
   Warning: old-style foreach expression.
   This expression should use a => binding.
File src/OMakefile: line 181, characters 2-34:
   Warning: old-style foreach expression.
   This expression should use a => binding.
File src/OMakefile: line 188, characters 2-24:
   Warning: old-style foreach expression.
   This expression should use a => binding.
File src/OMakefile: line 205, characters 2-38:
   Warning: old-style foreach expression.
   This expression should use a => binding.
File src/OMakefile: line 254, characters 70-144:
   Warning: old-style foreach expression.
   This expression should use a => binding.
--- Checking for ocamlfind... (found /usr/bin/ocamlfind)
--- Checking for ocamlc.opt... (found /usr/bin/ocamlc.opt)
--- Checking for ocamlopt.opt... (found /usr/bin/ocamlopt.opt)
--- Checking whether ocamlc understands the "z" warnings... (yes)
--- Checking for ocamlmklib... (found /usr/bin/ocamlmklib)
--- Checking for pkg-config... (found /usr/bin/pkg-config)
--- Checking for zlib.h... --- Checking for gcc... (found /usr/bin/gcc)
--- Checking for g++... (found /usr/bin/g++)
(found)
--- Checking for function zlibVersion in library z... (found)
--- Checking for libgif by pkg-config... (failed /usr/bin/pkg-config libgif)
--- Checking for gif_lib.h... (found)
--- Checking for function DGifOpenFileName in library gif... (found)
--- Checking for libpng by pkg-config... (found)
--- Checking for libjpeg by pkg-config... (failed /usr/bin/pkg-config
libjpeg)
--- Checking for jpeglib.h... (found)
--- Checking for function jpeg_read_header in library jpeg... (found)
--- Checking for libexif by pkg-config... (found)
--- Checking for libtiff-4 by pkg-config... (found)
--- Checking for xpm by pkg-config... (found)
--- Checking for gs... (found /usr/bin/gs)
--- Checking lablgtk2... /usr/lib64/ocaml/lablgtk2
(found)
--- Checking graphics compilability: open Graphics... (yes)
--- Checking for freetype-config... (found /usr/bin/freetype-config)
--- Checking for rgb.txt... (found /usr/share/X11/rgb.txt)
--- Configuring
wordsize  8
--- C libraries
libgif:   true
libpng:   true
libjpeg:  true
libexif:  true
libtiff:  true
libxpm:   true
libz:     true
--- Subpackages
gif:      true (-lgif)
png:      true (-I/usr/include/libpng16 -lpng16)
jpeg:     true (-ljpeg)
exif:     true (-I/usr/include/libexif -lexif)
tiff:     true (-ltiff)
xpm:      true (-lXpm -lX11)
freetype: true (/usr/bin/freetype-config) (-I/usr/include/freetype2
-lfreetype -lz -lbz2)
ps:       true (/usr/bin/gs)
rgb.txt:  true (/etc/X11 /usr/share/X11)
lablgtk2: true
graphics: true
--- Summary
supported subpackages: gif png jpeg exif tiff xpm ps lablgtk2 graphics
freetype
supported formats:     gif png jpeg exif tiff xpm ps
supported non-formats: lablgtk2 graphics freetype
---
--- Checking if ocamldep understands -modules... (yes)
*** omake: finished reading OMakefiles (0.28 sec)
- build src pngread.o                 
+ gcc -fPIC -I /usr/lib64/ocaml -I/usr/include/libpng16
-I/usr/include/libexif -I/usr/include/freetype2 -I. -c -o pngread.o
pngread.c
pngread.c: In function 'read_png_file_as_rgb24':
pngread.c:155:7: warning: incompatible implicit declaration of built-in
function 'memcpy' [enabled by default]
pngread.c: In function 'read_png_file':
pngread.c:356:13: warning: incompatible implicit declaration of built-in
function 'memcpy' [enabled by default]
pngread.c:381:11: warning: incompatible implicit declaration of built-in
function 'memcpy' [enabled by default]
- build src exif.o                    
+ ocamlfind ocamlopt -package lablgtk2,graphics -I . -c exif.ml
File "exif.ml", line 21, characters 15-29:
Error: Unbound value Sys.big_endian
*** omake: 415/866 targets are up to date
*** omake: failed (3.41 sec, 79/79 scans, 117/175 rules, 289/848 digests)
*** omake: targets were not rebuilt because of errors:
   src/exif.cmx
      depends on: src/exif.ml
   src/exif.o
      depends on: src/exif.ml
 * ERROR: dev-ml/camlimages-4.1.1::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 1838:  Called die
 * The specific snippet of code:
 *       omake $(camlimages_arg_want exif        EXIF    )
$(camlimages_arg_want gif         GIF     ) $(camlimages_arg_want
png         PNG     ) $(camlimages_arg_want jpeg        JPEG    )
$(camlimages_arg_want tiff        TIFF    ) $(camlimages_arg_want
xpm         XPM     ) $(camlimages_arg_want postscript  GS      )
$(camlimages_arg_want gtk         LABLGTK2) $(camlimages_arg_want
X           GRAPHICS) $(camlimages_arg_want truetype    FREETYPE)
--force-dotomake || die;
 *
 * If you need support, post the output of `emerge --info
'=dev-ml/camlimages-4.1.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv
'=dev-ml/camlimages-4.1.1::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/dev-ml/camlimages-4.1.1/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-ml/camlimages-4.1.1/temp/environment'.
 * Working directory:
'/var/tmp/portage/dev-ml/camlimages-4.1.1/work/camlimages-4.1.1'
 * S: '/var/tmp/portage/dev-ml/camlimages-4.1.1/work/camlimages-4.1.1'

Thanks!
Damien

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to