After the manual installation of the .tar.gz, as for the new procedure, it works fine until it starts compiling. Then, it will die with the message "cannot find -lwx_baseu_core-2.8". It seems to me that it needs WX sources and cannot find them. i486-pc-linux-gnu-g++ -o truecrypt -Wl,--gc-sections -Wl,--hash-style=sysv Application.o CommandLineInterface.o FavoriteVolume.o FatalErrorHandler.o GraphicUserInterface.o LanguageStrings.o Hotkey.o StringFormatter.o TextUserInterface.o UserInterface.o UserPreferences.o VolumeHistory.o Xml.o Unix/Main.o Resources.o /var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Core/Core.a /var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Driver/Fuse/Driver.a /var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Volume/Volume.a /var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Platform/Platform.a -pthread -lfuse -lrt -ldl -pthread -lwx_baseu_core-2.8 -lwx_baseu-2.8 /usr/lib/gcc/i486-pc-linux-gnu/4.1.1/../../../../i486-pc-linux-gnu/bin/ld: cannot find -lwx_baseu_core-2.8 collect2: ld returned 1 exit status make[1]: *** [truecrypt] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-crypt/truecrypt-5.0a/work/truecrypt-5.0a-source/Main' make: *** [all] Error 2 * * ERROR: app-crypt/truecrypt-5.0a failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2135: Called die * The specific snippet of code: * emake ${EXTRA} NOSTRIP=1 VERBOSE=1 CC="$(tc-getCC)" AR="$(tc-getAR)" CXX="$(tc-getCXX)" RANLIB="$(tc-getRANLIB)" EXTRA_CFLAGS="${CFLAGS}" EXTRA_CXXFLAGS="${CXXFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" WX_CONFIG="${WX_CONFIG}" WX_CONFIG_EXTRA="" || die * The die message: * (no error message) * * 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-crypt/truecrypt-5.0a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-5.0a/temp/environment'. * * Messages for package app-crypt/truecrypt-5.0a: * * ERROR: app-crypt/truecrypt-5.0a failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2135: Called die * The specific snippet of code: * emake ${EXTRA} NOSTRIP=1 VERBOSE=1 CC="$(tc-getCC)" AR="$(tc-getAR)" CXX="$(tc-getCXX)" RANLIB="$(tc-getRANLIB)" EXTRA_CFLAGS="${CFLAGS}" EXTRA_CXXFLAGS="${CXXFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" WX_CONFIG="${WX_CONFIG}" WX_CONFIG_EXTRA="" || die * The die message: * (no error message) * * 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-crypt/truecrypt-5.0a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-5.0a/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. Download the .tar.gz from http://www.truecrypt.org/downloads2.php. 2. Rename it to truecrypt-5.0a.tar.gz and put it in /use/portage/distfiles. 3. emerge truecrypt Actual Results: Compilation dies with the message "cannot find -lwx_baseu_core-2.8". It seems to look for WX libraries.
Please paste: equery uses wxGTK
I checked wxwidget: eselect wxwidgets list Available wxWidgets profiles: [1] base-unicode-release-2.8 wxGTK is installed. Reading the Readme.txt of truecrypt, it says that it needs the WX_ROOT for make: make WX_ROOT=/usr/src/wxWidgets wxbuild This seems missing.
equery uses wxGTK [ Searching for packages matching wxGTK... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for x11-libs/wxGTK-2.8.7.1-r1 ] U I - - X : Adds support for X11 - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - doc : Adds extra documentation (API, Javadoc, etc) - - gnome : Adds GNOME support - - gstreamer : Adds support for media-libs/gstreamer (Streaming media) - - odbc : Adds ODBC Support (Open DataBase Connectivity) - - opengl : Adds support for OpenGL (3D graphics) - - pch : Enable precompiled header support for faster compilation at the expense of disk space and memory - - sdl : Adds support for Simple Direct Layer (media library) (In reply to comment #1) > Please paste: > equery uses wxGTK
Created attachment 144148 [details] new proposed ebuild I could install truecrypt-5.0a with the attached ebuild. I'll check on another computer if it installs succesfully. I basically modified it as follows: RDEPEND="sys-fs/fuse >=x11-libs/wxGTK-2.8.0" WX_CONFIG="${WX_CONFIG/2.*/2.8}" \ # workaround to incomplete eclass, force wxGTK 2.8
I sorry for the delay, I did not have time to check it out. Fixed without hacks. Thanks!