[sumo-user] [Installation] Obsolete SUMO on Debian

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[sumo-user] [Installation] Obsolete SUMO on Debian

smariani
This post was updated on .
I have a Debian 9 server I wish to use for running SUMO + Traci simulations.
By installing SUMO through apt-get install I get SUMO v 0.28, which is way too old (it doesn't have many Traci functions I need)

I tried to update to a newer version in several ways, without success.

 (1) Followed instructions from here
      a. sudo add-apt-repository ppa:sumo/stable gives

gpg: Total number processed: 1
gpg:               imported: 1
gpg: no valid OpenPGP data found.

      b. sudo apt-get update gives 1 error

Err:11 http://ppa.launchpad.net/sumo/stable/ubuntu hirsute/main amd64 Packages
  404  Not Found [IP: 91.189.95.85 80]

      c. sudo apt-get install sumo sumo-tools sumo-doc gives

sumo is already the newest version (0.28.0+dfsg1-1).
sumo-doc is already the newest version (0.28.0+dfsg1-1).
sumo-tools is already the newest version (0.28.0+dfsg1-1).

 (2) looking for binaries here, it seems that Debian binaries are not generated any more since a few builds...

 (3) looking for binaries here
      a. downloading .deb package for i386 for Debian 8 or 7 (9 is not present)
      b. sudo dpkg -i texttest_3.29-1_i386.deb gives

dpkg-deb: error: 'texttest_3.29-1_i386.deb' is not a debian format archive
dpkg: error processing archive texttest_3.29-1_i386.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 texttest_3.29-1_i386.deb

 (4) Followed instructions from here or there (the second is simply more detailed)
      a. I have cmake v 3.7.2, python 3.7.3, g++ v 6.3.0, libxerces-c-dev v 3.1.4+debian-2+deb9u2, libfox-1.6-dev v 1.6.53-1, libgdal-dev v 2.1.2+dfsg-5, libproj-dev v 4.9.3-1, libgl2ps-dev v 1.3.9-4
      b. tried both with g++ and clang
      c. make -j $(nproc) gives many repetitions of the following two errors

fatal error: cassert: No such file or directory
 #include <cassert>
                   ^

fatal error: cctype: No such file or directory
 #include <cctype>
                  ^
compilation terminated.

After googling a lot I tried many things such as installing additional packages (e.g. build-essentials, g++-multilib, libc++-dev) but without success.

Can anyone help me?
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

Harald Schaefer-2
Hi,

unfortunately the error messages are not readable. Might be they are
images not sent in the e-mail.

Am 10.02.21 um 08:59 schrieb smariani:

> I have a Debian 9 server I wish to use for running SUMO + Traci simulations.
> By installing SUMO through apt-get install I get SUMO v 0.28, which is way
> too old (it doesn't have many Traci functions I need)
>
> I tried to update to a newer version in several ways, without success.
>
>   (1) Followed instructions from  here
> <https://sumo.dlr.de/docs/Installing.html>
>        a.
>
>
>
>        b.  gives 1 error
>
>
>
>        c.  gives
>
>
>
>   (2) looking for binaries  here
> <https://build.opensuse.org/project/show/home:behrisch>  , it seems that
> Debian binaries are not generated any more since a few builds...
>
>   (3) looking for binaries  here
> <http://download.opensuse.org/repositories/home:/behrisch/>
>        a. downloading .deb package for i386 for Debian 8 or 7 (9 is not
> present)
>        b.  gives
>
>
>
>   (4) Followed instructions from  here
> <https://salsa.debian.org/science-team/sumo>   or  there
> <https://sumo.dlr.de/docs/Installing/Linux_Build.html>   (the second is
> simply more detailed)
>        a. I have cmake v 3.7.2, python 3.7.3, g++ v 6.3.0, libxerces-c-dev v
> 3.1.4+debian-2+deb9u2, libfox-1.6-dev v 1.6.53-1, libgdal-dev v
> 2.1.2+dfsg-5, libproj-dev v 4.9.3-1, libgl2ps-dev v 1.3.9-4
>        b. tried both with g++ and clang
>        c.  gives many repetitions of the following two errors
>
>
>
> After googling a lot I tried many things such as installing additional
> packages (e.g. build-essentials, g++-multilib, libc++-dev) but without
> success.
>
> Can anyone help me?
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [hidden email]
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

smariani
Sorry, my bad: I used raw tag to have sort of verbatim but apparently it
creates problems.
I edited original message by removing the tag.



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

Harald Schaefer-2
For the build-part:

cassert and cctype are in libstdc++-nn-dev, try to install this package,
where nn is the version of your gnu compiler.


Am 10.02.21 um 09:27 schrieb smariani:

> Sorry, my bad: I used raw tag to have sort of verbatim but apparently it
> creates problems.
> I edited original message by removing the tag.
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [hidden email]
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

smariani
gcc --version gives

gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

sudo apt-get install libstdc++-6-dev gives

Reading package lists... Done
Building dependency tree      
Reading state information... Done
libstdc++-6-dev is already the newest version (6.3.0-18+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

Harald Schaefer-2
Hi,

try to install the latest available g++ including its libraries (current
version is 10, 8 or 9 are also good).

SUMO requires a compiler, which supports the C11 Standard.

@SUMO-Developers: in the website https://packages.ubuntu.com 
<https://packages.ubuntu.com> cctype is only listed for gcc version 8
and higher!)

Harald

Am 10.02.21 um 09:40 schrieb smariani:

> gcc --version gives
>
> gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> sudo apt-get install libstdc++-6-dev gives
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libstdc++-6-dev is already the newest version (6.3.0-18+deb9u1).
> 0 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [hidden email]
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

smariani
I tried sudo apt-get update and then sudo apt-get install g++-6/7/8/9/10 but
none is found...



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

Harald Schaefer-2
Can you update your system to a newer debian version?

Its hard to use the latest SUMO on a software base 4 or 5 years old.

Regards, Harald

Am 10.02.21 um 10:50 schrieb smariani:

> I tried sudo apt-get update and then sudo apt-get install g++-6/7/8/9/10 but
> none is found...
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [hidden email]
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

smariani
I know, but unfortunately I have not total freedom over the server...will try
;D



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

behrisch
Administrator
Hi,
I think the build should work even with gcc 4.8, so please try to find
which package provides the missing headers. StackOverflow mentions
build-essential as a good candidate.

Best regards,
Michael

Am 10.02.21 um 11:28 schrieb smariani:

> I know, but unfortunately I have not total freedom over the server...will try
> ;D
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [hidden email]
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] [Installation] Obsolete SUMO on Debian

