On Tue, 18 Oct 2022 at 16:54, <tim.tay...@hiddenelephants.co.uk> wrote:
>
> Apologies if this is double posted as I initially sent from an account not 
> registered.
>
> I've noticed that diagnostics and completions for C code do not seem to be 
> working within rstudio on f36 (2022.02.4+500-1). Is there something 
> additional required to enable them outside of rstudio itself?

Yes, you need to install clang-devel, both for our build as well as
for the official build.

In general, this is how you can find which package provides a certain file:

$ dnf repoquery --provides */<file>

where <file>=libclang.so in our case.

Iñaki

> Using .rs.setClangDiagnostics(2) within rstudio gives me the following output:
>
> Attemping to load libclang for x86_64-redhat-linux-gnu
> /usr/libexec/rstudio/bin/rsclang/libclang.so
> (Not Found)
> /usr/lib/libclang.so
> (Not Found)
> /usr/lib/llvm/libclang.so
> (Not Found)
> /usr/lib64/libclang.so
> (Not Found)
> /usr/lib64/llvm/libclang.so
> (Not Found)
> /usr/lib64/llvm13/lib/libclang.so.1
> (Not Found)
>
> For reference in /usr/lib64 I have
> clang
> libclang-cpp.so.14
> libclang.so.14.0.5
> libclang.so.14.0.5
> llvm13
>
> Cheers
>
> Tim
>
> _______________________________________________
> R-SIG-Fedora mailing list
> R-SIG-Fedora@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-fedora



-- 
Iñaki Úcar

_______________________________________________
R-SIG-Fedora mailing list
R-SIG-Fedora@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora

Reply via email to