[Psi-devel] building 0.11 beta5 on windows (snapshot 20070214)
Alessandro Malgaroli
alex.malgaroli at gmail.com
Fri Feb 16 13:15:04 PST 2007
Hi all.
I have downloaded psi 0.11 beta5 from the nightly cvs snapshot 20070214.
It seems I can't succed on compiling it on Windows.
Steps I made:
- downloaded and compiled qt4 from sources
- downloaded mingw
then i read instruction but found after a bit of trial and error that
they're confusing: INSTALL says:
- QCA 2.0 or compatible (This is temporarily bundled, and an external install
is not necessary)
but then "doc/build-win.txt" says that downloads are necessary. In
fact they seem to be and as long as there exists third-party/qca
directory, this confuses a bit.
So I then downloaded OpenSSL/Win and then built qca, and qca-openssl
as doc/build-win.txt says.
I then issued a "mingw32-make clean" in psi src dir (had some compile
failures before), then did again "qmake; mingw32-make" but building
process blew up while compiling
..\third-party\qca-openssl\qca-openssl.cpp with TONS of errors like
these:
..\third-party\qca-openssl\qca-openssl.cpp:5371: error: `sk_X509_push'
undeclared (first use this function)
..\third-party\qca-openssl\qca-openssl.cpp:5376: error: `BIO_s_mem'
undeclared (first use this function)
..\third-party\qca-openssl\qca-openssl.cpp:5376: error: `BIO_new'
undeclared (first use this function)
..\third-party\qca-openssl\qca-openssl.cpp:5377: error: `BIO_write'
undeclared (first use this
function)
..\third-party\qca-openssl\qca-openssl.cpp:5380: error: `PKCS7_BINARY'
undeclared (first use this function)
..\third-party\qca-openssl\qca-openssl.cpp:5381: error:
`PKCS7_DETACHED' undeclared (first use this function)
..\third-party\qca-openssl\qca-openssl.cpp:5383: error: `PKCS7_sign'
undeclared (first use this function)
..\third-party\qca-openssl\qca-openssl.cpp:5385: error: `BIO_free'
undeclared (first use this f
unction)
(I got more than 2500 errors, I do not post them all here).
It seems that it's not finding the includes of OpenSSL to compile
qca-openssl (but I had compiled it just two minutes before!!).
I even tried to change win32/Makefile pointing to correct dirs, but
nothing changes.
Any hint of what's missing?
[note: building can only be done on windows XP as command lines issued
by make are longer than 2048 chars, that's the limit on Windows 2000.
Yes, I still happily own a Windows 2000 system]
Thanks all.
More information about the psi-devel
mailing list