Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Any option for installing the /usr/lib/sumo data ?

Sorry for the sloppy reading comprehension. Due to the website outate, we had plenty of mails from people who just didn't set SUMO_HOME.

Sumo does not concern itself very much with being installed on a linux system (assuming instead that people will build from source and set  SUMO_HOME to the root directory of the build). The debian package is not maintained by the sumo developers but by some other friendly developer and it could be that installing the data directory was never implemented.
Due to the website lookup as a fall-back mechanism everything can work without this directory usually.
I'm not even sure if the package does set the SUMO_HOME variable because that might be against policy.

My suggestion is to just set the SUMO_HOME variable to /usr/lib/sumo (assuming this directory also contains the sumo tools) and copy the data directory from your githup checkout there as well.


regards,
Jakob

2018-06-08 0:14 GMT+02:00 Ricardo Ribeiro Gudwin <gudwin@xxxxxxxxxxxx>:
Dear Jakob,
Thanks for the reply ... this is exactly what I supposed it was happening ... but my question is a little bit different.
After compiling sumo, I used "make install" in the sumo src folder to install sumo in the system. But this didn't installed the /usr/lib/sumo data which is where sumo will be looking for the xsd files. This directory was not created at all. It installed just the compiled binaries in /usr/local/bin.
What I was asking was if is there any "make install-libs" or "make install-tools", or other target in the sumo Makefile, which will perform the whole installation, installing the binaries, the /usr/lib/sumo/data and /usr/lib/sumo/tools.
Maybe you can help me with this. I tried to look within the Makefile, but didn't succeeded in finding a clue.
Best regards,
Ricardo

On Thu, Jun 7, 2018 at 6:11 PM, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:

2018-06-07 18:35 GMT+02:00 Ricardo Ribeiro Gudwin <gudwin@xxxxxxxxxxxx>:
Hi,
I was using sumo 0.32 in Arch linux, but it just stopped working after the last system upgrade, because of a change in the libproject.so, which changed some function calls during its move from libproject.so.12 to libproject.so.13. To solve that, I downloaded the git sources and compiled it by myself. It seems that the latest sumo version already solved this change in the libproject libraries, but another colateral effect just emerged (as a byproduct of the shortage on the sumo.dlr.de web site).
After compiling, I installed sumo in my system using

make install

Even though the binaries are there, I got the following message while trying to run sumo:

Warning: Cannot find local schema '/usr/lib/sumo/data/xsd/routes_file.xsd', will try website lookup.
Error: invalid document structure

I noticed that the many files in the data and tools folders were not properly installed in the usual place (/usr/lib/sumo), and because the sumo.dlr.de website is off, sumo was not able to get the xsd file for XML parsing the sumo files. Is there any other target in the Makefile such that I can install not just the sumo binaries, but also the data and tools folders ?
Many thanks in advance,
Ricardo


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top