[Insight-developers] cmake on solaris8

Lydia Ng lng@insightful.com
Fri, 3 May 2002 15:26:08 -0700


Dear All,

I am having some problems building cmake on solaris8.

This is what I did:

[1] Downloaded CMake1.2-src-unix.tar.Z from=20
www.cmake.org/HTML/Download.html

[2] Cd into the CMake1.2 direcory

[3] ran "./configure" and got the following error message

c++ cmake.o cmakewizard.o cmakemain.o cmMakeDepend.o cmMakefile.o
cmMakefileGenerator.o cmRegularExpression.o cmSourceFile.o
cmSystemTools.o cmDirectory.o cmUnixMakefileGenerator.o cmCommands.o
cmTarget.o cmCustomCommand.o cmCacheManager.o cmCableClassSet.o
cmListFileCache.o cmSourceGroup.o
-DCMAKE_ROOT_DIR=3D'"/a/homer/users/lng/cmake-1.2-solaris8"' -g -O2
-DCMAKE_HAS_AUTOCONF -I/a/homer/users/lng/cmake-1.2-solaris8/Source  -o
cmake
gmake[1]: Leaving directory
`/a/homer/users/lng/cmake-1.2-solaris8/Source'
ld.so.1: ./Source/cmake: fatal: libstdc++.so.2.10.0: open failed: No
such file or directory
Killed
gmake: *** No rule to make target `depend'.  Stop.

Questions for the gurus:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D

(a) Is this a problem with the way the gcc is installed or is it a path
problem?

(b) I know if I fiddle with my LD_LIBRARY_PATH to include /usr/local/lib
then=20
everything is okay. Somehow I don't think this is the right thing to do?
Searching on the web, the general consenus is that fiddling with
LD_LIBRARY_PATH
is BAD.

Does someone know what the problem might be?

Other useful information:
durian:/a/homer/users/lng/cmake-1.2-solaris8/Source[29] uname -a
SunOS durian 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-60
durian:/a/homer/users/lng/cmake-1.2-solaris8/Source[30] c++ -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)


Thanks,
Lydia