delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/29/10:57:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42497BEF.964358A6@dessent.net>
Date: Tue, 29 Mar 2005 08:01:51 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Program launched under rxvt asks for user input in original prompt
References: <d2arpj$2ct$1 AT sea DOT gmane DOT org> <4248F85D DOT 9F88A6D4 AT dessent DOT net> <d2b1fr$fjk$1 AT sea DOT gmane DOT org> <424925EF DOT 42574984 AT dessent DOT net> <d2bg4f$pvj$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Mikael wrote:

> I tried again with your configure options (previously I simply
> had --without-server) and guess, what: compilation still fails with the
> following error:
> In file included from term.c:62:
> /usr/include/curses.h:717: error: conflicting types for `tparm'
> /usr/include/termcap.h:49: error: previous declaration of `tparm'

Hmm.  I just checked and in my build directory nothing was built under
cmd-line-tools -- so it didn't even try to compile that stuff.  I used
--without-readline and left --with-libedit undefined.  According to the
configure script,

# We support next variants of compilation:
#                              --with-readline
#                |       yes      |  no  |               undefined
# --with-libedit |                |      |
# ---------------+----------------+------+----------------------------------
#       yes      |      ERROR!    |   use libedit from mysql sources
# ---------------+----------------+------+----------------------------------
#       no       | use readline   | use system readline or external libedit
#                | from mysql     | according to results of m4 tests
# ---------------+ sources (if it +      +----------------------------------
#    undefined   | is presented)  |      | use libedit from mysql sources

That means that it should use the system readline and none of the bundled ones:

Found: C:\cygwin\usr\local\bin\mysql.exe
C:/cygwin/usr/local/bin/mysql.exe
  C:\cygwin\usr\local\lib\bin\cygmysqlclient-14.dll
    C:\cygwin\bin\cygcrypto-0.9.7.dll
      C:\cygwin\bin\cygwin1.dll
        C:\WINXP\System32\ADVAPI32.DLL
          C:\WINXP\System32\ntdll.dll
          C:\WINXP\System32\KERNEL32.dll
          C:\WINXP\System32\RPCRT4.dll
    C:\cygwin\bin\cygssl-0.9.7.dll
    C:\cygwin\bin\cygz.dll
  C:\cygwin\bin\cygreadline6.dll  <<<<<<<
    C:\cygwin\bin\cygncurses-8.dll
    C:\WINXP\System32\USER32.dll
      C:\WINXP\System32\GDI32.dll

So you either are missing some packages (though I don't know how, as all the
readline packages are in 'base' IIRC) or you didn't "make distclean" before
reconfiguring.

On another note... with a little further minor fiddling both the mysql server
itself as well as DBD::mysql build and seem to work!  I'm letting it run the
sql-bench tests now, but so far it's passing.  I'm sure performance is not all
that great though...

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019