LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 10-13-2022, 08:44 PM   #1
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Rep: Reputation: 36
error when compiling xboard - xt headers not found


Hello, I run ./configure in a terminal on the xboard source code and at the end of the output is: xt headers not found.I have made sure kernel-devel and kernel-headers are installed as well as texinfo.After searching, I can not find any reference for xt headers. I am running centos 7 32 bit in virtualbox with guest additions installed.The xboard source code compiles for all platforms.
 
Old 10-15-2022, 01:35 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by sirius57 View Post
Hello, I run ./configure in a terminal on the xboard source code and at the end of the output is: xt headers not found.I have made sure kernel-devel and kernel-headers are installed as well as texinfo.After searching, I can not find any reference for xt headers. I am running centos 7 32 bit in virtualbox with guest additions installed.The xboard source code compiles for all platforms.
I guess you need to install libXt-devel package.
 
1 members found this post helpful.
Old 10-15-2022, 11:13 AM   #3
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
Thank you. I was able to run ./configure and it created a makefile. However, at the end of make, there was a fatal error:
xboard.c:147:27: fatal error: X11/Xmu/Atoms.h: No such file or directory
#include <X11/Xmu/Atoms.h>
^
compilation terminated.

Am I missing another devel package?
 
Old 10-15-2022, 11:32 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by sirius57 View Post
Thank you. I was able to run ./configure and it created a makefile. However, at the end of make, there was a fatal error:
xboard.c:147:27: fatal error: X11/Xmu/Atoms.h: No such file or directory
#include <X11/Xmu/Atoms.h>
^
compilation terminated.

Am I missing another devel package?
Yes, you miss libXmu-devel
FYI you can use yum to find the package containing missing file(s):
Code:
yum provides "*X11/Xmu/Atoms.h"
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.in2p3.fr
 * epel: mirror.in2p3.fr
 * extras: mirror.in2p3.fr
 * updates: mirror.in2p3.fr
libXmu-devel-1.1.2-2.el7.i686 : X.Org X11 libXmu development package
Repo        : base
Matched from:
Filename    : /usr/include/X11/Xmu/Atoms.h



libXmu-devel-1.1.2-2.el7.x86_64 : X.Org X11 libXmu development package
Repo        : base
Matched from:
Filename    : /usr/include/X11/Xmu/Atoms.h
 
1 members found this post helpful.
Old 10-15-2022, 12:09 PM   #5
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
I used your example of finding missing packages on another error and I was able to compile xboard.When xboard is run there is a font error:
@localhost xboard-4.4.2]$ xboard
xboard: no fonts match pattern -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*

is the yum syntax the same for finding missing fonts?
 
Old 10-15-2022, 02:15 PM   #6
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
I used yum to install additional fonts, but did not contain the helvetica font. I did searching and found helvetica.ttf and that should contain all the helvetica fonts. I will place it in /usr/share/fonts/ and create a sub-folder /myfonts/
And run: sudo fc-cache -f -v /usr/share/fonts/myfonts/
 
Old 10-17-2022, 03:59 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by sirius57 View Post
xboard: no fonts match pattern -*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*
Searching for this error gives many hits, so it looks like xborad does not work well with recent distros X-windows system, regarding fonts.
Perhaps the 2 answers here could work in your case, or else take a look also at the other search results.

Regards
 
Old 10-23-2022, 12:49 PM   #8
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
I recompiled the code by the example in the link and had the same complaint about the font. I am searching for the font package. Tried eboard and received a different complaint when compiling. Not giving up. I read that the centos repository data base can be broken by using 3rd party repositories.A 3rd party repository called the snap store claims to work with centos7. I would prefer to compile the code and avoid the risk of breaking the system. Any thoughts on 3rd party repositories?
 
Old 10-27-2022, 02:21 AM   #9
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by sirius57 View Post
I recompiled the code by the example in the link and had the same complaint about the font. I am searching for the font package. Tried eboard and received a different complaint when compiling. Not giving up. I read that the centos repository data base can be broken by using 3rd party repositories.A 3rd party repository called the snap store claims to work with centos7. I would prefer to compile the code and avoid the risk of breaking the system. Any thoughts on 3rd party repositories?
I don't think that there is a risk to break your system using third party repositories.
I've used EPEL in Centos6 and Centos7 without any problems...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Slackware 13.1: XBoard not starting dgauze Slackware 5 08-23-2010 11:24 PM
Xboard not connecting to FICS purefan Linux - Games 0 04-11-2005 06:37 PM
xboard and uschess live opioid Linux - General 0 11-22-2003 01:01 AM
Xboard problem - gnuchessx jamie_barrow Linux - Software 5 07-26-2003 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration