Hi SCIRun-Users,
I am installing SCIRun 4.7 on Ubuntu 18.04LTS, and (gcc 7.3.0) encounter with an error in tclPiple.c saying
src/Externals/tcltk/tcl8.6b1/generic/tclPipe.c:271:22: error: storage size of ‘waitStatus’ isn’t known
WAIT_STATUS_TYPE waitStatus;
Does anyone have the similar problem? Would you suggest what may cause the error ?
Thanks,
Seok Lew
Department of Engineering
Olivet Nazarene University
<PS> In the below is the build output.
=======================================
slew@spring:~/SCIRun4.7$ ./build.sh
Parsing arguments...
CMake args:
Build Type: Release
Build SCIRun Dataflow: 1
SCIRun Packages: SCIRun,BioPSE,Teem,MatlabInterface
Build Insight ToolKit: 0
Get CMake: 0
Make Flags:
Build Shared Libs: 1
With X11: 1
With LAPACK: 1
/usr/bin/cmake version 3.10.2 found
cmakebin=/usr/bin/cmake
ctestbin=/usr/bin/ctest --ctest-config=/home/slew/SCIRun4.7/src/CTestConfig.cmake
svnbin=
Updating SCIRUN source...
-- Configuring BioMesh3D
-- Building default SCIRun LAPACK library.
-- FYI: This is a 64 bit build.
-- Configuring External Packages
-- Configuring zlib
-- Configuring libpng
CMake Warning (dev) at Externals/libpng/CMakeLists.txt:172 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "uname_output" will no longer be dereferenced when
the policy is set to NEW. Since the policy is not set the OLD behavior
will be used.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring teem
CMake Warning (dev) at Externals/teem/CMake/TestQnanhibit.cmake:32 (IF):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "HAVE_QNANHIBIT_VALUE" will no longer be dereferenced
when the policy is set to NEW. Since the policy is not set the OLD
behavior will be used.
Call Stack (most recent call first):
Externals/teem/CMakeLists.txt:97 (TEST_QNANHIBIT)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at Externals/teem/CMakeLists.txt:499 (EXPORT_LIBRARY_DEPENDENCIES):
Policy CMP0033 is not set: The export_library_dependencies command should
not be called. Run "cmake --help-policy CMP0033" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring glew
-- Configuring slivr
-- Configuring freetype
-- Configuring libxml2
-- Configuring TCL
-- Configuring TK
-- Configuring ITCL
-- Configuring ITK
-- Configuring iWidgets
-- Configuring BLT
-- Configuring tetgen
-- Configuring particle system
-- Configuring vispack
-- Configuring Boost
-- Configuring Netlib
-- Configure libf2c library...
-- Configure BLAS library...
-- Configure CLAPACK library...
-- Could NOT find LATEX (missing: LATEX_COMPILER)
--
CMake Warning (dev) at Dataflow/CMakeLists.txt:192 (GET_TARGET_PROPERTY):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The LOCATION property should not be read from target "tclsh". Use the
target name directly with add_custom_command, or use the generator
_expression_ $<TARGET_FILE>, as appropriate.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/slew/SCIRun4.7/bin
Building SCIRun using make...
[ 0%] Built target copy_scripts
[ 1%] Built target zlib
[ 2%] Built target png
[ 8%] Built target teem
[ 8%] Built target tend
[ 8%] Built target nrrdSanity
[ 8%] Built target mrender
[ 8%] Built target miter
[ 8%] Built target overrgb
[ 8%] Built target vprobe
[ 8%] Built target unu
[ 8%] Built target glew
[ 9%] Built target slivr
[ 10%] Built target freetype
[ 11%] Built target xml2
[ 11%] Building C object Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclPipe.c.o
/home/slew/SCIRun4.7/src/Externals/tcltk/tcl8.6b1/generic/tclPipe.c: In function ‘TclCleanupChildren’:
/home/slew/SCIRun4.7/src/Externals/tcltk/tcl8.6b1/generic/tclPipe.c:271:22: error: storage size of ‘waitStatus’ isn’t known
WAIT_STATUS_TYPE waitStatus;
^~~~~~~~~~
/home/slew/SCIRun4.7/src/Externals/tcltk/tcl8.6b1/generic/tclPipe.c:271:22: warning: unused variable ‘waitStatus’ [-Wunused-variable]
Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/build.make:1214: recipe for target 'Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclPipe.c.o' failed
make[2]: *** [Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/generic/tclPipe.c.o] Error 1
CMakeFiles/Makefile2:925: recipe for target 'Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/all' failed
make[1]: *** [Externals/tcltk/tcl8.6b1/CMakeFiles/tcl.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
Building SCIRun returned an error
Either the code failed to build properly or
the testing programs failed to complete without
every single test program passing the test.
________________________________________________
SCIRun users mailing list: scirun-users@sci.utah.edu
http://www.sci.utah.edu/software/scirun.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.
Archive powered by MHonArc 2.6.18.