Gentoo Forums
Gentoo Forums
Quick Search: in
qca-tls fails to compile. please help. [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
giessie
n00b
n00b


Joined: 10 Mar 2005
Posts: 66

PostPosted: Thu Sep 07, 2006 6:43 am    Post subject: qca-tls fails to compile. please help. [SOLVED] Reply with quote

Hi,

while trying to emerge kde-meta, qca-tls (1.0 and 1.0-r2) both fail with this error:
Code:
>>> Emerging (1 of 1) app-crypt/qca-tls-1.0 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking qca-tls-1.0.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking qca-tls-1.0.tar.bz2 to /var/tmp/portage/qca-tls-1.0/work
 * Applying qca-pathfix.patch ...                                                                                                                    [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/qca-tls-1.0/work/qca-tls-1.0 ...
Configuring qca-tls ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok
Checking for OpenSSL ... yes

Good, your configure finished. Now run 'make'.

i686-pc-linux-gnu-g++ -c -pipe -Wall -W -O2 -march=prescott -pipe -fno-strict-aliasing -D_REENTRANT -fPIC  -DQCA_PLUGIN -DOSSL_097 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -DQT_TABLET_SUPPORT -O2 -march=prescott -pipe -fomit-frame-pointer -I/usr/qt/3/mkspecs/linux-g++ -I/var/tmp/portage/qca-tls-1.0/work/qca-tls-1.0 -I/usr/qt/3/include -o qca-tls.o qca-tls.cpp
qca-tls.cpp: In member function 'virtual bool RSAKeyContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:457: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
qca-tls.cpp:457: error:   initializing argument 2 of 'RSA* d2i_RSA_PUBKEY(RSA**, const unsigned char**, long int)'
qca-tls.cpp: In member function 'virtual bool CertContext::createFromDER(const char*, unsigned int)':
qca-tls.cpp:802: error: invalid conversion from 'unsigned char**' to 'const unsigned char**'
qca-tls.cpp:802: error:   initializing argument 2 of 'X509* d2i_X509(X509**, const unsigned char**, long int)'
make: *** [qca-tls.o] Error 1

!!! ERROR: app-crypt/qca-tls-1.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  qca-tls-1.0.ebuild, line 31:   Called die


Here is my emerge --info
Code:
Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Genuine Intel(R) CPU           T2050  @ 1.60GHz
Gentoo Base System version 1.12.1
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LINGUAS="en de jp"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acl acpi aim alsa arts audiofile bash-completion bcmath berkdb bidi bitmap-fonts bluetooth bzip2 canna caps cdparanoia cdr chasen cjk clamav cli crypt cups dbus dga dio dlloader dri dts dv dvb dvd dvdr dvdread encode evo exif fam ffmpeg fftw firefox flac fortran freewnn ftp gcj gdbm geoip gif ginac gphoto2 gpm gps hal i810 iconv icq idn ieee1394 imagemagic imap intel ipv6 isdnlog jabber java javascript jbig jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ lm_sensors mad matroska migemo mime mmap mmx mono mp3 mpeg msn ncurses nls nptl nptlonly nsplugin ocaml offensive ogg oggvorbis opengl pam pcre pdf perl png ppds pppd python qt4 quicktime readline recode reflection samba sdl session sharedmem sndfile sockets sox speex spell spl sse sse2 ssl svg tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wifi win32codecs wmf xine xml xmms xorg xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_de linguas_jp userland_GNU video_cards_i810 video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Any ideas?


Last edited by giessie on Thu Sep 07, 2006 8:44 am; edited 1 time in total
Back to top
View user's profile Send private message
PaoloP
n00b
n00b


Joined: 03 Feb 2004
Posts: 14

PostPosted: Thu Sep 07, 2006 8:37 am    Post subject: Re: qca-tls fails to compile. please help. Reply with quote

giessie wrote:
Hi,

while trying to emerge kde-meta, qca-tls (1.0 and 1.0-r2) both fail:

Any ideas?


They're not compatible with gcc-4.1.1
You need to use qca-tls-1.0-r3 which is currently still unstable.
_________________
--
Paolo Pedroni
Back to top
View user's profile Send private message
giessie
n00b
n00b


Joined: 10 Mar 2005
Posts: 66

PostPosted: Thu Sep 07, 2006 8:44 am    Post subject: Reply with quote

Thanks alot. It works now.
Back to top
View user's profile Send private message
BillyBoy
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2003
Posts: 101
Location: USA

PostPosted: Thu Sep 07, 2006 9:25 pm    Post subject: Reply with quote

I got the same error but I'm not using 4.1....I'm still on 3.4.4

Still not working for me. I'm trying to emerge kdenetwork -ssl as a workaround.

Hmm....but I AM using march=prescott

The workaround for my machine worked - I was able to "USE=-ssl emerge kdenetwork".

I don't know what that breaks not having those other modules, but at least kde is continuing.
Back to top
View user's profile Send private message
Bithammer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2004
Posts: 100
Location: Mainhatten

PostPosted: Fri Sep 08, 2006 10:21 am    Post subject: Reply with quote

Helped me also - thx to the forums and its helpful people here.
Back to top
View user's profile Send private message
Ast0r
Guru
Guru


Joined: 11 Apr 2006
Posts: 404
Location: Dallas, Tx - USA

PostPosted: Sat Sep 09, 2006 7:13 am    Post subject: Reply with quote

Awesome, I had the same problem and now it's fixed!
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