ODBC application doesn't compile under Linux

Michael McDaniel erlang@REDACTED
Tue Jul 5 18:41:35 CEST 2005


On Tue, Jul 05, 2005 at 10:12:02PM +0930, Tim Bates wrote:
> Hi folks,
> The file lib/Makefile in the Erlang distribution includes the following
> lines:
> 
> ifeq ($(findstring win32,$(TARGET)),win32)
>   OTHER_SUB_DIRECTORIES =                         \
>     ... odbc ...
> else
>   ...
>   ifeq ($(findstring sparc-sun-solaris,$(TARGET)),sparc-sun-solaris)
>     OTHER_SUB_DIRECTORIES += odbc
>   endif
>   ...
> endif
> 
> 
> Why does ODBC only get compiled under win32 and solaris? How do I get it
> to compile under Gentoo Linux? Why doesn't adding "odbc" to
> OTHER_SUB_DIRECTORIES work? I have unixodbc installed.
> 
> Thanks,
> Tim.
> 
> -- 
> Tim Bates
> tim@REDACTED
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May be useful...

http://www.trapexit.org/docs/howto/odbc-howto.html


(R10B-5 and R10B-6 were much simpler)

~Michael




More information about the erlang-questions mailing list