port -u upgrade outdated

Thomas De Contes d.l.tDeContes at free.fr
Sun Oct 21 17:01:54 PDT 2007


Le 20 oct. 07 à 01:28, rodney at 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 !




More information about the macports-users mailing list