[MacPorts] #13576: camlimages 2.2_2 fails to build: 'JCS_RGB' undeclared (first use in this function)

MacPorts trac at macosforge.org
Fri Dec 14 03:46:38 PST 2007


#13576: camlimages 2.2_2 fails to build: 'JCS_RGB' undeclared (first use in this
function)
-----------------------------------+----------------------------------------
  Reporter:  henrik at pilegaard.org  |       Owner:  macports-dev at lists.macosforge.org
      Type:  defect                |      Status:  new                              
  Priority:  Normal                |   Milestone:  Port Bugs                        
 Component:  ports                 |     Version:  1.5.2                            
Resolution:                        |    Keywords:                                   
-----------------------------------+----------------------------------------
Comment (by henrik at pilegaard.org):

 I now get a different problem under Leopard:[[BR]]

 sudo port install camlimages--->  Fetching camlimages[[BR]]
 --->  Verifying checksum(s) for camlimages[[BR]]
 --->  Extracting camlimages[[BR]]
 --->  Applying patches to camlimages[[BR]]
 --->  Configuring camlimages[[BR]]
 --->  Building camlimages with target all opt[[BR]]
 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[[BR]]
 Command output: if test "Xlibci_jpeg.a" = "X"; then \[[BR]]
             ocamlc.opt  -a -linkall -o ci_jpeg.cma \[[BR]]
                    jpeg.cmo oJpeg.cmo -ccopt -L/opt/local/lib -ljpeg;
 \[[BR]]
           else \[[BR]]
             ocamlmklib -linkall -o ci_jpeg \[[BR]]
                    jpeg.cmo oJpeg.cmo -L/opt/local/lib -ljpeg; \[[BR]]
           fi[[BR]]
 ocamlc.opt  -ccopt "-I.. -O2 -I/opt/local/include" -c tiffread.c [[BR]]
 tiffread.c:24:1: warning: "int16" redefined[[BR]]
 In file included from /opt/local/lib/ocaml/caml/mlvalues.h:20,[[BR]]
                  from tiffread.c:16:[[BR]]
 /opt/local/lib/ocaml/caml/compatibility.h:313:1: warning: this is the
 location of the previous definition[[BR]]
 tiffread.c:25:1: warning: "uint16" redefined[[BR]]
 /opt/local/lib/ocaml/caml/compatibility.h:314:1: warning: this is the
 location of the previous definition[[BR]]
 tiffread.c: In function 'open_tiff_file_for_read':[[BR]]
 tiffread.c:55: error: 'uint32_t' undeclared (first use in this
 function)[[BR]]
 tiffread.c:55: error: (Each undeclared identifier is reported only
 once[[BR]]
 tiffread.c:55: error: for each function it appears in.)[[BR]]
 tiffread.c:55: error: syntax error before 'imagelength'[[BR]]
 tiffread.c:57: error: 'uint16_t' undeclared (first use in this
 function)[[BR]]
 tiffread.c:61: error: syntax error before 'runit'[[BR]]
 tiffread.c:63: error: syntax error before 'photometric'[[BR]]
 tiffread.c:65: error: 'imagelength' undeclared (first use in this
 function)[[BR]]
 tiffread.c:66: error: 'imagewidth' undeclared (first use in this
 function)[[BR]]
 tiffread.c:67: error: 'imagebits' undeclared (first use in this
 function)[[BR]]
 tiffread.c:68: error: 'imagesample' undeclared (first use in this
 function)[[BR]]
 tiffread.c:69: error: 'runit' undeclared (first use in this
 function)[[BR]]
 tiffread.c:72: error: 'photometric' undeclared (first use in this
 function)[[BR]]
 make[1]: *** [tiffread.o] Error 2[[BR]]
 make: *** [byt] Error 2[[BR]]

 Error: Status 1 encountered during processing.[[BR]]

-- 
Ticket URL: <https://trac.macports.org/projects/macports/ticket/13576#comment:6>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list