Message: Attempting to install under FreeBSD 6.2 with gcc 3.4.6 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Attempting to install under FreeBSD 6.2 with gcc 3.4.6 

Keywords: FreeBSD compile error
Forum: Installation and Configuration
Date: 22 Feb, 2008
From: Mark Looper <Mark Looper>

Hello--

I have mostly used Geant4 on single machines, UNIX or (lately) Mac OS X; however, a bit over a year ago I succeeded in installing a few versions, up to 7.1.p01, on a FreeBSD cluster where I work. I was never able to get the 8.x versions to compile, and shortly thereafter I got a fast new Mac, so I have been content to run the latest versions on my desktop for my instrument sims. However, I am returning to the project (atmospheric cosmic-ray secondaries) for which I first needed the cluster, and I'd like to run the more recent versions of Geant4 there. The cluster now runs FreeBSD 6.2 and gcc 3.4.6, so I tried following the excellent instructions here but on this unsupported OS. I had to type "Linux" and "g++" manually during the running of the configuration script, of course, and since I run on the cluster only in batch mode I set G4VIS_NONE and none of the G4VIS_BUILD_* or G4VIS_USE_* options, but everything else was straightforward.

However, after taking an enormous amount of time, the installation seems to have crashed at the very end. After a whole bunch of dependency, compile, and library statements (I'm looking at the g4make.log file here), it got to

...
Compiling G4XXXViewer.cc ...
Creating/replacing object files in /home/looper/geant4.9.1.p01/lib/Linux-g++/lib/G4visXXX.a ...
ar: creating /home/looper/geant4.9.1.p01/lib/Linux-g++/libG4visXXX.a

and then it got to the libmap stage:

-e Building library management utility liblist ...
/var/tmp//ccdPjTqH.o(.text+0x402)): In function 'main':
: warning: warning: this program uses gets), which is unsafe.
-e Libmap stage. Searching for GNUmakefiles and sorting ...
-e Weeding out paths and files ...
-e Making libname.map starter file ...
grep: option requires an argument -- e
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep -help' for more information.

... grep error messages repeated 114 times in all ...

grep: option requires an argument -- e
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep -help' for more information.
-e Making libname.map ...
  Reading library name map file...
warning: this program uses gets(), which is unsafe.
  ERROR: "source" expected.
gmake[1]: *** [libmap] Error 1
gmake: *** [all] Error 2

... and that's the end of it. Does this ring a bell with anybody? Is there a simple fix (I hope!) to enable the compilation to finish? Or should I go back to 7.1.p01?

Thanks--

--Mark Looper

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Attempting to install under FreeBSD 6.2 with gcc 3.4.6   (Ben Morgan - 25 Feb, 2008)
(_ More: Re: Attempting to install under FreeBSD 6.2 with gcc 3.4.6   (Mark Looper - 29 Feb, 2008)
 Add Message Add Message
to: "Attempting to install under FreeBSD 6.2 with gcc 3.4.6"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]