Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-dev] install libsumo under ubuntu does no longer work from the actual git repo

Dear all,

the install process in the current github repo is broken.

In release 1.2.0 it works.

In the new version there is a relative path

   usr/local/lib/python2.7/dist-packages/,

not

   /usr/...

I'm using (k)ubuntu 19.04.

Best regards, Harald


Here is an excerpt of the diff of the install outputs (only one lib)

***************
*** 1487,1541 ****                                                                                                                                              SUMO 1.2.0
  -- Installing: /usr/local/bin/duarouter
  -- Installing: /usr/local/bin/jtrrouter
! fatal: Kein Git-Repository (oder irgendein Elternverzeichnis bis zum Einhängepunkt /)
! Stoppe bei Dateisystemgrenze (GIT_DISCOVERY_ACROSS_FILESYSTEM nicht gesetzt).
  running clean
! removing 'build/lib.linux-x86_64-2.7' (and everything under it)
! removing 'build/bdist.linux-x86_64' (and everything under it)
  'build/scripts-2.7' does not exist -- can't clean it
- removing 'build'
  running install
! running bdist_egg
! running egg_info
! writing /dosd/src/opensource/Sumo/sumo-1.2.0/tools/libsumo.egg-info/PKG-INFO
...

! Extracting libsumo-1.2.0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
! libsumo 1.2.0 is already the active version in easy-install.pth
!
! Installed /usr/local/lib/python2.7/dist-packages/libsumo-1.2.0-py2.7.egg
! Processing dependencies for libsumo==1.2.0
! Finished processing dependencies for libsumo==1.2.0
  -- Installing: /usr/local/bin/marouter
  -- Installing: /usr/local/bin/netgenerate
--- 1792,1834 ----                                                                                                                        - current git version
  -- Installing: /usr/local/bin/duarouter
  -- Installing: /usr/local/bin/jtrrouter
! /usr/lib/python2.7/dist-packages/setuptools/dist.py:475: UserWarning: Normalizing '1.2.0.0310' to '1.2.0.310'
!   normalized_version,
  running clean
! 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
! 'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-2.7' does not exist -- can't clean it
  running install
! Checking .pth file support in usr/local/lib/python2.7/dist-packages/
! /usr/bin/python -E -c pass
! TEST FAILED: usr/local/lib/python2.7/dist-packages/ does NOT support .pth files
! error: bad install directory or PYTHONPATH
!
! You are attempting to install a package to a directory that is not
! on PYTHONPATH and which Python does not read ".pth" files from.  The
! installation directory you specified (via --install-dir, --prefix, or
! the distutils default setting) was:
!
!     usr/local/lib/python2.7/dist-packages/
!
! and your PYTHONPATH environment variable currently contains:
!
!     ''
!
! Here are some of your options for correcting the problem:
!
! * You can choose a different installation directory, i.e., one that is
!   on PYTHONPATH or supports .pth files
!
! * You can add the installation directory to the PYTHONPATH environment
!   variable.  (It must then also be on PYTHONPATH whenever you run
!   Python and want to use the package(s) you are installing.)
!
! * You can set up the installation directory to support ".pth" files by
!   using one of the approaches described here:
!
!   https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations
!
!
! Please make the appropriate changes for your system and try again.
  -- Installing: /usr/local/bin/marouter
  -- Installing: /usr/local/bin/netgenerate


Back to the top