Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem to compile Cairo-1.17.6 [self-solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1200

PostPosted: Sun Dec 17, 2023 8:36 pm    Post subject: Problem to compile Cairo-1.17.6 [self-solved] Reply with quote

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
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1200

PostPosted: Mon Dec 18, 2023 5:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Wed Dec 20, 2023 10:47 am    Post subject: Reply with quote

The library is 'libiberty'.
Back to top
View user's profile Send private message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1200

PostPosted: Thu Dec 28, 2023 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum