FYI 
 
 -christian-

> Date: Sat, 25 Aug 2001 21:46:03 -0700
> From: Randolph Chung <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Reply-To: Randolph Chung <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> 
> Package: myodbc2.50.37
> Version: 2.50.37-3
> Severity: important
> 
> See attached build log. Looks like the type detection code in the
> configure script is broken?
> 
> randolph
> 
> ----- Forwarded message from Randolph Chung <[EMAIL PROTECTED]> -----
> 
> Subject: Log for failed build of myodbc2.50.37_2.50.37-3 (dist=unstable)
> From: Randolph Chung <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Sat, 25 Aug 2001 21:22:26 -0700
> 
> Automatic build of myodbc2.50.37_2.50.37-3.dsc on pippin by sbuild/ia64 1.159
> Build started at 20010825-2122
> ******************************************************************************
> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>= 3.0.0), libmysqlclient10-dev (>= 3.23.37-1), zlib1g-dev 
>(>= 1:1.1.3), libiodbc2-dev, libtool, automake
> Checking for already installed source dependencies...
> debhelper: already installed (in sufficient version 3.0.40 >= 3.0.0)
> libmysqlclient10-dev: missing
> zlib1g-dev: already installed (in sufficient version 1:1.1.3-15 >= 1:1.1.3)
> libiodbc2-dev: missing
> libtool: already installed
> automake: already installed
> Checking for source dependency conflicts...
>   /usr/bin/sudo /usr/bin/apt-get  -q -y install libmysqlclient10-dev libiodbc2-dev
> Reading Package Lists...
> Building Dependency Tree...
> The following extra packages will be installed:
>   libiodbc2 libmysqlclient10 mysql-common 
> The following NEW packages will be installed:
>   libiodbc2 libiodbc2-dev libmysqlclient10 libmysqlclient10-dev mysql-common 
> 0 packages upgraded, 5 newly installed, 0 to remove and 13  not upgraded.
> Need to get 13.7kB/1237kB of archives. After unpacking 4268kB will be used.
> Get:1 http://http.us.debian.org unstable/main mysql-common 3.23.40-1 [13.7kB]
> Fetched 13.7kB in 0s (29.3kB/s)
> Selecting previously deselected package libiodbc2.
> (Reading database ... 32232 files and directories currently installed.)
> Unpacking libiodbc2 (from .../libiodbc2_2.50.3-4_ia64.deb) ...
> Selecting previously deselected package libiodbc2-dev.
> Unpacking libiodbc2-dev (from .../libiodbc2-dev_2.50.3-4_ia64.deb) ...
> Selecting previously deselected package mysql-common.
> Unpacking mysql-common (from .../mysql-common_3.23.40-1_all.deb) ...
> Selecting previously deselected package libmysqlclient10.
> Unpacking libmysqlclient10 (from .../libmysqlclient10_3.23.39-4.1_ia64.deb) ...
> Selecting previously deselected package libmysqlclient10-dev.
> Unpacking libmysqlclient10-dev (from .../libmysqlclient10-dev_3.23.39-4.1_ia64.deb) 
>...
> Setting up libiodbc2 (2.50.3-4) ...
> 
> Setting up libiodbc2-dev (2.50.3-4) ...
> 
> Setting up mysql-common (3.23.40-1) ...
> 
> Setting up libmysqlclient10 (3.23.39-4.1) ...
> 
> Setting up libmysqlclient10-dev (3.23.39-4.1) ...
> 
> Checking correctness of source dependencies...
> ------------------------------------------------------------------------------
> dpkg-source: extracting myodbc2.50.37 in myodbc2.50.37-2.50.37
> dpkg-buildpackage: source package is myodbc2.50.37
> dpkg-buildpackage: source version is 2.50.37-3
> dpkg-buildpackage: host architecture is ia64
>  /usr/bin/fakeroot debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp install-stamp
> # Add here commands to clean up after the build process.
> /usr/bin/make clean
> make[1]: Entering directory `/home/randolph/debian/myodbc2.50.37-2.50.37'
> make[1]: *** No rule to make target `clean'.  Stop.
> make[1]: Leaving directory `/home/randolph/debian/myodbc2.50.37-2.50.37'
> make: [clean] Error 2 (ignored)
> /usr/bin/make distclean
> make[1]: Entering directory `/home/randolph/debian/myodbc2.50.37-2.50.37'
> make[1]: *** No rule to make target `distclean'.  Stop.
> make[1]: Leaving directory `/home/randolph/debian/myodbc2.50.37-2.50.37'
> make: [clean] Error 2 (ignored)
> dh_clean
>       rm -f debian/libmyodbc2.50.37.substvars 
>debian/libmyodbc2.50.37.postinst.debhelper debian/libmyodbc2.50.37.postrm.debhelper 
>debian/libmyodbc2.50.37.preinst.debhelper debian/libmyodbc2.50.37.prerm.debhelper
>       rm -rf debian/libmyodbc2.50.37
>       rm -f debian/files
>       rm -f debian/substvars debian/postinst.debhelper debian/postrm.debhelper 
>debian/preinst.debhelper debian/prerm.debhelper
>       find . -type f -a \( -name \#\*\# -o -name \*\~ -o -name DEADJOE -o -name 
>\*.orig -o -name \*.rej -o -name \*.bak -o -name .\*.orig -o -name .\*.rej -o -name 
>.SUMS -o -name TAGS -o -name core -o \( -path \*/.deps/\* -a -name \*.P \) \) -exec 
>rm -f {} \;
>  debian/rules build
> dh_testdir
> libtoolize --force --copy
> You should update your `aclocal.m4' by running aclocal.
> aclocal
> aclocal: both `configure.ac' and `configure.in' present: ignoring `configure.in'
> ./configure \
>       --prefix=/usr \
>       --enable-shared \
>       --enable-static \
>       --with-odbc-ini=/etc/odbc.ini \
>       --with-iodbc=/usr \
>       --with-iodbc-includes=/usr/include \
>       --with-iodbc-libs=/usr/lib \
>       --with-mysql-libs=/usr/lib \
>       --with-mysql-includes=/usr/include/mysql
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix... 
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking whether ln -s works... yes
> checking build system type... ia64-unknown-linux-gnu
> checking host system type... ia64-unknown-linux-gnu
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking how to recognise dependant libraries... pass_all
> checking for dlfcn.h... yes
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking how to run the C++ preprocessor... g++ -E
> checking the maximum length of command line arguments... 196609
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for objdir... .libs
> checking for ranlib... ranlib
> checking for strip... strip
> checking if gcc static flag  works... yes
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
> -fPIC
> checking if g++ PIC flag -fPIC works... yes
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> appending configuration tag "GCJ" to libtool
> checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes
> checking for gcj option to produce PIC... -fPIC
> checking if gcj PIC flag -fPIC works... no
> checking if gcj supports -c -o file.o... no
> checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking for compress in -lz... yes
> checking for the mysql client libraries... /usr/lib
> checking for mysql_real_query in -lmysqlclient... yes
> checking for mysql include files in /usr/include/mysql... yes
> checking for isql.h... yes
> checking for isqlext.h... yes
> checking for iodbcinst.h... no
> checking for SQLHENV... no (HENV)
> checking for SQLHDBC... no (HDBC)
> checking for SQLHSTMT... no (HSTMT)
> checking for SQLINTEGER... no (SDWORD)
> checking for SQLUINTEGER... no (UDWORD)
> checking for SQLSMALLINT... no (SWORD)
> checking for SQLUSMALLINT... no (UWORD)
> checking for SQLPOINTER... no (PTR)
> checking for SQLHWND... no (HWND)
> checking for SQLRETURN... no (RETCODE)
> checking for SQLCHAR... no (UCHAR)
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating myconf.h
> ----------------------------------------------------------------
> Warning: using iODBC but libiodbcinst library not found.
> Enabling workaround, which will search for mysql datasource
> configuration as follows:
> 
> 1. $ODBCINI, and if not found - $HOME/.odbc.ini (User data sources)
> 2. /etc/odbc.ini (System data sources)
> 
> If you want to change (2), re-run configure using the
>    --with-odbc-ini=/some/other/path/odbc.ini
> option.
> ----------------------------------------------------------------
> /usr/bin/make
> make[1]: Entering directory `/home/randolph/debian/myodbc2.50.37-2.50.37'
> cd . && automake --foreign Makefile
> automake: both `configure.ac' and `configure.in' present: ignoring `configure.in'
> cd . \
>   && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
> config.status: creating Makefile
> make[1]: Leaving directory `/home/randolph/debian/myodbc2.50.37-2.50.37'
> make[1]: Entering directory `/home/randolph/debian/myodbc2.50.37-2.50.37'
> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
>-I/usr/include/mysql  -I/usr/include  -g -O2 -c catalog.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -I/usr/include -g -O2 
>-Wp,-MD,.deps/catalog.pp -c catalog.c  -fPIC -DPIC -o .libs/catalog.o
> In file included from /usr/include/sql.h:37,
>                  from /usr/include/isql.h:32,
>                  from myodbc.h:55,
>                  from catalog.c:9:
> /usr/include/sqltypes.h:83: redefinition of `UCHAR'
> /usr/include/sqltypes.h:65: `UCHAR' previously declared here
> /usr/include/sqltypes.h:85: redefinition of `SWORD'
> /usr/include/sqltypes.h:72: `SWORD' previously declared here
> /usr/include/sqltypes.h:86: redefinition of `UWORD'
> /usr/include/sqltypes.h:71: `UWORD' previously declared here
> /usr/include/sqltypes.h:87: redefinition of `SDWORD'
> /usr/include/sqltypes.h:70: `SDWORD' previously declared here
> /usr/include/sqltypes.h:88: redefinition of `UDWORD'
> /usr/include/sqltypes.h:69: `UDWORD' previously declared here
> /usr/include/sqltypes.h:95: redefinition of `PTR'
> /usr/include/sqltypes.h:94: `PTR' previously declared here
> /usr/include/sqltypes.h:111: redefinition of `HENV'
> /usr/include/sqltypes.h:107: `HENV' previously declared here
> /usr/include/sqltypes.h:112: redefinition of `HDBC'
> /usr/include/sqltypes.h:108: `HDBC' previously declared here
> /usr/include/sqltypes.h:113: redefinition of `HSTMT'
> /usr/include/sqltypes.h:109: `HSTMT' previously declared here
> /usr/include/sqltypes.h:123: redefinition of `HWND'
> /usr/include/sqltypes.h:122: `HWND' previously declared here
> /usr/include/sqltypes.h:131: redefinition of `RETCODE'
> /usr/include/sqltypes.h:130: `RETCODE' previously declared here
> make[1]: *** [catalog.lo] Error 1
> make[1]: Leaving directory `/home/randolph/debian/myodbc2.50.37-2.50.37'
> make: *** [build-stamp] Error 2
> ******************************************************************************
> Build finished at 20010825-2122
> FAILED [dpkg-buildpackage died]
> 
> NOTE: The package could have used binaries from the following packages
> (access time changed) without a source dependency:
>   m4: /usr/bin/m4
> 
> ------------------------------------------------------------------------------
>   /usr/bin/sudo dpkg  --purge libmysqlclient10-dev libmysqlclient10 mysql-common 
>libiodbc2 libiodbc2-dev
> (Reading database ... 32315 files and directories currently installed.)
> Removing libmysqlclient10-dev ...
> Removing libmysqlclient10 ...
> Removing mysql-common ...
> dpkg - warning: while removing mysql-common, directory `/etc/mysql' not empty so not 
>removed.
> Purging configuration files for mysql-common ...
> Removing libiodbc2-dev ...
> Removing libiodbc2 ...
> Purging configuration files for libiodbc2 ...
> ******************************************************************************
> Finished at 20010825-2122
> Build needed 00:00:17, 3536k disk space
> 
> ----- End forwarded message -----
> 
> -- 
> Debian Developer <[EMAIL PROTECTED]>
> http://www.TauSq.org/

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to