Opened 16 years ago

Closed 14 years ago

#13349 closed defect (worksforme)

vtk5 fails to build

Reported by: jwhowse4 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc: rene.donner@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: vtk5

Description (last modified by blb@…)

Running on an Intel based Mac with Tiger 10.4.11 the package vtk5 fails to build with the following error message.

[ 94%] Built target vtkWidgetsTCL
[ 97%] Built target vtkexoIIc
[ 97%] Building C object Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/error.o
/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/work/VTK/Utilities/vtknetcdf/error.c: In function 'strerror':
/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/work/VTK/Utilities/vtknetcdf/error.c:23: error:  conflicting type qualifiers for 'sys_nerr'
/usr/include/stdio.h:273: error: previous declaration of 'sys_nerr' was here
/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/work/VTK/Utilities/vtknetcdf/error.c:24: error: conflicting types for 'sys_errlist'
/usr/include/stdio.h:274: error: previous declaration of 'sys_errlist' was here
make[2]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/error.o] Error 1
make[1]: *** [Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all] Error 2
make: *** [all] Error 2

Warning: the following items did not execute (for vtk5): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 16 years ago by nox@…

Milestone: Port Bugs

comment:2 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:3 Changed 15 years ago by blb@…

Description: modified (diff)
Port: vtk5 added

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Please check if this is still a problem with vtk5 @5.6.0_0.

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.