Antes que alguien me mande directo ya he pasado por aqui
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3#doc_chap7
Sin embargo no me ha quedado demasiado claro que hacer, ya que no logro identificar el problema.
Intento instalar synce-kde y me lanza el siguiente error:
..........
/bin/sh ../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -o rakiagsync.la -rpath /usr/lib64/kde3 -avoid-version -module -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -L/usr/kde/3.5/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -R /usr/kde/3.5/lib64 --whole_archive -rdynamic agsync.lo agsyncfactory.lo syncstream.lo agsyncconfigimpl.lo serverconfigimpl.lo avantgoclientinstallationdialogimpl.lo agsyncconfig.lo serverconfig.lo avantgoclientinstallationdialog.lo agsync.moc.lo agsyncfactory.moc.lo agsyncconfigimpl.moc.lo /var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/mal-funcs.a
*** Warning: Linking the shared library rakiagsync.la against the
*** static library /var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/mal-funcs.a is not portable!
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/mal-funcs.a(AGUserConfig.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/../agsync-0.2-pre/mal-files/mal-funcs.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [rakiagsync.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/raki/plugins/agsync'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/raki/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1/raki'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-pda/synce-kde-0.9.1/work/synce-kde-0.9.1'
make: *** [all] Error 2
!!! ERROR: app-pda/synce-kde-0.9.1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4741: Called src_compile
synce-kde-0.9.1.ebuild, line 43: Called kde_src_compile
kde.eclass, line 171: Called kde_src_compile 'all'
kde.eclass, line 341: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 337: Called die
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-pda/synce-kde-0.9.1/temp/build.log'.
...............................
Total lei el wiki y dije, tendre que compilar la libreria esa como estatica, a ver si asi. Total que recompilo rsync (elegi esta porque tenia relacion con synce no por otra cosa) con un use static, y nada.
Estos son los ebuild que podria compilar con static
# USE="static" emerge --pretend --update --deep --newuse world
These are the packages that would be merged, in order:
Calculating world dependencies... done!
[ebuild R ] app-arch/bzip2-1.0.4 USE="static*"
[ebuild R ] media-libs/libmpcdec-1.2.2 USE="static*"
[ebuild R ] sys-apps/debianutils-2.15-r1 USE="static*"
[ebuild R ] sys-apps/busybox-1.2.2.1 USE="static*"
[ebuild R ] sys-devel/patch-2.5.9 USE="static*"
[ebuild R ] net-misc/dhcpcd-2.0.5-r1 USE="static*"
[ebuild R ] sys-apps/sysvinit-2.86-r6 USE="static*"
[ebuild R ] net-misc/iputils-20060512 USE="static*"
[ebuild R ] net-misc/rsync-2.6.9-r1 USE="static*"
[ebuild R ] sys-apps/texinfo-4.8-r5 USE="static*"
[ebuild R ] sys-apps/sed-4.1.5 USE="static*"
[ebuild R ] sys-devel/make-3.81 USE="static*"
[ebuild R ] sys-apps/findutils-4.3.2-r1 USE="static*"
[ebuild R ] sys-devel/flex-2.5.33-r2 USE="static*"
[ebuild R ] sys-apps/grep-2.5.1a-r1 USE="static*"
[ebuild R ] sys-apps/diffutils-2.8.7-r1 USE="static*"
[ebuild R ] sys-devel/bison-2.2 USE="static*"
[ebuild R ] app-arch/gzip-1.3.5-r10 USE="static*"
[ebuild R ] app-arch/tar-1.16-r2 USE="static*"
[ebuild R ] sys-apps/net-tools-1.60-r12 USE="static*"
[ebuild R ] sys-fs/e2fsprogs-1.39 USE="static*"
[ebuild R ] app-admin/syslog-ng-1.6.11-r1 USE="static*"
[ebuild R ] sys-process/lsof-4.77 USE="static*"
[ebuild R ] net-im/skype-1.3.0.53-r1 USE="static*"
[ebuild R ] sys-apps/util-linux-2.12r-r5 USE="static*"
[ebuild R ] net-misc/wget-1.10.2 USE="static*"
[ebuild R ] sys-apps/coreutils-6.4 USE="static*"
[ebuild R ] sys-boot/grub-0.97-r3 USE="static*"
[ebuild R ] sys-apps/baselayout-1.12.9 USE="static*"
[ebuild R ] net-firewall/iptables-1.3.5-r4 USE="static*"
[ebuild R ] gnome-extra/libgsf-1.14.2 USE="static*"
[ebuild R ] x11-libs/lesstif-0.94.4 USE="static*"
[ebuild R ] media-gfx/graphviz-2.8-r2 USE="static*"
[ebuild R ] net-misc/openssh-4.5_p1-r1 USE="static*"
[ebuild R ] gnome-base/libgnomecanvas-2.14.0 USE="static*"
[ebuild R ] app-crypt/gnupg-1.4.6 USE="static*"
Por cierto hay alguna forma de saber para un ebuild no instalado que ficheros tiene y hacer querys con respecto a estos ficheros. Por ejemplo "dime en que ebuild esta el archivo /usr/bin/mozilla"???