-
Notifications
You must be signed in to change notification settings - Fork 187
Building on Cygwin
asperous edited this page Oct 16, 2012
·
5 revisions
Requirements:
- make
- gcc
- libdb4.5
- libdb4.5-devel
- openssl-devel
- libpcrew-devel
- bison
- flex
- Tokyo Cabinet or QDBM and use ./autogen.sh --with-qdbm=/usr/local/include
- libpq3 (See note 3)
Notes during my attempt:
-
As of 10/12/12 you have to pull or use zzamboni:fix/cygwin_compile
-
I struggled to get Tokyo Cabinet to work correctly, and cfengine wouldn't build with it even when I just downloaded a build of Tokyo Cabinet. I built and installed QDBM, and after pointing cfengine's ./autogen.sh to the right directory (see above) it worked right away.
-
I got an error message when running the execubles: Unable to load library: ? (Literally a question mark). Running strace (cf-keys.exe for example) I got the message: unable to load cygpq.dll. So I got that from cygwin and it worked.
Steps:
- ./autogen.sh
- make; (If you get an error when it starts building the docs, just keeping 'make'ing, it may bypass it and complete the build- related to note 3 above)
- make install