-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Here's some problems that need to be fixed to make it usable:
- The "--help" man-page output depends on "perl-doc", which wasn't
installed. E.g., "rose-config --help" says to install it.
- this has been fixed!
- The "rose-config" tool fails with:
rose-config[9404] 0.00455s tool[FATAL]: cannot find file "rose-config.cfg"
rose-config[9404] 0.00491s tool[FATAL]: searched in these directories:
rose-config[9404] 0.00503s tool[FATAL]: "/home/oleh/rose-apt-get/rose-install/lib"
- The /usr/rose/lib/rose-config.cfg file has some strangeness. It looks
like all the installation directories are pointing to
/home/oleh/rose-apt-get/rose-install instead of /usr/rose. This probably
explains catastrophic error: cannot open source file "stddef.h" #2 as well.
This problem still exists:
rose-config cppflags
-I/usr/rose/include/rose -pthread -I/home/oleh/rose-apt-get/boost/include
- A whole bunch of the symbolic links in /usr/rose/include/edg
and /usr/rose/include/rose/midend/astMatching are broken. I'm not sure if
that's normal or not.
I don't see broken ones anymore under /usr/rose/include/edge. But still quite a lot for astMatching
- Why did ROSE install its own boost libraries instead of depending on
libboost_* packages?
This is resolved
My next goal was to compile identityTranslator.C. I worked around the
previous rose-config problems by making a little wrapper script:
matzke@u1604-64-rose:~/test-rose$ cat rconf
#!/bin/bash
rose-config --config /usr/rose/lib/rose-config.cfg "$@" |sed 's%/home/oleh/rose-apt-get/rose-install%/usr/rose%g'
Then I tried to compile the identityTranslator.C:
matzke@u1604-64-rose:~/test-rose$
$(rconf cxx) $ (rconf cppflags)$(rconf cxxflags) identityTranslator.C $ (rconf ldflags)
In file included from /usr/rose/include/rose/Sawyer/Assert.h:11:0,
from /usr/rose/include/rose/processSupport.h:9,
from /usr/rose/include/rose/roseInternal.h:22,
from /usr/rose/include/rose/rosedefs.h:30,
from /usr/rose/include/rose/sage3basic.h:255,
from /usr/rose/include/rose/sage3basic.hhh:4,
from /usr/rose/include/rose/rose.h:10,
from identityTranslator.C:3:
/usr/rose/include/rose/Sawyer/Sawyer.h:11:29: fatal error: boost/cstdint.hpp: No such file or directory
#include <boost/cstdint.hpp>
still hardwired path to boost