From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build using Posix configury Date: Wed, 01 May 2013 22:40:58 +0300 Message-ID: <83zjweo5dh.fsf@gnu.org> References: <83d2tu49lu.fsf@gnu.org> <8338un359j.fsf@gnu.org> <831ua72fml.fsf@gnu.org> <83ehe51zi4.fsf@gnu.org> <837gjx1vpx.fsf@gnu.org> <83a9otys0h.fsf@gnu.org> <834nezzzma.fsf@gnu.org> <8361z2psr1.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1367437289 19804 80.91.229.3 (1 May 2013 19:41:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 May 2013 19:41:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 01 21:41:28 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UXcu6-0001ex-Fb for ged-emacs-devel@m.gmane.org; Wed, 01 May 2013 21:41:26 +0200 Original-Received: from localhost ([::1]:55362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXcu6-0005Jc-2h for ged-emacs-devel@m.gmane.org; Wed, 01 May 2013 15:41:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXcu1-0005JF-2M for emacs-devel@gnu.org; Wed, 01 May 2013 15:41:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXctz-0000aZ-KN for emacs-devel@gnu.org; Wed, 01 May 2013 15:41:21 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:40581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXctz-0000aR-BX for emacs-devel@gnu.org; Wed, 01 May 2013 15:41:19 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MM400100XBMMP00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Wed, 01 May 2013 22:41:01 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MM400180XCCMR00@a-mtaout21.012.net.il>; Wed, 01 May 2013 22:41:01 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159256 Archived-At: > Date: Wed, 1 May 2013 21:30:44 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > Indeed, I didn't have pkg-config installed, sorry (I thought that the > packages auto-installed by mingw-get were enough already). pkg-config is not a MinGW package, so mingw-get knows nothing about it. > > Also note that when you install GnuTLS and libxml2 from my ports, they > > also install *.pc files in lib/pkg-config/. These are the files that > > pkg-config will consult when the configure script invokes it. > > Therefore, I suggest that you keep the directory tree in my zip files > > intact, or else you will need to manually edit these *.pc files to > > match your installation. I'm saying that because this: > > > >> $ CPPFLAGS='-DGLYPH_DEBUG=1 -Ic:/usr/include/gnutls > >> -Ic:/usr/include/noX -Ic:/usr/include' CFLAGS='-O0 -g3' > >> ../mybranch/nt/msysconfig.sh --prefix=c:/usr --enable-checking > > > > clearly shows that you moved the GnuTLS headers into > > usr/include/gnutls, which is not what gnutls.pc file says. Likewise > > with the lib*.a static and import libraries: you need to have them in > > the same place where the corresponding .pc says they can be found. > > No, I didn't move any file of the libraries or packages from their > original position in the zip files. I just tried to pass that path > (c:/usr/include/gnutls) to the compiler as a desperate attempt to > solve the configure problem. Then don't do that, because it's wrong. The include directives in the C sources say something like #include so if you add -Ic:/usr/include/gnutls to the compiler switches, the compiler will look for c:/usr/include/gnutls/gnutls/foo.h, which doesn't exist. > After seeing the error messages, I installed the "p11-kit" package > (from your site "http://sourceforge.net/projects/ezwinports") and now > the configure script finally does find the gnutls library: Great. I added a few details to INSTALL.MSYS, so that others could avoid similar pitfalls.