SCIRun User Mailing List

Text archives Help


[SCIRUN-USERS] Error on build of SCIRun-1.22.0.tar.gz


Chronological Thread 
  • From: don fisher <dfisher@as.arizona.edu>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] Error on build of SCIRun-1.22.0.tar.gz
  • Date: Wed, 19 Jan 2005 14:51:07 -0700
  • Organization: caao

Hello,

I have tried to build SCIrun on a Mandrake-10.1 distribution. I receive errors such as the following. The complete config and compile are included as attachments. Any advice would be appreciated. I am a C, but not a C++ programmer. Please excuse if a dumb error. I am trying to build in a directory named /swl rather that /usr/local. But the compile also failed when I tried /usr/local.

In file included from ../src/Core/Datatypes/PropertyManager.h:48,
                 from ../src/Core/Datatypes/Field.h:34,
                 from ../src/Core/Algorithms/Geometry/CoregPts.h:50,
                 from ../src/Core/Algorithms/Geometry/CoregPts.cc:33:
../src/Core/Datatypes/TypeName.h: At global scope:
../src/Core/Datatypes/TypeName.h:60: error: `const char SCIRun::FTNS' used prior to declaration
../src/Core/Datatypes/TypeName.h:62: error: `const char SCIRun::FTNE' used prior to declaration
../src/Core/Datatypes/TypeName.h:93: error: non-template used as template
make: *** [Core/Algorithms/Geometry/CoregPts.o] Error 1


--
-------------------------------------------------------------------
|    Don Fisher                           dfisher@as.arizona.edu  |
|    Steward Observatory                                          |
|    933 N. Cherry Ave.                   VOICE: (520)888-7613    |
|    University of Arizona                FAX:   (520)621-9843    |
|    Tucson, AZ  85721                                            |
-------------------------------------------------------------------

../src/configure --prefix=/swl 
--with-thirdparty=/usr3/swl/SCIRun/Thirdparty/1.22/Linux/gcc-3.3.2-32bit 
--enable-package="BioPSE DataIO Fusion Insight MatlabInterface Teem" 
--with-insight=/swl/lib/InsightToolkit
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu

checking for OS version 2.2.17... yes (2.6.10)

checking physical processor count...       1
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
configure: WARNING: C compiler not specified with 'CC' environment variable.  
      Using default... gcc
checking for CC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: WARNING: C++ compiler not specified with 'CXX' environment 
variable.          Using default... g++
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
configure: WARNING: Fortran compiler not specified with 'F77' environment 
variable. Using default... g77
checking host system word length... 32 bits
checking whether debug was enabled... no
checking whether optimize was enabled... no (default to -O2) 
checking for `basename gcc` version 2.95.3... yes (3.4.1)

checking for `basename g++` version 2.95.3... yes (3.4.1)

checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for as... as
checking for ld... ld
checking gcc dependency regen switch... -MD (mode: normal, ext: d)
checking for gmake... /usr/bin/gmake
checking for `basename /usr/bin/gmake` version 3.78.1... yes (3.80)

checking for gawk... gawk
checking for bison... bison
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for etags... etags
checking for perl... perl
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void*... yes
checking size of void*... 4
Thirdparty library directory 
/usr3/swl/SCIRun/Thirdparty/1.22/Linux/gcc-3.3.2-32bit/lib
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking ext/algorithm usability... yes
checking ext/algorithm presence... yes
checking for ext/algorithm... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for math libraries and headers (required)... yes
checking for X libraries and headers (required)... yes
checking for pthread library and headers (required)... yes
checking for semaphore library... already in thread library: -lpthread
checking for OpenGL libraries and headers (required)... yes
checking for dlopen in libc (optional)... not found
checking for dlopen in libdl (required)... yes
checking for sys/stat.h (optional)... yes
checking for standard headers (required)... yes
checking for standard headers-2 (required)... yes
checking for standard template library headers (required)... yes
checking for location of hash_map... found: HAVE_GNU_HASHMAP

configure: checking for required Tcl components......

checking for tcl library and headers (required)... yes
checking for tk library and headers (required)... yes
checking for itcl library and headers (required)... yes
checking for itk library and headers (required)... yes
checking for BLT library and headers (required)... yes
checking for Tcl version 8.3.2... yes (8.3.2)

checking for Tk version 8.3.2... yes (8.3.2)

checking for equal Tcl and Tk version 8.3.2... yes (8.3.2)

checking for xerces library and headers (required)... yes
checking for sstream header (optional)... yes
checking for traceback library and headers (optional)... not found
checking for zlib library and header (required)... yes
checking for png library and headers (optional)... yes
checking for PNG version 1.0.2 or better.... yes.
checking for MPEG library (optional)... yes
checking for SCISock library (optional)... not found
checking for optional ImageMagick... 
Using 
/usr3/swl/SCIRun/Thirdparty/1.22/Linux/gcc-3.3.2-32bit/lib/../bin/Magick-config
 to set ImageMagick variables.
