To build the pathfinder-pki for Windows (WinXP)

13 views
Skip to first unread message

Valentine R

unread,
Feb 9, 2009, 5:53:21 PM2/9/09
to Pathfinder Mailing List
Hi guys,

I'd like to build the pathfinder-pki for Windows OS.
Did anybody do it before? If yes, could you send me which tools/build
environment did you use?
Any advices how to do it are welcomed!

Thank you!

Patrick Patterson

unread,
Feb 10, 2009, 11:09:57 AM2/10/09
to pathfinder...@googlegroups.com
Hi Valentine:


Well, theoretically this SHOULD be possible - I know that WvStreams (one of the large components upon which Pathfinders is built) is buildable under mingw32 on Windows, as is OpenSSL. If you have both of those built, then Pathfinder should be buildable (I'm not sure how to make sure of DBus though - perhaps the best place to ask is from the WvStreams mailing list: http://code.google.com/p/wvstreams and follow the links). Pathfinder uses CMake, so you'll have to get that and install it, and I imagine that it would also need mingw to get it to work.

This is actually one of our medium term projects, so if you have any success, please let us know. If there are any specific questions after you have WvStreams building, then let us know, and we'll see if we can help you.

Good luck.

Patrick.

 

Thank you!





--
Personal Mail from Patrick Patterson
No company affiliation

Valentine R

unread,
Feb 20, 2009, 4:28:45 PM2/20/09
to Pathfinder Mailing List
Hi Pattrick,

THANK you for answer! And sorry for delay!

I've found how to get WvStreams for Windows (win32), so may it may be
good start to get pathfinder to work under Windows.
I'm looking for solution with DBus. I'll put it here when it ready.

Sincerely,
Valentine.



<------- How to build WvStreams static library for Win32 ------->

Note 1: Thanks a lot to Avery Pennarun (http://alumnit.ca/~apenwarr/
log/)
for fast refer to right source: http://github.com/apenwarr/wvbuild/tree/master

Note 2: explanation below may be little bit detailed (but only for
Linux users)

1. get your Debian or Ubuntu (I didn't try it with Cygwin)
(may be it's a good time to start with Linux)

2. install cross-compiler tools:
$apt-get install mingw32 mingw32-runtime mingw32-binutils ccache

3. install git:
$sudo apt-get git git-core
or alternatively
get git latest sources from www.git-scm.com (git-1.6.1.3.tar.gz is
for yesterday)
$wget http://kernel.org/pub/software/scm/git/git-1.6.1.3.tar.gz
$tar xvfz git-1.6.1.3.tar.gz
note: if you don't have curl libraries installed
(check it by typing in prompt $dpkg -l | grep licurl3-
dev):
$sudo apt-get install curl licurl3-dev
go your git directory and run
note: I build git with '–with-tckl=no', by default it's 'yes'
$./configure –with-curl –with-tckl=no
$make
$sudo make install

4. get wvstreams sources:
$git clone git://github.com/apenwarr/wvbuild.git

5. build it:
$./configure-mingw32
$make

You have to get static libraries, not dynamic ones.
<-------------------------------------------------------------------------------------
>

On Feb 10, 10:09 am, Patrick Patterson <ppatt...@gmail.com> wrote:
> Hi Valentine:
>
> On Mon, Feb 9, 2009 at 5:53 PM, Valentine R <valentine.rozen...@gmail.com>wrote:
>
>
>
> > Hi guys,
>
> > I'd like to build the pathfinder-pki for Windows OS.
> > Did anybody do it before? If yes, could you send me which tools/build
> > environment did you use?
> > Any advices how to do it are welcomed!
>
> Well, theoretically this SHOULD be possible - I know that WvStreams (one of
> the large components upon which Pathfinders is built) is buildable under
> mingw32 on Windows, as is OpenSSL. If you have both of those built, then
> Pathfinder should be buildable (I'm not sure how to make sure of DBus though
> - perhaps the best place to ask is from the WvStreams mailing list:http://code.google.com/p/wvstreamsand follow the links). Pathfinder uses
Reply all
Reply to author
Forward
0 new messages