#13627 closed defect (invalid)
vtk5: fails to build ("ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib")
Reported by: | chris@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | jmroot (Joshua Root), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | |
Port: | vtk5 |
Description
The problem is described here: http://developer.apple.com/qa/qa2007/qa1567.html
The build continued normally once I updated VTKLibraryDepends.cmake to add:
-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
Change History (9)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | rene.donner@… added |
---|
comment:2 Changed 17 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|
I just tried building vtk5 on Leopard and it works fine. Could this have been fixed by the new version of cmake?
comment:3 Changed 17 years ago by chris@…
I upgraded cmake (and all other installed packages) - now it's failing while compiling the tcl bindings:
`
chris@Enceladus:~ $ sudo port clean vtk5
Password:
---> Cleaning vtk5
chris@Enceladus:~ $ sudo port install vtk5
---> Fetching vtk5
---> Verifying checksum(s) for vtk5
---> Extracting vtk5
---> Applying patches to vtk5
---> Configuring vtk5
---> Building vtk5 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/work/VTK" && make all " returned error 2
Command output: vtkHierarchicalDataInformationCppCommand(vtkHierarchicalDataInformation*, Tcl_Interp*, int, char)in libvtkFilteringTCL.a(vtkHierarchicalDataInformationTcl.o)
"vtkDataArray::GetDataTypeSize(int)", referenced from:
vtkDataArrayCppCommand(vtkDataArray*, Tcl_Interp*, int, char)in libvtkCommonTCL.a(vtkDataArrayTcl.o)
"vtkSortDataArray::Sort(vtkDataArray*, vtkIdList*)", referenced from:
vtkSortDataArrayCppCommand(vtkSortDataArray*, Tcl_Interp*, int, char)in libvtkGraphicsTCL.a(vtkSortDataArrayTcl.o)
"vtkStreamingDemandDrivenPipeline::UPDATE_TIME_INDEX()", referenced from:
vtkStreamingDemandDrivenPipelineCppCommand(vtkStreamingDemandDrivenPipeline*, Tcl_Interp*, int, char)in libvtkFilteringTCL.a(vtkStreamingDemandDrivenPipelineTcl.o)
"vtkWriter::EncodeArrayName(char*, char const*)", referenced from:
vtkWriterCppCommand(vtkWriter*, Tcl_Interp*, int, char)in libvtkIOTCL.a(vtkWriterTcl.o)
"vtkHierarchicalDataInformation::DeepCopy(vtkHierarchicalDataInformation*)", referenced from:
vtkHierarchicalDataInformationCppCommand(vtkHierarchicalDataInformation*, Tcl_Interp*, int, char)in libvtkFilteringTCL.a(vtkHierarchicalDataInformationTcl.o)
"vtkHierarchicalDataExtractDataSets::AddDataSet(unsigned int, unsigned int)", referenced from:
vtkHierarchicalDataExtractDataSetsCppCommand(vtkHierarchicalDataExtractDataSets*, Tcl_Interp*, int, char)in libvtkGraphicsTCL.a(vtkHierarchicalDataExtractDataSetsTcl.o)
"vtkCompositeDataPipeline::MARKED_FOR_UPDATE()", referenced from:
vtkCompositeDataPipelineCppCommand(vtkCompositeDataPipeline*, Tcl_Interp*, int, char)in libvtkFilteringTCL.a(vtkCompositeDataPipelineTcl.o)
"vtkHierarchicalDataInformation::GetNumberOfDataSets(unsigned int)", referenced from:
vtkHierarchicalDataInformationCppCommand(vtkHierarchicalDataInformation*, Tcl_Interp*, int, char)in libvtkFilteringTCL.a(vtkHierarchicalDataInformationTcl.o)
"vtkHierarchicalDataExtractDataSets::ClearDataSetList()", referenced from:
vtkHierarchicalDataExtractDataSetsCppCommand(vtkHierarchicalDataExtractDataSets*, Tcl_Interp*, int, char)in libvtkGraphicsTCL.a(vtkHierarchicalDataExtractDataSetsTcl.o)
"vtkHierarchicalDataSet::SetDataSet(unsigned int, unsigned int, vtkDataObject*)", referenced from:
vtkHierarchicalDataSetCppCommand(vtkHierarchicalDataSet*, Tcl_Interp*, int, char)in libvtkFilteringTCL.a(vtkHierarchicalDataSetTcl.o)
"vtkDataObject::DATA_TIME_INDEX()", referenced from:
vtkDataObjectCppCommand(vtkDataObject*, Tcl_Interp*, int, char)in libvtkFilteringTCL.a(vtkDataObjectTcl.o)
"vtkMeshQuality::TriangleFrobeniusNorm(vtkCell*)", referenced from:
vtkMeshQualityCppCommand(vtkMeshQuality*, Tcl_Interp*, int, char)in libvtkGraphicsTCL.a(vtkMeshQualityTcl.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: * [bin/vtk] Error 1
make[1]: * [Wrapping/Tcl/CMakeFiles/vtk.dir/all] Error 2
make: * [all] Error 2
`
comment:4 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | mcalhoun@… added |
---|
Cc Me!
comment:5 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
This particular problem seems to have been fixed by a newer XCode
(See http://lists.macosforge.org/pipermail/macports-dev/2008-December/006710.html )
Can this ticket be closed?
comment:6 Changed 16 years ago by jmroot (Joshua Root)
Cc: | rene.donner@… removed |
---|---|
Owner: | changed from macports-tickets@… to rene.donner@… |
Port: | vtk5 added |
Should probably add an XCode version check like in cairo.
comment:7 Changed 16 years ago by blb@…
Owner: | changed from rene.donner@… to macports-tickets@… |
---|
René no longer maintains vtk5, r44858.
comment:8 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Adding an XCode version check does not seem to be in wide use (especially on unmaintained ports).
Since the solution is to upgrade XCode, mark as invalid.
Cc maintainer.