Message: Re: probleme with compiling Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: probleme with compiling 

Forum: Installation and Configuration
Re: None probleme with compiling (Jerome Roccaz)
Date: 16 Apr, 2002
From: Isidro Gonzalez <Isidro Gonzalez>

Hi,

	There is probably some problem in you installation so that the
dependency files (.d) are incorrect. This files should be first made and
then included in the makefilesystem. However if they are already there
they are included, so if they are incorrect (due to an error in the
previous compilation trial, etc...) you will see exactly the error message
you see.  Try removing them and recompiling. 

	Cheers,

		Isidro

On Tue, 16 Apr 2002, Jerome Roccaz wrote:

> *** Discussion title: Installation and Configuration
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/installconfig/66"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Hi to everyone who can help me.
> 
> I compiled my own programme using a derived Makefile from example 2. I
> obtained that error message : "myprogram".d 1:***missing separator.
> Stop. I showd every ".gmk" of Geant and can't find that message, so i
> can't understand the error. Moreover, I try to install Geant on my
> laptop, and during installation some files have the same error message.
> 
> I thank all person who can make me see clearer.
> 
> 

Inline Depth:
 0 0
 1 1
Add message: (add)

Feedback Re: probleme with compiling  by Gabriele Cosmo <Gabriele Cosmo>,   24 Apr, 2002
Re: None Re: probleme with compiling (Isidro Gonzalez)
The following GNUmake command (issued from the module which fails)
may help in this case:

 gmake dependencies='' clean

This will avoid the generation of the dependency files.
See also our FAQ page.

Cheers, Gabriele

PS: thanks Gunter!    :)

----------------------------------
On Tue, 16 Apr 2002, Jerome Roccaz wrote:
>
> *** Discussion title: Installation and Configuration
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/installconfig/66"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Hi to everyone who can help me.
> 
> I compiled my own programme using a derived Makefile from example 2. I
> obtained that error message : "myprogram".d 1:***missing separator.
> Stop. I showd every ".gmk" of Geant and can't find that message, so i
> can't understand the error. Moreover, I try to install Geant on my
> laptop, and during installation some files have the same error message.
> 
> I thank all person who can make me see clearer.
>  

Note Re: probleme with compiling  by roccaz <roccaz@csnsmm.in2p3.fr>,   25 Apr, 2002
Re: Feedback Re: probleme with compiling (Gabriele Cosmo)

Yes it runs for the eexamples..but with my own program it doesn't, so for now I still delete the /tmp/Myprogram manually.

Question Re: probleme with compiling  by roccaz <roccaz@csnsm.in2p3.fr>,   17 Apr, 2002
Re: None Re: probleme with compiling (Isidro Gonzalez)

Thanks a lot, it runs :)

anyway, isn't it stupid that previous ".d" are not overwritten by new ones??

None Re: probleme with compiling  by Isidro Gonzalez <Isidro Gonzalez>,   17 Apr, 2002
Re: Question Re: probleme with compiling (roccaz)
Hi,
	I agree with you. It is very anoying having to delete manually the
.d files because you set wrongly a given path (ex. path to CLHEP) or in
your application you typed wrongly the file in a "#include" stament. Is
it possible to solve this issue?

	Cheers,

		Isidro

+---------------------------+--------------------------------+
| Isidro González Caballero | mailto:Isidro.Gonzalez@cern.ch |
| CERN-EP / Mailbox: F28010 | http://home.cern.ch/~iglez/    |
| 1211 Geneva 23            |               -o-              |
| Switzerland               | Tel: +41 22 76 73060, 73316    |
+---------------------------+--------------------------------+


On Wed, 17 Apr 2002, roccaz wrote:

> *** Discussion title: Installation and Configuration
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/installconfig/66/1/1"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Thanks a lot, it runs :)
> 
> anyway, isn't it stupid that previous ".d" are not overwritten by new
> ones??
> 
> 

Idea Re: probleme with compiling  by roccaz <roccaz@csnsm.in2p3.fr>,   17 Apr, 2002
Re: None Re: probleme with compiling (Isidro Gonzalez)

My boss has me suggested to write an instruction in the makefile so to check if a ".d" already exists and if TRUE to destroy it. I'm not an expert at all in UNIX shell and makefile, but do you think it is possible to do?

Sad Re: probleme with compiling  by John Allison <John Allison>,   17 Apr, 2002
Re: Idea Re: probleme with compiling (roccaz)

The procedure we have adopted is the one suggested in the GNU Make documentation (http://www.gnu.org/manual/manual.html, make-3.79.1, Section 4.12, Generating Prerequisites Automatically). Any dependency files are included ("-include $(dependencies)" in geant4/config/common.gmk and binmake.gmk) before any commands are executed. Thus, it is impossible to write commands to inspect/delete them before they cause the problem. The only known way is to delete the offeding file(s) by hand.

If you can find a better way, we would welcome knowing it.

 Add Message Add Message
to: "Re: probleme with compiling"

 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 ]