Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

edps

Members
  • Posts

    4
  • Joined

  • Last visited

Community Answers

  1. edps's post in [SOLVED] media-libs/glew building error was marked as the answer   
    I think the problem was in the following block of USES:
    acpi bash-completion binary bindist consolekit curl dbus hal ftp introspection lm_sensors md5sum mtp ncurses nls ntp pam parted pcre policykit polkit pppd python perl qt3support qt4 ssl suid tests threads udev udisks unicode usb uuid I just commented them in make.conf and run:
     
    # emerge media-libs/glew
     
    And works! But due to collision problems (because i had reinstalled the package in the traditional way = ./configure blah blah blah) the package was not installed.
     
    Then i manually removed the files and re-executed:
     
    # emerge media-libs/glew:
    [ 10:51 ] [ edps@funtoo:~ ] $ sudo emerge media-libs/glew These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-libs/glew-2.0.0 USE="-doc -static-libs" Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-libs/glew-2.0.0::gentoo >>> Installing (1 of 1) media-libs/glew-2.0.0::gentoo >>> Failed to install media-libs/glew-2.0.0, Log file: >>> '/var/log/portage/media-libs:glew-2.0.0:20161120-125137.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 0.93, 0.84, 0.84 * Package: media-libs/glew-2.0.0 * Repository: gentoo * USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86 * FEATURES: ccache preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking glew-2.0.0.tgz to /var/tmp/portage/media-libs/glew-2.0.0/work >>> Source unpacked in /var/tmp/portage/media-libs/glew-2.0.0/work >>> Preparing source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ... * Applying glew-2.0.0-install-headers.patch ... [ ok ] * Will copy sources from /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 * abi_x86_32.x86: copying to /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0-abi_x86_32.x86 >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure >>> Source configured. >>> Compiling source in /var/tmp/portage/media-libs/glew-2.0.0/work/glew-2.0.0 ... * abi_x86_32.x86: running multilib-minimal_abi_src_compile make -s -j2 GLEW_DEST=/usr LIBDIR=/usr/lib AR=i686-pc-linux-gnu-ar STRIP=true CC=i686-pc-linux-gnu-gcc 'LD=i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed' M_ARCH= LDFLAGS.EXTRA= 'POPT=-march=i686 -O2 -pipe -fomit-frame-pointer' >>> Source compiled. >>> Test phase [not enabled]: media-libs/glew-2.0.0 >>> Install glew-2.0.0 into /var/tmp/portage/media-libs/glew-2.0.0/image/ category media-libs * abi_x86_32.x86: running multilib-minimal_abi_src_install make -s -j2 GLEW_DEST=/var/tmp/portage/media-libs/glew-2.0.0/image//usr LIBDIR=/var/tmp/portage/media-libs/glew-2.0.0/image//usr/lib PKGDIR=/var/tmp/portage/media-libs/glew-2.0.0/image//usr/lib/pkgconfig AR=i686-pc-linux-gnu-ar STRIP=true CC=i686-pc-linux-gnu-gcc 'LD=i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed' M_ARCH= LDFLAGS.EXTRA= 'POPT=-march=i686 -O2 -pipe -fomit-frame-pointer' install.all >>> Completed installing glew-2.0.0 into /var/tmp/portage/media-libs/glew-2.0.0/image/ * Final size of build directory: 18168 KiB * Final size of installed tree: 2488 KiB making executable: usr/lib/libGLEW.so.2.0.0 strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/lib/libGLEW.so.2.0.0 usr/bin/glewinfo usr/bin/visualinfo ecompressdir: bzip2 -9 /usr/share/doc * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at https://bugs.gentoo.org/ unless you report exactly * which two packages install the same file(s). See * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how * to solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * package media-libs/glew-2.0.0 NOT merged * * Detected file collision(s): * * /usr/lib/libGLEW.so.2.0.0 * /usr/lib/pkgconfig/glew.pc * /usr/include/GL/wglew.h * /usr/include/GL/glxew.h * /usr/include/GL/glew.h * /usr/lib/libGLEW.so * /usr/lib/libGLEW.so.2.0 * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * None of the installed packages claim the file(s). * * Package 'media-libs/glew-2.0.0' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message. * Messages for package media-libs/glew-2.0.0: * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at https://bugs.gentoo.org/ unless you report exactly * which two packages install the same file(s). See * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how * to solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * package media-libs/glew-2.0.0 NOT merged * * Detected file collision(s): * * /usr/lib/libGLEW.so.2.0.0 * /usr/lib/pkgconfig/glew.pc * /usr/include/GL/wglew.h * /usr/include/GL/glxew.h * /usr/include/GL/glew.h * /usr/lib/libGLEW.so * /usr/lib/libGLEW.so.2.0 * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * None of the installed packages claim the file(s). * * Package 'media-libs/glew-2.0.0' NOT merged due to file collisions. If * necessary, refer to your elog messages for the whole content of the * above message. * * The following package has failed to build, install, or execute postinst: * * (media-libs/glew-2.0.0:0/2.0::gentoo, ebuild scheduled for merge), Log file: * '/var/log/portage/media-libs:glew-2.0.0:20161120-125137.log' * * GNU info directory index is up-to-date. [ 10:52 ] [ edps@funtoo:~ ] $ sudo rm -fv /usr/lib/libGLEW.so.2.0.0 sudo rm -fv /usr/lib/pkgconfig/glew.pc sudo rm -fv /usr/include/GL/wglew.h sudo rm -fv /usr/include/GL/glxew.h sudo rm -fv /usr/include/GL/glew.h sudo rm -fv /usr/lib/libGLEW.so sudo rm -fv /usr/lib/libGLEW.so.2.0 removido ?/usr/lib/libGLEW.so.2.0.0? removido ?/usr/lib/pkgconfig/glew.pc? removido ?/usr/include/GL/wglew.h? removido ?/usr/include/GL/glxew.h? removido ?/usr/include/GL/glew.h? removido ?/usr/lib/libGLEW.so? removido ?/usr/lib/libGLEW.so.2.0? [ 10:53 ] [ edps@funtoo:~ ] $ sudo emerge media-libs/glew These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-libs/glew-2.0.0 USE="-doc -static-libs" Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-libs/glew-2.0.0::gentoo >>> Installing (1 of 1) media-libs/glew-2.0.0::gentoo >>> Recording media-libs/glew in "world" favorites file... >>> Jobs: 1 of 1 complete Load avg: 0.77, 0.79, 0.82 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. Problem SOLVED! Thank you all!
     
    Seguindo com um novo update:
     
    https://gist.github.com/anonymous/f12da86ab8a34a229f8e35f6876e6950
     
    @Otakku, primeiramente obrigado pela ajuda. Sobre escrever em pt_BR, acho que por ser um f?rum nternacional, talvez n?o seja correto utilizar a nossa l?ngua aqui.
×
×
  • Create New...