you need to link to libX11, and other libs as needed. Suhaib
> -----Original Message----- > From: Marcus Vinicius Eiffle Duarte [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 09, 2002 8:33 AM > To: [EMAIL PROTECTED] > Subject: How to compile WindowMaker? > > > Hi, folks! > > I am trying to compile WindowMaker 0.80 under Cygwin. > I have read the README and INSTALL files and did all the > things they tell me to do (at least, I guess I did). However, > after running the configure utility, I ran the make utility > and, at the end of the compiling process I get an error and > the program is not built. The lines that show the error are: " .... > Making all in Examples > make[2]: Entering directory > `/tmp/wm/WindowMaker-0.80.0/WINGs/Examples' > /bin/sh ../../libtool --mode=link gcc -g -O2 -o > connect.exe connect.o ../../WINGs/libWUtil.a > -L/usr/local/lib -L/usr/X11R6/lib -lintl > gcc -g -O2 -o connect.exe connect.o > ../../WINGs/libWUtil.a -L/usr/local/lib -L/usr/X11R6/lib -lintl > ../../WINGs/libWUtil.a(wapplication.o): In function > `WMInitializeApplication': > /tmp/wm/WindowMaker-0.80.0/WINGs/wapplication.c:39: > undefined reference to `_Xsetlocale' > collect2: ld returned 1 exit status > make[2]: *** [connect.exe] Error 1 > make[2]: Leaving directory > `/tmp/wm/WindowMaker-0.80.0/WINGs/Examples' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/wm/WindowMaker-0.80.0/WINGs' > make: *** [all-recursive] Error 1 > " > I also figured that, even though the INSTALL file tells me to > run a program called ldconfig after I run make, I do not have > a ldconfig.exe in my Cygwin distribution. I am not a C > programmer, nor I am a Linux experienced user. Can anybody > > a) help me and tell me how to successfully compile > WindowMaker under Cygwin? > b) tell what is the program ldconfig? > > I tried searching for these answers in the mailing lists > archives, but (for some reason I don't know) the pages in the > archive do not open in my computer (I always get a time-out > after a minute or two). I am running Cygwin 1.3.6 under > Windows 2000 SP2 (Brazilian Portuguese). I downloaded > WindowMaker-0.80.0.tar.gz from windowmaker.org. > > Thanks in advence, > > Marcus Vinicius Eiffle Duarte, M.Sc. > > Escola de Qu�mica/UFRJ > Centro de Tecnologia, Bloco E, Lab. 113 > Cidade Universit�ria, Rio de Janeiro, RJ, CEP 20949-900 > Brasil > Tel: +55 21 2562-7622 > [EMAIL PROTECTED] > [EMAIL PROTECTED] > ICQ # 20259520 > >
