Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Truecrypt 6.2a error with Process.cpp [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
ZeLegolas
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Tue Apr 26, 2005 2:08 am

Truecrypt 6.2a error with Process.cpp [SOLVED]

  • Quote

Post by ZeLegolas » Tue Oct 13, 2009 11:48 pm

Hi

I tried to compil truecrypt 6.2a and I have this error:
Unix/Process.cpp: In static member function 'static std::string TrueCrypt::Process::Execute(const std::string&, const std::list<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, int, TrueCrypt::ProcessExecFunctor*, const TrueCrypt::Buffer*)':
Unix/Process.cpp:172: error: 'auto_ptr' was not declared in this scope
Unix/Process.cpp:172: error: expected primary-expression before '>' token
Unix/Process.cpp:172: error: 'deserializedObject' was not declared in this scope
make[1]: *** [Unix/Process.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/truecrypt-6.2a/work/truecrypt-6.2a-source/Platform'
make: *** [all] Error 2
* ERROR: app-crypt/truecrypt-6.2a failed:
* emake failed
*
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3596: Called die
* The specific snippet of code:
* emake ${EXTRA} NOSTRIP=1 NOTEST=1 VERBOSE=1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" TC_EXTRA_CFLAGS="${CFLAGS}" TC_EXTRA_CXXFLAGS="${CXXFLAGS}" TC_EXTRA_LFLAGS="${LDFLAGS}" WX_CONFIG="${WX_CONFIG}" PKCS11_INC="${pkcs11_include_directory}" || die "emake failed"
*
* If you need support, post the output of 'emerge --info =app-crypt/truecrypt-6.2a',
* the complete build log and the output of 'emerge -pqv =app-crypt/truecrypt-6.2a'.
* The complete build log is located at '/var/tmp/portage/app-crypt/truecrypt-6.2a/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-crypt/truecrypt-6.2a/temp/environment'.
* S: '/var/tmp/portage/app-crypt/truecrypt-6.2a/work/truecrypt-6.2a-source'

>>> Failed to emerge app-crypt/truecrypt-6.2a, Log file:
My config:
Portage 2.1.7.1 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 13 Oct 2009 23:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.3, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.5.1
sys-apps/sandbox: 2.1
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://chi-10g-1-mirror.fastsoft.net/pu ... distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub ... distfiles/ ftp://gentoo.mirrors.tds.net/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acc acl acpi alsa amd64 bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus doc dri dts dvd dvdr dvdread eds emboss emul-linux-x86 encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer hal htmlhandbook iconv isdnlog jpeg kde ldap libnotify mad matroska mikmod mmx mmx2 modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf png ppds pppd python qt qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Any help will appreciate, thk
Last edited by ZeLegolas on Sat Oct 17, 2009 12:26 pm, edited 1 time in total.
Top
Mike Hunt
Watchman
Watchman
User avatar
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

  • Quote

Post by Mike Hunt » Wed Oct 14, 2009 12:08 am

Try with ccache disabled
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Wed Oct 14, 2009 12:43 am

Probably nothing to do with ccache, rather with not being ported
to gcc 4.3. Does adding '#include <memory>' in that file help ?
Top
ZeLegolas
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Tue Apr 26, 2005 2:08 am

  • Quote

Post by ZeLegolas » Thu Oct 15, 2009 11:52 pm

I run:
emerge -upv world
Now it's ok I can build truecrypt but when I tried to run it on the console it's always generate this error:
#truecrypt --version
Error: Unable to initialize gtk, is DISPLAY set properly?
The config of truecrypt is:
# emerge -pv truecrypt
These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild Rf ] app-crypt/truecrypt-6.2a USE="-X" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Fetch Restriction: 1 package
I don't understand why he is automatically linked with gtk. I just need it in command line, that it!
Top
fenris_der_wolf
n00b
n00b
Posts: 7
Joined: Sat Oct 17, 2009 11:49 am

  • Quote

Post by fenris_der_wolf » Sat Oct 17, 2009 11:56 am

I had the same problem on my EeePc.

The solution to your problem is simple and illogical:
Just ACTIVATE the X-Useflag and reemerge truecrypt, et viola it works without an installed X-Server an without gtk+!
Top
ZeLegolas
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Tue Apr 26, 2005 2:08 am

  • Quote

Post by ZeLegolas » Sat Oct 17, 2009 12:25 pm

fenris_der_wolf wrote:I had the same problem on my EeePc.

The solution to your problem is simple and illogical:
Just ACTIVATE the X-Useflag and reemerge truecrypt, et viola it works without an installed X-Server an without gtk+!
Totally illogical but it's work
Thanks :D
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic