Problem 22 - Cannot install GEANT 4.0.1 on Solaris 2.6 with RW OR STLPORT
Summary: Cannot install GEANT 4.0.1 on Solaris 2.6 with RW OR STLPORT
Status: CLOSED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 0.1
Hardware: Sun Solaris
: P2 major
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 1999-10-25 14:47 CEST by ylaroche
Modified: 2000-02-28 09:09 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description ylaroche 1999-10-25 14:47:52 CEST
We tried to install GEANT 4.0.1 on Solaris 5.6.
First we had to move the CLHEP library in /source/global/managment/include.
The environnement variable CLHEP_BASE_DIR didn't seems to work..
BUT THEN we weren't able to link/compile correctly EITHER with
RW TOOLS.h++ (from Sun's Workshop/Solaris) OR
with STLPORT Template libraries,
both using "gmake global" in /source.

Here are the compilation errors,
with RogueWave:
robson:24> gmake global
Compiling G4LPhysicsFreeVector.cc ...
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/compiler.h", line 865: Warning
(Anachronism): Attempt to redefine RWCOMPVERSION without using #undef.
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 322: Error: A typedef name
cannot be used in an elaborated type specifier..
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 323: Error: A typedef name
cannot be used in an elaborated type specifier..
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/defs.h", line 324: Error: A typedef name
cannot be used in an elaborated type specifier..
"/opt/SUNWspro/SC5.0/include/CC/rw7/rw/rstream.h", line 57: Error: ws is not
defined.
etc....

And with STLPORT:
gmake global
Compiling G4LPhysicsFreeVector.cc ...
"/dat10/ylaroche/geant4/geant4.0.1/source/global/STLInterface/rw/cstring.h",
line 82: Error: string is not defined.
"/dat10/ylaroche/geant4/geant4.0.1/source/global/STLInterface/rw/cstring.h",
line 102: Error: ")" expected instead of "s".
"/dat10/ylaroche/geant4/geant4.0.1/source/global/STLInterface/rw/cstring.h",
line 109: Error: ")" expected instead of "&".
etc....

Can you help us ??
Yves Larochelle + Richard Taschereau

				Yves Larochelle, Ph.D.
				Laboratoire de Physique Nucleaire
				Departement de Physique
				Pavillon Vachon, Universite Laval
				Ste-Foy, Qc
				Canada, G1K-7P4
				e-mail: ylaroche@phy.ulaval.ca
				fax: (418) 656-2040
	Page Web: http://opus.iucf.indiana.edu/larochel/index.html
Comment 1 Gabriele Cosmo 1999-10-26 04:02:59 CEST
Please note that the supported compiler on SUN for geant4.0.1 is CC 4.2.
It looks like your system has installed the new version CC 5.0 which is
not yet under support and still under testing.
CLHEP: you should check CLHEP_BASE_DIR is correctly defined in your environment
       and CLHEP is _installed_ in your system. In case your CLHEP installation
       is not standard, you should update CLHEP_INCLUDE_DIR, CLHEP_LIB_DIR and
       CLHEP_LIB in config/architecture.gmk accordingly.
RW: this looks like a configuration problem in your system. Check that the
    installation of RW is compatible with the compiler you're using.
STL: only ObjectSpace STL is supported on SUN Solaris for geant4.0.1.
     STLPort has currently been tested only on Win/NT systems.
     Please, refer to the release-notes for Geant4.0.1 on the Web for
     details on which system/compiler/software is supported.
Thanks.