Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Installation problems | Problèmes à l'installation released 2.1.3-3 fails to compile on Fedora rawhide
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Installation problems | Problèmes à l'installation

Subjects Author Language Messages Last message
[Locked] released 2.1.3-3 fails to compile on Fedora rawhide
mtasaka English 3 fabounet [Read]
17 February 2010 à 20:39

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,
AC_CHECK_LIB(m,sin)
, 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


Subscription date : 16 May 2008
Messages : 106
> so we just have to add the 2 lines to make it compile ?
Well, actually this:
http://cvs.rpmfusion.org/viewvc/rpms/cairo-dock/devel/cairo-dock-2.1.3.2-DSO.patch?revision=1.1&root=free&view=markup

> 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 ?

cairo-dock was removed from Fedora since Fedora 11, actually. As wiki page in
this domain http://www.glx-dock.org/ww_page.php?p=Fedora%20repository?=en
explains, cairo-dock rpms for Fedora 11/12/13 are available on rpmfusion and
after easy setup (actually one command line as root) cairo-dock rpms can be installed with yum.
(I slightly modified the wiki page)

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

Subjects Author Language Messages Last message
[Locked] released 2.1.3-3 fails to compile on Fedora rawhide
mtasaka English 3 fabounet [Read]
17 February 2010 à 20:39


Glx-Dock / Cairo-Dock List of forums Installation problems | Problèmes à l'installation released 2.1.3-3 fails to compile on Fedora rawhide Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.