|Message: Having Trouble Installing Geant4.9.5.p02 - CMake Issues||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Still having no luck on installing geant4.9.5.p.02 on RedHat V6.3
Have extracted the tar file correctly and created a directory /root/Geant4Simulations/geant4.9.5.p02
Have created a build directory in /root/Geant4Simulations/geant4.9.5-build
Have then ran the following section of code which produces the error in Check for working C compiler: /usr/bin/gg --broken
Have tried a few package installs suggested on internet forums but to no avail..
[root@sci-phynix-001 Geant4Simulations]# cmake -DCMAKE_INSTALL-PREFIX=/root/Geant4Simulations/geant4.9.5-install /root/Geant4Simulations/geant4.9.5.p02 -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE): The C compiler "/usr/bin/gcc" is not able to compile a simple test program.
It fails with the following output:
Change Dir: /root/Geant4Simulations/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake: Entering directory `/root/Geant4Simulations/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/Geant4Simulations/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -c /root/Geant4Simulations/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/gcc -fPIC CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o -o cmTryCompileExec -rdynamic
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../crt1.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
gmake: Leaving directory `/root/Geant4Simulations/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec] Error 1
gmake: *** [cmTryCompileExec/fast] Error 2
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:36 (project)
-- Configuring incomplete, errors occurred!
Has anyone got any suggestions or seen this problem before??
|Inline Depth:||Outline Depth:||Add message:|