Opened 10 years ago

Closed 10 years ago

#44710 closed defect (invalid)

vtk5: missing dependencies?

Reported by: petrrr Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: vtk5

Description

I had doubt regarding the dependencies, because of the +python2. variants (It install into site-packages but no python dependency was declared). So I build in trace mode and fixed the python dependency issue, r124137.

However, trace mode gives indicates more missing dependencies. Now, I have no idea how reliable trace mode really works or if it may give false hits in some cases, so I would like to ask that some more knowledgeable review this.

Warning: An activity was attempted outside sandbox: /opt
[...]
Warning: An activity was attempted outside sandbox: /opt/local/include/dlfcn.h
Warning: An activity was attempted outside sandbox: /opt/local/include/jerror.h
Warning: An activity was attempted outside sandbox: /opt/local/include/jpeglib.h
Warning: An activity was attempted outside sandbox: /opt/local/include/mach-o/dyld.h
Warning: An activity was attempted outside sandbox: /opt/local/include/mfhdf.h
Warning: An activity was attempted outside sandbox: /opt/local/include/tiffio.h
Warning: An activity was attempted outside sandbox: /opt/local/lib/libxslt.1.dylib

This would indicate that:

  • dyld-headers
  • jpeg
  • tiff
  • hdf4
  • libxslt

would need to be added as well.

Change History (2)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

I highly doubt dyld-headers is needed. The files it provides are already provided by OS X. The problem is just that it puts those files into the same locations (relative to the prefix) as OS X does, so due to the CPPFLAGS MacPorts sets, the MacPorts version gets found first. See also #42500 which requests dyld-headers move where it installs those files.

As for the others, you can use "otool -L" to see whether vtk5 links with the libraries provided by those ports. If so, then that's an indication that yes, those dependencies should probably be added.

comment:2 Changed 10 years ago by petrrr

Resolution: invalid
Status: newclosed

No links to the cited libraries found, so no further needed

Note: See TracTickets for help on using tickets.