pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: graphics/vtk & vtk-data 5.10.1
> I thought of manually applying the patches in the v4.2 package but the
contents of the relevant files in v5.10.1 is significantly different
from 4.2's so I haven't tried that yet.
That is basically what needs to be done.
Thanks for replying Greg.
To make this easier in the future:
Each patch should have a comment explaining what it's doing and why, and
giving status of whether it has been sent upstream or not, and the
upstream bug tracker URL. When patches are merged upstream, pkgsrc
updates are far easier.
I don't follow "whether it has been sent upstream" but suppose I
would if I'd created a package and had it absorbed into the packages
collection.
I have now applied the NetBSD patches for vtk 4.2 that were
applicable to 5.10.1 and attempted to compile it again. It went
further than before, judging by the percentage figure displayed and
the time it took for make to stop, but curiously it stopped with the
same error--see below.
I guess I'll just have to try to get to grips with the source code,
or even resort to using Linux.
Ray
running make with original source
---------------------------------
[ 9%] Building C object
Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/exppsetd.c.o
Linking C shared library ../../bin/libvtkexoIIc.so
[ 9%] Built target vtkexoIIc
Scanning dependencies of target LSDyna
[ 9%] Building CXX object
Utilities/LSDyna/CMakeFiles/LSDyna.dir/LSDynaFamily.cxx.o
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:
In function 'int<unnamed>::LS_DYNA_STAT(const char*,
<unnamed>::stat64&)':
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:44:25:
error: invalid use of incomplete type 'struct<unnamed>::stat64'
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:41:44:
error: forward declaration of 'struct<unnamed>::stat64'
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:
In member function 'int LSDynaFamily::ScanDatabaseDirectory()':
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:229:17:
error: aggregate '<unnamed>::stat64 st' has incomplete type and
cannot be defined
*** Error code 1
Stop.
make: stopped in /usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1
*** Error code 1
Stop.
make: stopped in /usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1
*** Error code 1
Stop.
make: stopped in /usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1
running make with patches applied
---------------------------------
[ 27%] Building C object
Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/expnvar.c.o
[ 27%] Building C object
Utilities/vtkexodus2/CMakeFiles/vtkexoIIc.dir/exppsetd.c.o
Linking C shared library ../../bin/libvtkexoIIc.so
[ 27%] Built target vtkexoIIc
Scanning dependencies of target LSDyna
[ 27%] Building CXX object
Utilities/LSDyna/CMakeFiles/LSDyna.dir/LSDynaFamily.cxx.o
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:
In function 'int<unnamed>::LS_DYNA_STAT(const char*,
<unnamed>::stat64&)':
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:44:25:
error: invalid use of incomplete type 'struct<unnamed>::stat64'
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:41:44:
error: forward declaration of 'struct<unnamed>::stat64'
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:
In member function 'int LSDynaFamily::ScanDatabaseDirectory()':
/usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1/Utilities/LSDyna/LSDynaFamily.cxx:229:17:
error: aggregate '<unnamed>::stat64 st' has incomplete type and
cannot be defined
*** Error code 1
Stop.
make: stopped in /usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1
*** Error code 1
Stop.
make: stopped in /usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1
*** Error code 1
Stop.
make: stopped in /usr/home/ray/installers/vtk/vtk-5.10.1/VTK5.10.1
Home |
Main Index |
Thread Index |
Old Index