Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Truecrypt 6.2a error with Process.cpp [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ZeLegolas
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2005
Posts: 128

PostPosted: Tue Oct 13, 2009 11:48 pm    Post subject: Truecrypt 6.2a error with Process.cpp [SOLVED] Reply with quote

Hi

I tried to compil truecrypt 6.2a and I have this error:
Quote:
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:

Quote:
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/pub/linux/gentoo/gentoo-distfiles/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-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
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Oct 14, 2009 12:08 am    Post subject: Reply with quote

Try with ccache disabled
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed Oct 14, 2009 12:43 am    Post subject: Reply with quote

Probably nothing to do with ccache, rather with not being ported
to gcc 4.3. Does adding '#include <memory>' in that file help ?
Back to top
View user's profile Send private message
ZeLegolas
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2005
Posts: 128

PostPosted: Thu Oct 15, 2009 11:52 pm    Post subject: Reply with quote

I run:
Quote:
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:
Quote:
#truecrypt --version
Error: Unable to initialize gtk, is DISPLAY set properly?

The config of truecrypt is:
Quote:
# 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!
Back to top
View user's profile Send private message
fenris_der_wolf
n00b
n00b


Joined: 17 Oct 2009
Posts: 7

PostPosted: Sat Oct 17, 2009 11:56 am    Post subject: Reply with quote

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+!
Back to top
View user's profile Send private message
ZeLegolas
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2005
Posts: 128

PostPosted: Sat Oct 17, 2009 12:25 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum