Ticket #15753 (closed defect: fixed)
camlimages 2.2 does not build on 10.5.3
| Reported by: | achim.passen@… | Owned by: | reilles@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | camlimages | Cc: | blb@… |
| Port: | camlimages |
Description
"camlimages" won't build on my system (OS X 10.5.3 with MacPorts 1.6.0), instead i get the following:
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_camlimages/work/camlimages-2.2" && make all opt " returned error 2
Command output: if test "Xlibci_jpeg.a" = "X"; then \
ocamlc.opt -a -linkall -o ci_jpeg.cma \
jpeg.cmo oJpeg.cmo -ccopt -L/opt/local/lib -ljpeg; \
else \
ocamlmklib -linkall -o ci_jpeg \
jpeg.cmo oJpeg.cmo -L/opt/local/lib -ljpeg; \
fi
ocamlc.opt -ccopt "-I.. -O2 -I/opt/local/include" -c tiffread.c
tiffread.c:24:1: warning: "int16" redefined
In file included from /opt/local/lib/ocaml/caml/mlvalues.h:20,
from tiffread.c:16:
/opt/local/lib/ocaml/caml/compatibility.h:313:1: warning: this is the location of the previous definition
tiffread.c:25:1: warning: "uint16" redefined
/opt/local/lib/ocaml/caml/compatibility.h:314:1: warning: this is the location of the previous definition
tiffread.c: In function 'open_tiff_file_for_read':
tiffread.c:55: error: 'uint32_t' undeclared (first use in this function)
tiffread.c:55: error: (Each undeclared identifier is reported only once
tiffread.c:55: error: for each function it appears in.)
tiffread.c:55: error: syntax error before 'imagelength'
tiffread.c:57: error: 'uint16_t' undeclared (first use in this function)
tiffread.c:61: error: syntax error before 'runit'
tiffread.c:63: error: syntax error before 'photometric'
tiffread.c:65: error: 'imagelength' undeclared (first use in this function)
tiffread.c:66: error: 'imagewidth' undeclared (first use in this function)
tiffread.c:67: error: 'imagebits' undeclared (first use in this function)
tiffread.c:68: error: 'imagesample' undeclared (first use in this function)
tiffread.c:69: error: 'runit' undeclared (first use in this function)
tiffread.c:72: error: 'photometric' undeclared (first use in this function)
make[1]: *** [tiffread.o] Error 2
make: *** [byt] Error 2
Change History
Note: See
TracTickets for help on using
tickets.


Cc Me!