Installation problems | Problèmes à l'installation
mtasaka, Wednesday 17 February 2010 à 17:15
|
|
Subscription date : 16 May 2008
Messages : 106
|
Hi
The released 2.1.3-3 (also -2) cairo-dock core tarball fails to compile on Fedora 13
(okay for F-12/11) like:
2190 /bin/sh ../libtool --tag=CC --mode=link gcc -pthread ..... -o cairo
-dock .....
2191 libtool: link: gcc -pthread ..... -o cairo-dock .....
2192 /usr/bin/ld: cairo_dock-cairo-dock-draw.o: undefined reference to symbol 'sin@@GLIBC_2.0'
2193 /usr/bin/ld: note: 'sin@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
2194 /lib/libm.so.6: could not read symbols: Invalid operation
2195 collect2: ld returned 1 exit status
2196 make[3]: *** [cairo-dock] Error 1
(note: Fedora 13 is not formally released yet, it is under development stage now)
This is because on Fedora 13 the behavior of the linker (actually how gcc calls linker)
changed:
http://lists.fedoraproject.org/pipermail/devel/2010-February/130519.html
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
You can reproduce this change by calling
export LDFLAGS="--Wl,--no-add-needed" To compile cairo-dock core 2.1.3-3,
, for example, is needed on configure.ac . |
fabounet, Wednesday 17 February 2010 à 17:53
|
|
Subscription date : 30 November 2007
Messages : 17118
|
Hi,
thanks for notifying this !
so we just have to add the 2 lines to make it compile ?
By the way, I've heard that Cairo-Dock has been removed from the Fedora12 repositories because of potential patents with Apple.
do you know something about it for F13 ? |
mtasaka, Wednesday 17 February 2010 à 19:41
|
|
fabounet, Wednesday 17 February 2010 à 20:39
|
|
Subscription date : 30 November 2007
Messages : 17118
|
ok I've added to the configure.ac, thanks |
Installation problems | Problèmes à l'installation
|