@xiota super thanks :)
So, sorry for the unnecessary confusion
Git Clone URL: | https://aur.archlinux.org/sourcetrail.git (read-only, click to copy) |
---|---|
Package Base: | sourcetrail |
Description: | Interactive source explorer for C/C++ and Java |
Upstream URL: | https://github.com/xiota/sourcetrail |
Licenses: | GPL-3.0-only |
Submitter: | jetm |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 23 |
Popularity: | 0.000000 |
First Submitted: | 2017-04-12 15:18 (UTC) |
Last Updated: | 2024-08-21 14:46 (UTC) |
@xiota super thanks :)
So, sorry for the unnecessary confusion
@jacek2v This package was updated for clang 18 shortly after Nudin's comment. I've updated the pinned comment with info about clang requirements.
@xiota yea, thanks. I noted.
I wrote a message because for @Nudin it didn't compile with clang18. And it didn't compile with clan17.
Or maybe it's fixed for clang18?
BTW: I have clan lag in manjaro :)
@jacek2v Arch has switched to clang 18, as Nudin noted. If you are using a distro that lags behind, wait a few weeks before rebuilding or switch to the unstable/testing repos, which are updated more frequently.
Alternatively, you can build the previous version (2024.6.1), which is the last one supporting clang 17. Here's a link to the snapshot.
I have clang17 and it doesn't compile either (error below). I think the problem is in the config file.
-- Found tinyxml 2.6.2
CMake Error at CMakeLists.txt:201 (find_package):
Could not find a configuration file for package "Clang" that is compatible
with requested version range "18.1...<19.0".
The following configuration files were considered but not accepted:
/usr/lib/cmake/clang/ClangConfig.cmake, version: 17.0.6
/lib/cmake/clang/ClangConfig.cmake, version: 17.0.6
clang version:
extra/clang 17.0.6-2 (41.4 MiB 198.0 MiB) (Installed)
BTW: sourcetrail has support for clang18
C++ packages:
Clang (18.1.3):
clang-18
libclang-18-dev
Arch switched to clang 18, so this cannot be built anymore (needs clang17).
After 2023.11
, patching is required to build on Arch. Switched to a secondary repo to make this easier.
main
branch contains license and description of the fork.petermost
branch is synced with the petermost fork.arch-2024.8.2
wip
, -broken
, and other branches are unstable and not meant for use.Please observe the following when flagging or commenting:
Previous versions/requirements:
Hi,
I'm the maintainer of the referenced Sourcetrail clone.
Regarding the linker errors: libclang-dev needs to be installed.
So for building the last/current commit
https://github.com/petermost/Sourcetrail/tree/b61ed988fffca66c1df189c3b27947737e213b18
these packages need to be installed, as described here:
https://github.com/petermost/Sourcetrail/tree/b61ed988fffca66c1df189c3b27947737e213b18#system-build
I maintain the 'System' build specifically for Linux distributions, so let me know via
https://github.com/petermost/Sourcetrail/issues
about any issues you might have.
PS: Sorry for the primitive formatting, but I couldn't find any help/documentation for that.
Pinned Comments
xiota commented on 2024-06-20 03:07 (UTC) (edited on 2024-08-21 14:54 (UTC) by xiota)
After
2023.11
, patching is required to build on Arch. Switched to a secondary repo to make this easier.main
branch contains license and description of the fork.petermost
branch is synced with the petermost fork.arch-2024.8.2
wip
,-broken
, and other branches are unstable and not meant for use.Please observe the following when flagging or commenting:
Previous versions/requirements: