[MacPorts] #21136: tiff fails to build
MacPorts
noreply at macports.org
Sun Sep 6 09:13:37 PDT 2009
#21136: tiff fails to build
-------------------------------+--------------------------------------------
Reporter: aligator@… | Owner: waqar@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: tiff
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):
* owner: macports-tickets@… => waqar@…
Old description:
> Could not build tiff 3.8.2_3 with Snow Leopard, this is the output:
>
> ---> Building tiff
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_mac
> orts_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.8.2"
> && /usr/bin/make -j2 all " returne
> error 2
> Command output: tiffgt.c: In function 'main':
> tiffgt.c:132: warning: implicit declaration of function 'glutGet'
> tiffgt.c: In function 'raster_draw':
> tiffgt.c:285: warning: implicit declaration of function 'glDrawPixels'
> tiffgt.c:285: error: 'GL_RGBA' undeclared (first use in this function)
> tiffgt.c:285: error: (Each undeclared identifier is reported only once
> tiffgt.c:285: error: for each function it appears in.)
> tiffgt.c:285: error: 'GL_UNSIGNED_BYTE' undeclared (first use in this
> function)
> tiffgt.c:285: error: expected ')' before 'GLvoid'
> tiffgt.c:285: warning: type defaults to 'int' in declaration of 'type
> name'
> tiffgt.c:285: warning: cast from pointer to integer of different size
> tiffgt.c: In function 'raster_reshape':
> tiffgt.c:291: error: 'GLfloat' undeclared (first use in this function)
> tiffgt.c:291: error: expected ';' before 'xratio'
> tiffgt.c:292: error: expected ';' before 'yratio'
> tiffgt.c:293: error: 'xratio' undeclared (first use in this function)
> tiffgt.c:293: error: 'yratio' undeclared (first use in this function)
> tiffgt.c:295: warning: implicit declaration of function 'glPixelZoom'
> tiffgt.c:296: warning: implicit declaration of function 'glViewport'
> tiffgt.c: In function 'raster_keys':
> tiffgt.c:303: warning: unused parameter 'x'
> tiffgt.c:303: warning: unused parameter 'y'
> tiffgt.c: In function 'raster_special':
> tiffgt.c:348: warning: unused parameter 'x'
> tiffgt.c:348: warning: unused parameter 'y'
> make[1]: *** [tiffgt-tiffgt.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> libtool: link: /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall -W -o
> .libs/bmp2tiff bmp2tiff.o -L/opt/local/lib ../lib
> iff/.libs/libtiff.dylib ../port/.libs/libport.a
> /opt/local/lib/libjpeg.dylib -lz -lc
> libtool: link: creating bmp2tiff
> make: *** [all-recursive] Error 1
New description:
Could not build tiff 3.8.2_3 with Snow Leopard, this is the output:
{{{
---> Building tiff
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_mac
orts_sources_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.8.2"
&& /usr/bin/make -j2 all " returne
error 2
Command output: tiffgt.c: In function 'main':
tiffgt.c:132: warning: implicit declaration of function 'glutGet'
tiffgt.c: In function 'raster_draw':
tiffgt.c:285: warning: implicit declaration of function 'glDrawPixels'
tiffgt.c:285: error: 'GL_RGBA' undeclared (first use in this function)
tiffgt.c:285: error: (Each undeclared identifier is reported only once
tiffgt.c:285: error: for each function it appears in.)
tiffgt.c:285: error: 'GL_UNSIGNED_BYTE' undeclared (first use in this
function)
tiffgt.c:285: error: expected ')' before 'GLvoid'
tiffgt.c:285: warning: type defaults to 'int' in declaration of 'type
name'
tiffgt.c:285: warning: cast from pointer to integer of different size
tiffgt.c: In function 'raster_reshape':
tiffgt.c:291: error: 'GLfloat' undeclared (first use in this function)
tiffgt.c:291: error: expected ';' before 'xratio'
tiffgt.c:292: error: expected ';' before 'yratio'
tiffgt.c:293: error: 'xratio' undeclared (first use in this function)
tiffgt.c:293: error: 'yratio' undeclared (first use in this function)
tiffgt.c:295: warning: implicit declaration of function 'glPixelZoom'
tiffgt.c:296: warning: implicit declaration of function 'glViewport'
tiffgt.c: In function 'raster_keys':
tiffgt.c:303: warning: unused parameter 'x'
tiffgt.c:303: warning: unused parameter 'y'
tiffgt.c: In function 'raster_special':
tiffgt.c:348: warning: unused parameter 'x'
tiffgt.c:348: warning: unused parameter 'y'
make[1]: *** [tiffgt-tiffgt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: link: /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall -W -o
.libs/bmp2tiff bmp2tiff.o -L/opt/local/lib ../lib
iff/.libs/libtiff.dylib ../port/.libs/libport.a
/opt/local/lib/libjpeg.dylib -lz -lc
libtool: link: creating bmp2tiff
make: *** [all-recursive] Error 1
}}}
--
--
Ticket URL: <http://trac.macports.org/ticket/21136#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list