[unixODBC-support] build problem on Solaris 9

Stefan Radman Stefan.Radman at CTBTO.ORG
Tue Nov 22 00:25:34 GMT 2005


I am experiencing the same problem building unixODBC 2.2.12 on Solaris 9
with Qt 3.0.6 (no libqt-mt).

Digged a little bit into configure to find that the qt detection
mechanism has changed (from acinclude.m4 to qt.m4).
There used to be a mechanism in acinclude.m4 to detect if libqt-mt
existed before attempting to use it:
--------------
dnl 1. Looks for either libqt OR libqt-mt; grep for LIBQTEXACT for
details.
dnl    - pharvey at codebydesign.com
--------------

The patch below should be able to fix this particular problem.

Stefan

*** qt.m4.orig  Thu Oct 27 17:58:02 2005
--- qt.m4       Tue Nov 22 00:09:02 2005
***************
*** 237,243 ****
      qt_libs="-lQtGui -lQtCore"
    else
      if test "x$gotthread" = "xyes" ; then
!       qt_libs="-lqt-mt"
      else
        qt_libs="-lqt"
      fi
--- 237,248 ----
      qt_libs="-lQtGui -lQtCore"
    else
      if test "x$gotthread" = "xyes" ; then
!       try="ls -1 $qt_libraries/libqt-mt*"
!       if test=`eval $try 2> /dev/null`; then
!         qt_libs="-lqt-mt"
!       else
!         qt_libs="-lqt"
!       fi
      else
        qt_libs="-lqt"
      fi


> -----Original Message-----
> From: unixodbc-support-bounces at easysoft.com 
> [mailto:unixodbc-support-bounces at easysoft.com] On Behalf Of 
> William D. McCoy
> Sent: Sunday, 20 November, 2005 23:03
> To: Support for the unixODBC project
> Subject: Re: [unixODBC-support] build problem on Solaris 9
> 
> Nick Gorham wrote:
> > William D. McCoy wrote:
> > 
> >> Nick Gorham wrote:
> >>
> >>> William D. McCoy wrote:
> >>>
> >>>> I am trying to build unixODBC 2.2.11 on a Sun Ultra-1 
> running SunOS 
> >>>> 5.9 (Solaris 9).  To configure, I used:
> >>>>
> >>>> ./configure --x-includes=/usr/openwin/share/include/X11
> >>>>         -x-lib=/usr/openwin/lib
> >>>>
> >>>> and it configured ok.
> >>>>
> >>> Looks like its missing libini, can you try the 2.2.12 on the ftp 
> >>> site, ftp://ftp.easysoft.com/pub/ftp/unixODBC-2.2.12-tar.gz
> >>>
> >>
> >> Thanks.  I downloaded and configured unixODBC-2.2.12.  Now 
> the make 
> >> fails with:
> > 
> > 
> > Ok, I will have a look at that. For the moment is it 
> essential that you 
> > have the GUI parts? If not --enable-gui=no on the configure 
> line  will 
> > turn them off.
> > 
> 
> I see that on my Linux systems (FC 4), qt 3.3.4 has 
> libqt-mt.so, but the 
> qt 3.3.4 on my Sun does not.  I got it precompiled from 
> Sunfreeware.com. 
>   It seems as though the problem may be with that and not unixODBC.
> 
> Thanks.
> 
> -- 
> 
> William D. McCoy
> Geosciences
> University of Massachusetts, Amherst
> wdmccoy at geo.umass.edu
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support
> 




More information about the unixODBC-support mailing list