Harald Schaefer-2

Hi,

this was the original error

(4) Followed instructions from here or there (the second is simply more detailed)
      a. I have cmake v 3.7.2, python 3.7.3, g++ v 6.3.0, libxerces-c-dev v 3.1.4+debian-2+deb9u2, libfox-1.6-dev v 1.6.53-1, libgdal-dev v 2.1.2+dfsg-5, libproj-dev v 4.9.3-1, libgl2ps-dev v 1.3.9-4
      b. tried both with g++ and clang
      c. make -j $(nproc) gives many repetitions of the following two errors

fatal error: cassert: No such file or directory
 #include <cassert>
                   ^

fatal error: cctype: No such file or directory
 #include <cctype>
                  ^
compilation terminated.

The two includes cassert and and cctype are part of libstdc++6.dev  (see https://packages.ubuntu.com/search?suite=bionic&arch=any&mode=exactfilename&searchon=contents&keywords=cctype)

@smariani:

What is the output of

  find /usr/include -name cctype

? It should be something like

  /usr/include/c++/6/tr1/cctype
  /usr/include/c++/6/cctype

if not, you might want to reinstall li8bstdc++6.dev

  sudo apt-get install --reinstall libstdc++-6-dev

Regards, Harald

Am 17.02.21 um 17:57 schrieb Michael Behrisch:
Hi,
I think the build should work even with gcc 4.8, so please try to find which package provides the missing headers. StackOverflow mentions build-essential as a good candidate.

Best regards,
Michael

Am 10.02.21 um 11:28 schrieb smariani:
I know, but unfortunately I have not total freedom over the server...will try
;D



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user