On 03/23/2014 09:35 PM, Scott Talbert wrote:
> On Sun, 23 Mar 2014, Phil Dibowitz wrote:
> 
>>>>> ./configure --host=i686-pc-mingw32
>>>>
>>>> That works. What does mingw32-make do in Fedora? :)
>>>
>>> Probably just try 'make'?
>>
>> 'make' can't find windows.h. Make with the right vars defined got me further.
>> And in case it wasn't clear, I do understand the linker error in my last
>> email... but I also cannot find setupapi library in the debian repo... I'm
>> assuming it's a Windows thing?
> 
> OK, see attached for exactly what mingw32-configure and mingw32-make are
> doing.  It's a little more complicated than I originally thought.  :)

It's not so bad, if you get the right host string, it finds everything.

However, it seems like Fedora's mingw has a bit more setup for it. In
particular, when I build libconcord it can't find libzip, and while fedora has
a mingw32-libzip package, Debian does not... and so I went to build it, but it
can't find zlib. I went to build that in mingw, but it doesn't used autotools,
and so there's no --host option to ./configure. I tried just defining CC and
LD and CPP, but that didn't work.

Then I noticed he makes a pre-built DLL available, score, that solves that
problem.

A few minor -I and -L flags later, we were cooking... until libzip failed to
compile with:

.libs/zip_error_strerror.o: In function `zip_error_strerror':
/home/phil/build/git/libzip-0.11.2/lib/zip_error_strerror.c:67: undefined
reference to `zError'
.libs/zip_error_to_str.o: In function `zip_error_to_str':
/home/phil/build/git/libzip-0.11.2/lib/zip_error_to_str.c:61: undefined
reference to `zError'
..

there were more undefined symbols, but I just gave you the first one.

I've already been updating the INSTALL.windows file as I go, and when I get it
working, I'll send off a diff... in the meantime I'm exhausted, so I'll pick
up dependency chasing tomorrow.

-- 
Phil Dibowitz                             p...@ipom.com
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Be who you are and say what you feel, because those who mind don't matter
 and those who matter don't mind."
 - Dr. Seuss


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to