checking for ImageMagick library and headers (required)... yes
checking for unp socket library and headers (optional)... yes
checking for fortran libraries (optional)... yes
checking for atlas version of libraries and headers (optional)... not found
checking for blas and cblas libraries-1 (optional)... not found
checking for blas and cblas libraries-2 (optional)... not found
checking for blas library (optional)... yes
checking for lapack library (optional)... yes
checking for mpi-uni libraries and headers (optional)... not found
checking for mpiunich and pmpiunich libraries (optional)... not found
configure: WARNING: One or more of MPI or BLAS or LAPACK is missing.
configure: WARNING: HAVE_MPI: 
configure: WARNING: HAVE_MPI_UNI: no
configure: WARNING: HAVE_BLAS: yes
configure: WARNING: HAVE_LAPACK: yes
configure: WARNING: Not configuring PETSc.
checking for Insight.... /swl/lib/InsightToolkit
checking for xalan-j.... 
/usr3/swl/SCIRun/Thirdparty/1.22/Linux/gcc-3.3.2-32bit
checking for teem library and headers (required)... yes
checking for mdslib library and headers (optional)... 
configure: WARNING: The path given /usr/local/mdsplus/lib is not a valid 
directory... ignoring.
not found
checking for hdf5 library and headers (optional)... not found
checking for HYPRE libraries and headers (optional)... not found
configure: creating ./config.status
config.status: creating configVars.mk
config.status: creating Makefile
config.status: creating on-the-fly-libs/Makefile
config.status: creating disjointPackageMakefile
config.status: creating sci_testdefs.h
config.status: creating sci_config.h
config.status: sci_config.h is unchanged
config.status: executing do_stamp commands
sci_defs.h is unchanged
make                                                                          
                                         
/sn/video_apps/sci/dists/SCIRun/src/scripts/so_epilogue.mk:89: warning: 
overriding commands for target 
`lib/libPackages_DataIO_Dataflow_Modules_Readers.so'
/sn/video_apps/sci/dists/SCIRun/src/scripts/so_epilogue.mk:89: warning: 
ignoring old commands for target 
`lib/libPackages_DataIO_Dataflow_Modules_Readers.so'
creating directory /sn/video_apps/sci/dists/SCIRun/build/Core
"
"
creating engine files for MatlabInterface package.
mkdir -p matlab
cp -r ../src/Packages/MatlabInterface/matlab/engine ./matlab
creating createTclIndex
creating /sn/video_apps/sci/dists/SCIRun/build/Core/Makefile
"
"
creating packmaker
rm -f Core/Algorithms/Geometry/CoregPts.o
g++ -Wall -O2    
-I/usr3/swl/SCIRun/Thirdparty/1.22/Linux/gcc-3.3.2-32bit/include 
-I/usr3/swl/SCIRun/Thirdparty/1.22/Linux/gcc-3.3.2-32bit/src/tcl8.3.2/generic 
-I/usr3/swl/SCIRun/Thirdparty/1.22/Linux/gcc-3.3.2-32bit/src/tk8.3.2/generic 
-I../src/include -I../src -I. -I./include -I../src/Packages 
-I/usr/X11R6/include  -I/usr/local/include/InsightToolkit 
-I/usr/local/include/InsightToolkit/Algorithms 
-I/usr/local/include/InsightToolkit/BasicFilters 
-I/usr/local/include/InsightToolkit/Common 
-I/usr/local/include/InsightToolkit/Numerics 
-I/usr/local/include/InsightToolkit/IO 
-I/usr/local/include/InsightToolkit/Numerics/FEM 
-I/usr/local/include/InsightToolkit/Numerics/Statistics 
-I/usr/local/include/InsightToolkit/SpatialObject 
-I/usr/local/include/InsightToolkit/Utilities/MetaIO 
-I/usr/local/include/InsightToolkit/Utilities/DICOMParser 
-I/usr/local/include/InsightToolkit/Utilities 
-I/usr/local/include/InsightToolkit/Utilities/vxl/vcl 
-I/usr/local/include/InsightToolkit/Utilities/vxl/core -I/usr/include         
    -I/usr/local/include/InsightToolkit 
