The RGCCTranslation package makes use of the
GCC::TranslationUnit module that is distributed
as part of this R package. This is installed within
the installed R package and when the package is
loaded into R, the PERL5LIB path is updated.
When you load RSPerl (implicitly by a call to parseTU()),
this PERL5LIB is used to locate the Perl modules.
Run
paste("find", system.file("perl", package = "RGCCTranslationUnit"), "-name '*.pm')
from within R and hopefully you will get output that tells you the
.pm files are in the installed R directory. If not,
then reinstall the RGCCTranslationUnit and watch to see if the
Perl module was installed correctly.
If the .pm files are present, then the PERL5LIB is set
incorrectly.
At present, we are just setting the value to the ususual
installation directory/share/perl/lib/perl5/site_perl.
If it should be different for your system, set PERL5LIB before
you start R (or within R using Sys.setenv() but before loading
RSPerl) and send me mail to let me know what it should be for
your system.