systools:make_script - nearly works

Ulf Wiger (AL/EAB) <>
Tue May 24 11:47:34 CEST 2005



The algorithm used by systools_make to try to guess
where the source might be (Ebin/../src/ or Ebin/../src/e_src)
doesn't work on snmp:

ws12858> ls $OTP_ROOT/lib/snmp-4.1.4/src/
agent/     app/       compiler/  manager/   misc/

Regarding the "Object code... out of date", I get that
sometimes, but tend to ignore it.  (: 
systools_make checks the modification timestamps on the 
.erl and .beam files (if it can find the source) and 
complains if the .erl file seems to be newer than the 
.beam file.

/Uffe

> -----Original Message-----
> From: 
> [mailto:]On Behalf Of 
> Dietmar Schaefer
> Sent: den 24 maj 2005 10:29
> To: 
> Subject: systools:make_script - nearly works
> 
> 
> Thank you !
> 
> 
> It nearly works!
> 
> 
> systools:make_script just complains about not finding code and about
> Object code (cmmc_config) out of date
> 
> 
> 
> systools:make_script("cmmc",[{path,["/tmp/lib/cmmc-1.0/ebin"]}]).
> *WARNING* snmp: Source code not found: snmp.erl
> *WARNING* snmp: Source code not found: snmp_app.erl
> *WARNING* snmp: Source code not found: snmp_app_sup.erl
> .
> .
> .
> WARNING* cmmc: Object code (cmmc_d4) out of date
> *WARNING* cmmc: Object code (cmmc_com) out of date
> *WARNING* cmmc: Object code (cmmc_snmp) out of date
> *WARNING* cmmc: Object code (cmmc_util) out of date
> *WARNING* cmmc: Object code (cmmc_4dp) out of date
> *WARNING* cmmc: Object code (cmmc_config) out of date
> ok
> 
> 
> despite the fact that I just compiled everything
> 
> 
> Is this somothing I should worry about ?
> 
> 
> 
> Dietmar
> 
> 
> 



More information about the erlang-questions mailing list