Re: Problem when compiling X-Programs

1997-05-18 Thread Rick Jones

Make sure there's a -L/usr/X11R6/lib entry in the gcc args.


On Sat, 17 May 1997, AUBORD Alain wrote:

 I am trying to compile X-Programs, but I cannot link them. I get always the
 messages libraries Xaw, Xmt not found.
 
 This arise when I try to compile the last version of X-Board, but I have all
 these libraries installed in /usr/X11R6/lib.
 
 
 Any help would be appreciated .
 
 
 A.Aubord
 
 My address:
   e-mail:[EMAIL PROTECTED]
   Surface Mail:
 A.Aubord
 System Manager
 Chemin d'Ecogia 16
 CH-1290 Versoix
 Switzerland.
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 

L8R,

--Rick

Unsolicited commercial/propaganda email subject to legal action.  Under US
Code Title 47, Sec.227(a)(2)(B), Sec.227(b)(1)(C), and Sec.227(b)(3)(C), a
State may impose a fine of NOT LESS than $500 per message.  Read the full
text of Title 47 Sec 227 at http://www.law.cornell.edu/uscode/47/227.html



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Problem when compiling X-Programs

1997-05-17 Thread AUBORD Alain
I am trying to compile X-Programs, but I cannot link them. I get always the
messages libraries Xaw, Xmt not found.

This arise when I try to compile the last version of X-Board, but I have all
these libraries installed in /usr/X11R6/lib.


Any help would be appreciated .


A.Aubord

My address:
  e-mail:[EMAIL PROTECTED]
  Surface Mail:
A.Aubord
System Manager
Chemin d'Ecogia 16
CH-1290 Versoix
Switzerland.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Problem when compiling X-Programs

1997-05-17 Thread joost witteveen
 I am trying to compile X-Programs, but I cannot link them. I get always the
 messages libraries Xaw, Xmt not found.
 
 This arise when I try to compile the last version of X-Board, but I have all
 these libraries installed in /usr/X11R6/lib.

I'll answer this one several times: 

-direct answer:
  Add -L/usr/X11R6/lib to the gcc commandline when linking (the last
  stage)

-somewhat more complete answer:
  Most X programmes come with an Imakefile, that is used to generate
  a Makefile that is tailored to the local system with the xmkmf command,
  that knows excactly where all libraries/headerfiles/whatever are
  on the local system. Your best bet is to check if your app
  has an Imakefile, and if it does, run xmkmf. This
  (on any Debian system, anyway) will generate an Makefile that
  knows correctly where the X libs are.

-YetAnotherAnswer:
  Doesn't debian have an X-Board package (GNU something?).
  In that case, simply get the xboard files from your debian mirror,
  run dpkg-source -x xboard*.dsc, cd to the sourcedir, and run
  ./debian/rules build. This _should_ do everything correctly,
  and if not, file a bug report against the Xboard pacakge.


-- 
joost witteveen, [EMAIL PROTECTED]
#!/bin/perl -sp0777iX+d*lMLa^*lN%0]dsXx++lMlN/dsM0j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$kSK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .