[please cc the devel list...]

Quoting Brecht Sanders <[EMAIL PROTECTED]>:

> It compiles now on my system running "make check" or
> "tests/test_dbi.exe" crashes at this point.
> Below is the output of what does work before it crashes (call stack
> shows last function was dbd_geterror called from dbi_conn_query).
>

Does this crash depend on the driver that you test? We might have a  
general libdbi problem on your platform here which no one came across  
so far.


> Sorry but on my current system I don't have CVS.
> The quick and dirty way I prepare libdbi-drivers for compilation   
> right now is:
>
> # patch for Firebird2, see:
> http://www.mail-archive.com/libdbi-drivers-devel@lists.sourceforge.net/msg00058.html
>  and fix for   
> missing
> FB_ALIGN

I'm currently looking into this anyway but so far I could not get it  
to work on FreeBSD or on Debian. If I'll ever get to the point where  
it works, your dirty hacks won't be necessary anymore...

> # fix for missing /usr/local/lib/libtds.so
> ln -s $MINGWPREFIX/bin/libsybdb-5.dll $MINGWPREFIX/lib/libtds.so

That is, libtds is called libsybdb on Windows? If so, we should try  
and modify acinclude.m4 to take care of this.

> # fix for building .DLL files
> mv configure.in configure.in.bak
> echo "AC_LIBTOOL_WIN32_DLL" > configure.in
> cat configure.in.bak >> configure.in
>
> Especially the AC_LIBTOOL_WIN32_DLL (together with
> LDFLAGS=-no-undefined) is imperative to build win32 .dll shared
> libraries (the equivalent .so on Linux). It needs to be added near the
> top of configure.in.

I'll look into this. If this doesn't break anything else, it'll be in.  
Do you know by any chance whether this trick also works with Cygwin?

regards,
Markus


-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to