-I/usr/local/include/InsightToolkit/Algorithms 
-I/usr/local/include/InsightToolkit/BasicFilters 
-I/usr/local/include/InsightToolkit/Common 
-I/usr/local/include/InsightToolkit/Numerics 
-I/usr/local/include/InsightToolkit/IO 
-I/usr/local/include/InsightToolkit/Numerics/FEM 
-I/usr/local/include/InsightToolkit/Numerics/Statistics 
-I/usr/local/include/InsightToolkit/SpatialObject 
-I/usr/local/include/InsightToolkit/Utilities/MetaIO 
-I/usr/local/include/InsightToolkit/Utilities/DICOMParser 
-I/usr/local/include/InsightToolkit/Utilities 
-I/usr/local/include/InsightToolkit/Utilities/vxl/vcl 
-I/usr/local/include/InsightToolkit/Utilities/vxl/core -I/usr/include 
-I/usr/local/include/InsightToolkit 
-I/usr/local/include/InsightToolkit/Algorithms 
-I/usr/local/include/InsightToolkit/BasicFilters 
-I/usr/local/include/InsightToolkit/Common 
-I/usr/local/include/InsightToolkit/Numerics 
-I/usr/local/include/InsightToolkit/IO 
-I/usr/local/include/InsightToolkit/Numerics/FEM 
-I/usr/local/include/InsightToolkit/Numerics/Statistics 
-I/usr/local/include/InsightToolkit/SpatialObject 
-I/usr/local/include/InsightToolkit/Utilities/MetaIO 
-I/usr/local/include/InsightToolkit/Utilities/DICOMParser 
-I/usr/local/include/InsightToolkit/Utilities 
-I/usr/local/include/InsightToolkit/Utilities/vxl/vcl 
-I/usr/local/include/InsightToolkit/Utilities/vxl/core -I/usr/include 
-I/usr/local/include/InsightToolkit 
-I/usr/local/include/InsightToolkit/Algorithms 
-I/usr/local/include/InsightToolkit/BasicFilters 
-I/usr/local/include/InsightToolkit/Common 
-I/usr/local/include/InsightToolkit/Numerics 
-I/usr/local/include/InsightToolkit/IO 
-I/usr/local/include/InsightToolkit/Numerics/FEM 
-I/usr/local/include/InsightToolkit/Numerics/Statistics 
-I/usr/local/include/InsightToolkit/SpatialObject 
-I/usr/local/include/InsightToolkit/Utilities/MetaIO 
-I/usr/local/include/InsightToolkit/Utilities/DICOMParser 
-I/usr/local/include/InsightToolkit/Utilities 
-I/usr/local/include/InsightToolkit/Utilities/vxl/vcl 
-I/usr/local/include/InsightToolkit/Utilities/vxl/core -I/usr/include 
-I./Packages    -MD  -c ../src/Core/Algorithms/Geometry/CoregPts.cc -o 
Core/Algorithms/Geometry/CoregPts.o
In file included from ../src/Core/Datatypes/TypeName.h:49,
                 from ../src/Core/Datatypes/PropertyManager.h:48,
                 from ../src/Core/Datatypes/Field.h:34,
                 from ../src/Core/Algorithms/Geometry/CoregPts.h:50,
                 from ../src/Core/Algorithms/Geometry/CoregPts.cc:33:
../src/Core/Datatypes/FieldIndex.h: In function `const std::string 
SCIRun::find_type_name(SCIRun::NodeIndex<T>*)':
../src/Core/Datatypes/FieldIndex.h:189: error: `FTNS' undeclared (first use 
this function)
../src/Core/Datatypes/FieldIndex.h:189: error: (Each undeclared identifier is 
reported only once for each function it appears in.)
../src/Core/Datatypes/FieldIndex.h:189: error: `FTNE' undeclared (first use 
this function)
../src/Core/Datatypes/FieldIndex.h: In function `const std::string 
SCIRun::find_type_name(SCIRun::EdgeIndex<T>*)':
../src/Core/Datatypes/FieldIndex.h:196: error: `FTNS' undeclared (first use 
this function)
../src/Core/Datatypes/FieldIndex.h:196: error: `FTNE' undeclared (first use 
this function)
../src/Core/Datatypes/FieldIndex.h: In function `const std::string 
SCIRun::find_type_name(SCIRun::FaceIndex<T>*)':
../src/Core/Datatypes/FieldIndex.h:203: error: `FTNS' undeclared (first use 
this function)
../src/Core/Datatypes/FieldIndex.h:203: error: `FTNE' undeclared (first use 
this function)
../src/Core/Datatypes/FieldIndex.h: In function `const std::string 
SCIRun::find_type_name(SCIRun::CellIndex<T>*)':
../src/Core/Datatypes/FieldIndex.h:210: error: `FTNS' undeclared (first use 
this function)
../src/Core/Datatypes/FieldIndex.h:210: error: `FTNE' undeclared (first use 
this function)
In file included from ../src/Core/Datatypes/PropertyManager.h:48,
                 from ../src/Core/Datatypes/Field.h:34,
                 from ../src/Core/Algorithms/Geometry/CoregPts.h:50,
                 from ../src/Core/Algorithms/Geometry/CoregPts.cc:33:
../src/Core/Datatypes/TypeName.h: At global scope:
../src/Core/Datatypes/TypeName.h:60: error: `const char SCIRun::FTNS' used 
prior to declaration
../src/Core/Datatypes/TypeName.h:62: error: `const char SCIRun::FTNE' used 
prior to declaration
../src/Core/Datatypes/TypeName.h:93: error: non-template used as template
make: *** [Core/Algorithms/Geometry/CoregPts.o] Error 1
3.068u 1.224s 0:20.99 20.3%     0+0k 0+0io 2pf+0w
Exit 2



Archive powered by MHonArc 2.6.16.

Top of page