View previous topic :: View next topic |
Author |
Message |
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1248
|
Posted: Sun Dec 17, 2023 8:36 pm Post subject: Problem to compile Cairo-1.17.6 [self-solved] |
|
|
Hi everyone, I continue actually to work hard on my package manage (it build everything from source).
My package manager finished to build the very base of the system, but now when I try to compile Cairo, I have this error:
Error:
Code: | cairo-script-operators.c: In function '_arc':
cairo-script-operators.c:812:14: note: 'cr' was declared here
812 | cairo_t *cr;
| ^~
CCLD libcairo-script-interpreter.la
make[5]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util/cairo-script'
make[4]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util/cairo-script'
Making all in cairo-trace
make[4]: Entering directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util/cairo-trace'
CC libcairo_trace_la-trace.lo
CC libcairo_trace_la-lookup-symbol.lo
trace.c:4883:1: warning: '_content_from_surface' defined but not used [-Wunused-function]
4883 | _content_from_surface (cairo_surface_t *surface)
| ^~~~~~~~~~~~~~~~~~~~~
CCLD libcairo-trace.la
/usr/bin/ld: cannot find -liberty: No such file or directory
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:535: libcairo-trace.la] Error 1
make[4]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util/cairo-trace'
make[3]: *** [Makefile:797: all-recursive] Error 1
make[3]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util'
make[2]: *** [Makefile:575: all] Error 2
make[2]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources/util'
make[1]: *** [Makefile:710: all-recursive] Error 1
make[1]: Leaving directory '/sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources'
make: *** [Makefile:578: all] Error 2
[!] Failed to run make -j8 in /sources/GraphicsLibraries-Main/Cairo/1.17.6/Sources// with given environment |
Full log: https://textup.fr/750865mj
I googled the library libiberty, but I can't find any relevant answer.
Let me know if you need more detail _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path
Last edited by Fulgurance on Thu Dec 28, 2023 4:16 pm; edited 2 times in total |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1248
|
Posted: Mon Dec 18, 2023 5:14 pm Post subject: |
|
|
I solved the problem, I had to delete the installed file by binutils called: /usr/lib/libbfd.la _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2097
|
Posted: Wed Dec 20, 2023 10:47 am Post subject: |
|
|
The library is 'libiberty'. |
|
Back to top |
|
|
Fulgurance Veteran
Joined: 15 Feb 2017 Posts: 1248
|
Posted: Thu Dec 28, 2023 4:15 pm Post subject: |
|
|
My bad, I typed wrong _________________ My actual project: https://github.com/Fulgurance/ISM
Ingenius Software Manager is a tool to build and manage a Linux system from scratch.
It will able to manage a linux installation just with a given path to the futur root path |
|
Back to top |
|
|
|