This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]