Le 20 oct. 07 à 01:28, rodney@oceanbrowser.com a écrit :
Hi Thomas,
I'm having the same error with TIFF install using port. In this case I am actually trying to run port install php4 +imap and it's one of the dependencies.
Can you give me any clues as to how to fix this? I've already done:
port sync port -dvnf upgrade outdated
i don't use -nf more, i think it's not the right way i use "port upgrade outdated", wasting some disk space, waiting to be able to do "port -u upgrade outdated" but on the computer where i made tests with "port -nfu upgrade outdated", i don't know how to recover tiff, even with "port clean tiff" it doesn't works :-(
Thomas De Contes wrote:
Le 4 oct. 07 à 03:22, Daniel J. Luke a écrit :
On Oct 3, 2007, at 8:43 PM, Chip Warden wrote:
On Oct 3, 2007, at 7:27 PM, Thomas De Contes wrote:
do you mean that i should put port -nfu upgrade outdated in my script ?
I can verify that this does work in a script (unless you have compilation errors).
what do you mean with "unless you have compilation errors" ?
This will work most of the time (but will fail in some cases where you really need to upgrade the dependencies before you upgrade the port).
is it the case when i get :
---> Building tiff with target all Error: Target org.macports.build returned: shell command " cd "/ Users/ thomas/Documents/prgm/bin/autoinstall/macports/var/macports/build/ _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_so urc es_rsync.macports.org_release_ports_graphics_tiff/work/tiff-3.8.2" && make all " returned error 2 Command output: /System/Library/Frameworks/GLUT.framework/Headers/ glut.h:560: error: parse error before 'size' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:561: error: parse error before 'size' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:562: error: parse error before 'innerRadius' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:563: error: parse error before 'innerRadius' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:566: error: parse error before 'size' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:567: error: parse error before 'size' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:577: error: parse error before 'param' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:617: error: parse error before 'mode' 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: parse error before 'GLvoid' tiffgt.c: In function 'raster_reshape': tiffgt.c:291: error: 'GLfloat' undeclared (first use in this function) tiffgt.c:291: error: parse error before 'xratio' 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: *** [all-recursive] Error 1
Error: Unable to upgrade port: 1
?
i don't like -f very much, anyway, because we force it to do sth because it didn't want to do it normally, and if it didn't want to do it normally, there may be a good reason
-- j'agis contre l'assistanat, je travaille dans une SCOP !
Thomas, Check that you have OpenGLSDK installed. I ran port -d install tiff and it revealed that there was a dependency on openglsdk and that was missing from my system - fixed my problem. Thanks for reply and good luck. ~ Rodney - Rodney Tamblyn OceanBrowser Ltd Dunedin, New Zealand Tel: +64 3 4742102 x 22 Tel: +64 4 4602519 x 22 Tel: +61 2 82315746 x 22 http://oceanbrowser.com/phone x 22 http://oceanbrowser.com On 22/10/2007, at 1:01 PM, Thomas De Contes wrote:
Le 20 oct. 07 à 01:28, rodney@oceanbrowser.com a écrit :
Hi Thomas,
I'm having the same error with TIFF install using port. In this case I am actually trying to run port install php4 +imap and it's one of the dependencies.
Can you give me any clues as to how to fix this? I've already done:
port sync port -dvnf upgrade outdated
i don't use -nf more, i think it's not the right way i use "port upgrade outdated", wasting some disk space, waiting to be able to do "port -u upgrade outdated"
but on the computer where i made tests with "port -nfu upgrade outdated", i don't know how to recover tiff, even with "port clean tiff" it doesn't works :-(
Thomas De Contes wrote:
Le 4 oct. 07 à 03:22, Daniel J. Luke a écrit :
On Oct 3, 2007, at 8:43 PM, Chip Warden wrote:
On Oct 3, 2007, at 7:27 PM, Thomas De Contes wrote:
do you mean that i should put port -nfu upgrade outdated in my script ?
I can verify that this does work in a script (unless you have compilation errors).
what do you mean with "unless you have compilation errors" ?
This will work most of the time (but will fail in some cases where you really need to upgrade the dependencies before you upgrade the port).
is it the case when i get :
---> Building tiff with target all Error: Target org.macports.build returned: shell command " cd "/ Users/ thomas/Documents/prgm/bin/autoinstall/macports/var/macports/build/ _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_s ourc es_rsync.macports.org_release_ports_graphics_tiff/work/ tiff-3.8.2" && make all " returned error 2 Command output: /System/Library/Frameworks/GLUT.framework/Headers/ glut.h:560: error: parse error before 'size' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:561: error: parse error before 'size' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:562: error: parse error before 'innerRadius' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:563: error: parse error before 'innerRadius' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:566: error: parse error before 'size' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:567: error: parse error before 'size' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:577: error: parse error before 'param' /System/Library/Frameworks/GLUT.framework/Headers/glut.h:617: error: parse error before 'mode' 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: parse error before 'GLvoid' tiffgt.c: In function 'raster_reshape': tiffgt.c:291: error: 'GLfloat' undeclared (first use in this function) tiffgt.c:291: error: parse error before 'xratio' 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: *** [all-recursive] Error 1
Error: Unable to upgrade port: 1
?
i don't like -f very much, anyway, because we force it to do sth because it didn't want to do it normally, and if it didn't want to do it normally, there may be a good reason
-- j'agis contre l'assistanat, je travaille dans une SCOP !
On Oct 21, 2007, at 8:01 PM, Thomas De Contes wrote:
i don't use -nf more, i think it's not the right way i use "port upgrade outdated", wasting some disk space, waiting to be able to do "port -u upgrade outdated"
but on the computer where i made tests with "port -nfu upgrade outdated", i don't know how to recover tiff, even with "port clean tiff" it doesn't works :-(
If you are saying that upgrading is leaving a bunch of inactive old versions of ports lying around then why not use sudo port -d uninstall inactive to remove them? If you want to be safe you can always do: port list inactive first to see what will go away. but Im no expert so you may want another opinion.
Le 22 oct. 07 à 11:17, William Davis a écrit :
On Oct 21, 2007, at 8:01 PM, Thomas De Contes wrote:
i don't use -nf more, i think it's not the right way i use "port upgrade outdated", wasting some disk space, waiting to be able to do "port -u upgrade outdated"
but on the computer where i made tests with "port -nfu upgrade outdated", i don't know how to recover tiff, even with "port clean tiff" it doesn't works :-(
If you are saying that upgrading is leaving a bunch of inactive old versions of ports lying around then why not use
sudo port -d uninstall inactive
to remove them?
If you want to be safe you can always do:
port list inactive
first to see what will go away.
but Im no expert so you may want another opinion.
thomas% port list inactive glib2 @2.14.2 devel/glib2 gtk2 @2.12.1 x11/gtk2 libpng @1.2.22 graphics/libpng mpfr @2.3.0 devel/mpfr openssl @0.9.8f devel/openssl pango @1.18.3 x11/pango sqlite3 @3.5.1 databases/sqlite3 thomas% port -d uninstall inactive DEBUG: gtk2 depends on this port DEBUG: atk depends on this port DEBUG: pango depends on this port DEBUG: pango depends on this port DEBUG: gtk2 depends on this port ---> Unable to uninstall glib2 2.14.1_0, the following ports depend on it: ---> gtk2 ---> atk ---> pango ---> pango ---> gtk2 DEBUG: Please uninstall the ports that depend on glib2 first. while executing "portuninstall::uninstall $portname [composite_version $portversion [array get variations]] [array get options]" Error: port uninstall failed: Please uninstall the ports that depend on glib2 first. thomas% port list inactive glib2 @2.14.2 devel/glib2 gtk2 @2.12.1 x11/gtk2 libpng @1.2.22 graphics/libpng mpfr @2.3.0 devel/mpfr openssl @0.9.8f devel/openssl pango @1.18.3 x11/pango sqlite3 @3.5.1 databases/sqlite3 -- j'agis contre l'assistanat, je travaille dans une SCOP !
participants (3)
-
rodney tamblyn
-
Thomas De Contes
-
William Davis