Tots' Sumo Mac OS
adminMay 28 2021
Tots' Sumo Mac OS
Woman, 25, ‘poisoned rich ‘Don Juan’ husband, 77, who bedded 4,000 women' A WOMAN in her mid-20s is accused of poisoning her millionaire husband, 77, just months after the pair. Sumo Logic lets you access your logs through a powerful query language. In addition to searching for individual log messages, you may extract, transform, filter and aggregate data from them using a sequence of operators. There are currently about two dozen operators available and we are constantly adding new ones.
2014-03-12 13:31:40 UTC
Mac Os Catalina
Hi,
I want to report that sumo-gui (sumo 0.20) compiles on Mac OS X 10.9. Below is the summary of the steps.
Step one. Minor source code change
----------------------------------
Only one line of code needs to be changed in the following two files:
src/foreign/polyfonts/polyfonts.c
src/foreign/polyfonts/pfPSansBold16.c
The line is the following:
#include <GL/gl.h>
The line shold be changed to the following:
#ifdef __APPLE__
# include <OpenGL/gl.h>
#else
# include <GL/gl.h>
#endif
That is the only source change.
Step two. Dependencies
----------------------
The dependencies can be installed using Homebrew (http://brew.sh/). I installed xerces-c, proj, gdal and fox (I might also have had more dependencies installed earlier).
Step three. Compilation flags
-----------------------------
'./configure' can't figure the correct compilation flags for Sumo on Mac, so they have to be adjusted manually before running ./configure. The flags can be set through the environment variables. Here are the flags that worked for me:
export CXXFLAGS='-I/opt/X11/include'
export LDFLAGS='-framework OpenGL -framework GLUT -L/usr/X11/lib -L/usr/X11R6/lib -lpython2.7'
That's it. Running './configure --with-python' and 'make' successfully compiled sumo and sumo-gui.
I have a question: can the minor source code change above be incorporated into the main source code?
Also, if there is interest, I probably can create a Homebrew formula to simplify the installation.
Hope this helps,
Alex
--
Alexey Voronov, PhD
Senior Researcher Cooperative Systems
Viktoria Swedish ICT
I want to report that sumo-gui (sumo 0.20) compiles on Mac OS X 10.9. Below is the summary of the steps.
Step one. Minor source code change
----------------------------------
Only one line of code needs to be changed in the following two files:
src/foreign/polyfonts/polyfonts.c
src/foreign/polyfonts/pfPSansBold16.c
The line is the following:
#include <GL/gl.h>
The line shold be changed to the following:
#ifdef __APPLE__
# include <OpenGL/gl.h>
#else
# include <GL/gl.h>
#endif
That is the only source change.
Step two. Dependencies
----------------------
The dependencies can be installed using Homebrew (http://brew.sh/). I installed xerces-c, proj, gdal and fox (I might also have had more dependencies installed earlier).
Step three. Compilation flags
-----------------------------
'./configure' can't figure the correct compilation flags for Sumo on Mac, so they have to be adjusted manually before running ./configure. The flags can be set through the environment variables. Here are the flags that worked for me:
export CXXFLAGS='-I/opt/X11/include'
export LDFLAGS='-framework OpenGL -framework GLUT -L/usr/X11/lib -L/usr/X11R6/lib -lpython2.7'
That's it. Running './configure --with-python' and 'make' successfully compiled sumo and sumo-gui.
I have a question: can the minor source code change above be incorporated into the main source code?
Also, if there is interest, I probably can create a Homebrew formula to simplify the installation.
Hope this helps,
Alex
--
Alexey Voronov, PhD
Senior Researcher Cooperative Systems
Viktoria Swedish ICT
Tots' Sumo Mac OS