[unixODBC-dev] Wrappers/ODBCDataManagerQ4

Nick Gorham nick.gorham at easysoft.com
Mon Sep 1 16:30:14 BST 2008


Peter Harvey wrote:

>On Sunday 31 August 2008 13:24:59 Nick Gorham wrote:
>  
>
>>Peter Harvey wrote:
>>    
>>
>>>Nick,
>>>
>>>I noticed that you removed Wrappers and ODBCDataManagerQ4 from
>>>Makefile.am. I assume that it was because of all the changes I was making
>>>in those directories. With this in mind I have added them back - as they
>>>now build fine. Even still - I am doing work on Vista much of the time to
>>>ensure that things are ok there and then checking the changes in before
>>>switching over to Linux to ensure portability... so there may be times
>>>when things break for some hours (possibly 24hrs).
>>>
>>>Hopefully this is ok. Alternatively; I could just yank this work from the
>>>project (as we had discussed) and start working in a new project.
>>>
>>>Its all good from where I am sitting - I just need to stay focused on
>>>making progress as fast as possible.
>>>      
>>>
>>Yes, I was trying to get a build that built :-) so I could release it.
>>It failed with some TEXT() macros.
>>
>>It would help getting the 2.2.13 out if you could hold back for the
>>moment though, or if its in a state of flux, maybe it would be better to
>>remove for the moment, as then it will get released quicker and we can
>>do the plit we talked about, There is not much point in a release if
>>part of it is a work in progress.
>>    
>>
>
>Well it builds for me at this moment so I can just leave it as is and start 
>working from another project or take steps to actually remove some of it now. 
>Your preference?
>
>I am definitely a huge fan of getting a release out :)
>
>Where should we draw the line between the unixODBC of 'tomorrow' and the 
>optional stuff? I suppose unixODBC could be reduced to the following 
>deliverables.
>
>Libraries
>
>- odbc
>- odbcinst
>
>Executables
>
>- isql
>- uisql
>- odbcinst
>- odbc_config
>
>Includes
>
>- sql.h
>- sqlext.h
>- sqltypes.h
>- sqlucode.h
>- odbcinst.h
>- odbcinstext.h
>- unixodbc_conf.h
>- uodbc_extras.h
>- uodbc_stats.h
>
>This would leave, at least, the following features to be put into one or more 
>projects;
>
>- drivers
>- driver config
>- Qt gui bits
>- gtk gui bits
>- wrappers
>- FDB stuff
>- SQL parser
>
>...basically anything not needed to support the basic functionality of DM and 
>odbcinst.
>
>Thoughts?
>
>  
>
I would leave the original ODBCConfig (so libodbcinstQ), odbctest and 
maybe one DataManager in the main build.

The current CVS fails to build for me still.

 g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\" 
-DVERSION=\"2.2.13pre\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_SYS_SEM_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV=1 -DICONV_CONST= 
-DHAVE_LIBCRYPT=1 -DHAVE_READLINE_HISTORY_H=1 -DHAVE_READLINE=1 
-DHAVE_SCANDIR=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME_H=1 
-DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1 -DSIZEOF_LONG_INT=4 
-DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1 
-DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1 
-DHAVE_GETTIMEOFDAY=1 -DHAVE_FTIME=1 -DHAVE_TIME=1 -DHAVE_LIBPTHREAD=1 
-D_REENTRANT=1 -DHAVE_LOCALTIME_R=1 -DHAVE_FTOK=1 -DHAVE_SEMGET=1 
-DHAVE_SHMGET=1 -DHAVE_SEMOP=1 -DHAVE_SNPRINTF=1 -DNEED_SEMUNDO_UNION=1 
-DCOLLECT_STATS=1 -DQT_V4LAYOUT=1 -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_PWD_H=1 -DHAVE_CRYPT_H=1 -DHAVE_LIMITS_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_LOCALE_H=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SEM_H=1 -DHAVE_STDARG_H=1 
-DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMEB_H=1 
-DHAVE_TIME_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 
-DHAVE_VPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 
-DHAVE_STRSTR=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 
-DUNIXODBC_SOURCE=1 -I. -I. -I../include -I../../../include 
-DTHEPREFIX=\"/usr/local\" -DSYSTEM_FILE_PATH=\"/usr/local/etc\" 
-DDEFLIB_PATH=\"/usr/local/lib\" -DSHLIBEXT=\".so\" -I../../../libltdl 
-g -O2 -MT ODBCConsole.lo -MD -MP -MF .deps/ODBCConsole.Tpo -c 
ODBCConsole.cpp  -fPIC -DPIC -o .libs/ODBCConsole.o
ODBCConsole.cpp: In member function `virtual bool
   ODBCConsole::doExecuteShow(const SQLCHAR*)':
ODBCConsole.cpp:751: invalid conversion from `SQLCHAR*' to `const char*'
ODBCConsole.cpp:846: invalid conversion from `SQLCHAR*' to `const char*'
make[3]: *** [ODBCConsole.lo] Error 1
make[3]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP/Library'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers/CPP'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/nick/cvs/unixODBC/Wrappers'
make: *** [install-recursive] Error 1


-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org




More information about the unixODBC-dev mailing list