Message: Re: Small bugs in Geant 4.9.2.p01 Configure script Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Small bugs in Geant 4.9.2.p01 Configure script 

Forum: Installation and Configuration
Re: None Small bugs in Geant 4.9.2.p01 Configure script (Tony Johnson)
Re: None Re: Small bugs in Geant 4.9.2.p01 Configure script (Ben Morgan)
Re: None Re: Small bugs in Geant 4.9.2.p01 Configure script (Ben Morgan)
Re: None Re: Small bugs in Geant 4.9.2.p01 Configure script (Ben Morgan)
Date: 10 Aug, 2009
From: Tony Johnson <Tony Johnson>

On Mon, 10 Aug 2009 08:51:52 GMT, Ben Morgan wrote:
> 
> I don't know if this will also fix the other bug you reported, but try
> it and see.

No, "bug 2" is unrelated to ubuntu/dash. I found an easy way to illustrate the second bug:

tonyj@tonyj-laptop:~/Programs/geant4/geant4.9.2.p01$ ./Configure -incflags -I/home/tonyj/Programs/geant4/geant4.9.2.p01/include/

tonyj@tonyj-laptop:~/Programs/geant4/geant4.9.2.p01$ echo "./Configure -incflags" | bash Say 'sh Configure', not 'sh <Configure'

If you add the following extra echo into the Configure script:

: Sanity checks
echo "fr=$fastread ad=$alldone"
case "$fastread$alldone" in
yescont|yesexit) ;;
*)
	if test ! -t 0; then
		echo "Say 'sh Configure', not 'sh <Configure'"
		exit 1
	fi
	;;
esac

tonyj@tonyj-laptop:~/Programs/geant4/geant4.9.2.p01$ echo "./Configure -incflags" | bash fr= ad= Say 'sh Configure', not 'sh <Configure'

I.e. $fastread and $alldone are both empty, and I think the author of this code segment didn't realize the case statement would be satisfied in this case.

To answer your earlier questions, we are using a build system using make which invokes the Configure script to get the geant4 include directories and library list. The make script is run by an automated build system called Hudson (https://hudson.dev.java.net/). I would be happy to try out any fixes you can come up with for this issue.

Tony

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

1 None: Re: Small bugs in Geant 4.9.2.p01 Configure script   (Ben Morgan - 12 Aug, 2009)
(_ Feedback: Re: Small bugs in Geant 4.9.2.p01 Configure script   (Tony Johnson - 16 Aug, 2009)
(_ None: Re: Small bugs in Geant 4.9.2.p01 Configure script   (Ben Morgan - 17 Aug, 2009)
 Add Message Add Message
to: "Re: Small bugs in Geant 4.9.2.p01 Configure script"

 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 ]