[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
Re: [sumo-dev] Problem with latest build under ubuntu
 | 
  
  
    Hi Michael,
    
    
    the idea with make -i works partly.
    First build with make -i
    then set PYTHONPATH to $SUMO_HOME/tools
    and build again.
    
    
    The install failed with this message
      (for each library)
    
    Traceback (most recent call last):
        File
"/dosd/src/opensource/Sumo/sumo-git-co/sumo/tools/build/setup-sumolib.py",
      line 20, in <module>
          SUMO_VERSION = version.gitDescribe(commitPrefix=".",
      padZero=False)[1:-11].replace("_", ".")
      AttributeError: 'module' object has no attribute 'gitDescribe'
    
    
    
    I think setup-sumolib.py uses the
      version.py in build, which does not have a method gitDescribe
    
    
    Greetings, Harald
    
    
    
    On 08.12.19 19:41, Harald Schaefer
      wrote:
    
    
      
      Hi Michael,
      
      
      my sumolib is installed say once a
        week from the development stream.
      Now I have an old one and cannot
        build a new one due to this error.
      The same things happens in my view,
        if somebody creates a development version from scratch (without
        having the newest sumolib installed).
      So the workaround seems for me to run
        the make twice, the first time with the -i option to ignore the
        error (and hope that there is a version.h file)
      installed it, run the second make
        (which now builds the correct version.h file) and install it
        again.
      
      
      Regards, Harald
      
      
      
      Am 08.12.2019 um 18:02 schrieb
        Michael Behrisch:
      
      
        Hi Harald,
yes version.py now depends on sumolib. But your problem seems to stem
not from a lack of sumolib but rather from an old version in your python
path.
Best regards,
Michael
Am 08.12.19 um 16:44 schrieb Harald Schaefer:
        
          Hi SUMO gurus,
the latest development version from 2019-12-07 does not compile for me
harald@nyc> make
[  2%] Built target utils_xml
[  2%] Generating version.h
Traceback (most recent call last):
  File
"/dosd/src/opensource/Sumo/sumo-git-co/sumo/src/../tools/build/version.py",
line 71, in <module>
    main()
  File
"/dosd/src/opensource/Sumo/sumo-git-co/sumo/src/../tools/build/version.py",
line 56, in main
    vcsFile = join(sumolib.version.GITDIR, GITFILE)
AttributeError: 'module' object has no attribute 'version'
It seems that for the very first step (building version.h) you need
already a working sumolib
Greetings, Harald
_______________________________________________
sumo-dev mailing list
sumo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-dev
        
        
        
        _______________________________________________
sumo-dev mailing list
sumo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-dev
      
      
      
      
      
      _______________________________________________
sumo-dev mailing list
sumo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-dev