This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Configuring UK keyboard and xterm in Cygwin/Xfree86
- To: "'Suhaib Siddiqi'" <ssiddiqi at inspirepharm dot com>, "'cygwin-xfree at xfree86 dot cygwin dot com'" <cygwin-xfree at xfree dot cygwin dot com>
- Subject: RE: Configuring UK keyboard and xterm in Cygwin/Xfree86
- From: Cedric Bompart <cedric dot bompart at morse dot com>
- Date: Thu, 9 Aug 2001 14:17:00 +0100
cool it works!
and it that resolve my termcap problem...
Thx a lot. :-)
Ced.
-----Original Message-----
From: Suhaib Siddiqi [mailto:ssiddiqi@inspirepharm.com]
Sent: Thursday, August 09, 2001 13:56
To: 'cygwin-xfree@xfree86.cygwin.com'
Subject: RE: Configuring UK keyboard and xterm in Cygwin/Xfree86
> I try to compile the latest version of mxterm and I got this
> type of configure/linking problem:
>
> checking if we must define _GNU_SOURCE... no
> checking for X... libraries /usr/X11R6/lib, headers
> /usr/X11R6/include checking for socket in -lsocket... no
> checking for gethostname in -lnsl... no checking for
> dnet_ntoa in -ldnet... no checking for dnet_ntoa in
> -ldnet_stub... no checking for gethostbyname... yes checking
> for connect... yes checking for remove... yes checking for
> shmat... no checking for shmat in -lipc... no checking for
> IceConnectionNumber in -lICE... yes checking for XOpenDisplay
> in -lX11... yes checking for XtAppInitialize in -lXt... yes
> checking for X11/DECkeysym.h... yes checking for
> X11/Sunkeysym.h... yes checking for X11/Xpoll.h... yes
> checking for XextCreateExtension in -lXext... yes checking
> for X11/Xaw/SimpleMenu.h... yes checking for
> XawSimpleMenuAddGlobalActions in -lXaw -lXmu... no checking
> for XawSimpleMenuAddGlobalActions in -lXaw_s -lXmu_s... no
> checking for -lXaw -lXmu in /usr/contrib/X11R6... no checking
> for -lXaw_s -lXmu_s in /usr/contrib/X11R6... no checking for
> -lXaw -lXmu in /usr/contrib/X11R5... no checking for -lXaw_s
> -lXmu_s in /usr/contrib/X11R5... no checking for -lXaw -lXmu
> in /usr/lib/X11R5... no checking for -lXaw_s -lXmu_s in
> /usr/lib/X11R5... no
> configure: error: Unable to successfully link Athena library
> (-lXaw) with test program
>
>
I remember it. It is because of an error in makefile.in. If you read
config.log file, generated by configure script, it uses a wrong link order,
i.e. -lX11 -lXaw -lXmu... something like that, If I remember correctly the
link order of -lXt was wrong too, it should have been after -lXma and -lXaw.
You need to fix the link orders in Makefile.in. Or you can get mxterm
sources (mxterm-src.tar.bz2)from "contrib" directory, and copy configure and
Makefile.in to your sources directory.
Suhaib