[Insight-developers] MetaIO fix for (open)solaris

Julien Jomier julien.jomier at kitware.com
Thu Jun 11 16:47:22 EDT 2009


I just submitted the patch.

-Julien

Gaëtan Lehmann wrote:
> 
> Le 11 juin 09 à 22:34, Stephen Aylward a écrit :
> 
>> I can check this in for you...it needs to be checked into the central
>> MetaIO repository and it is then automatically distributed to ITK and
>> VTK repositories.
>>
>> Will you be able to monitor the dashboards tomorrow?   I'll be around
>> to help if something breaks, but you'll need to be the first line of
>> troubleshooting.
>>
> 
> Yes, I'll be around.
> 
> Thanks!
> 
> Gaëtan
> 
> 
> 
>> Also - thanks for the fix!!!
>>
>> Stephen
>>
>>
>> 2009/6/11 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>>>
>>> Hi,
>>>
>>> I'd like to commit a fix to MetaIO which link the lib to some 
>>> required lib
>>> on solaris, but as it is shared between several projects, I'm not 
>>> sure how
>>> it should be done.
>>> The fix comes from Utilities/gdcm/src/CMakeLists.txt
>>>
>>> Index: Utilities/MetaIO/CMakeLists.txt
>>> ===================================================================
>>> RCS file: /cvsroot/Insight/Insight/Utilities/MetaIO/CMakeLists.txt,v
>>> retrieving revision 1.47
>>> diff -u -r1.47 CMakeLists.txt
>>> --- Utilities/MetaIO/CMakeLists.txt     13 May 2008 22:43:57 
>>> -0000      1.47
>>> +++ Utilities/MetaIO/CMakeLists.txt     11 Jun 2009 20:11:52 -0000
>>> @@ -54,6 +54,12 @@
>>>
>>>  INCLUDE_REGULAR_EXPRESSION("^.*$")
>>>
>>> +# Need nsl to resolve gethostbyname on SunOS-5.8
>>> +# and socket also
>>> +IF(CMAKE_SYSTEM MATCHES "SunOS.*")
>>> +  TARGET_LINK_LIBRARIES(${METAIO_NAMESPACE} socket nsl)
>>> +ENDIF(CMAKE_SYSTEM MATCHES "SunOS.*")
>>> +
>>>  IF(METAIO_FOR_VTK)
>>>   IF(BUILD_SHARED_LIBS)
>>>     ADD_DEFINITIONS(-Dvtkmetaio_BUILD_SHARED_LIBS)
>>>
>>> Can I just check it in?
>>>
>>> Regards,
>>>
>>> Gaëtan
>>>
>>> -- 
>>> Gaëtan Lehmann
>>> Biologie du Développement et de la Reproduction
>>> INRA de Jouy-en-Josas (France)
>>> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
>>> http://voxel.jouy.inra.fr  http://www.itk.org
>>> http://www.mandriva.org  http://www.bepo.fr
>>>
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-developers
>>>
>>>
>>
>>
>>
>> -- 
>> Stephen R. Aylward, Ph.D.
>> Director of Medical Imaging
>> Kitware, Inc. - North Carolina Office
>> http://www.kitware.com
>> (518) 371-3971 x300
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list