Skip to content

more comments from a coworker #4

@chunhualiao

Description

@chunhualiao

Here's some problems that need to be fixed to make it usable:

  1. 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!
  1. 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"

  1. 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

  1. 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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions