Centos 7 grabclient.c:32:55: fatal error: X11/Intrinsic.h: No such file or directory
Hi:
I'm trying to run make for the new xscreensaver-5.29 and I have this error. I have already installed libx11-devel, pam-devel and openssl-devel. Code:
c -I. -I.. -DHAVE_CONFIG_H -g -O2 grabclient.c |
More information.
I know I have to remove the old screensaver that's already installed-- Code:
################################################################# |
Re #1.
Intrinsic.h : $ yum provides */Intrinsic.h # yum install libXt-devel #2. GTK libraries : # yum install gtk2-devel GDK-Pixbuf : # yum install gdk-pixbuf2-devel XPM library : # yum install libXpm-devel JPEG library : # yum install libjpeg-turbo-devel OpenGL 3D library : # yum install mesa-libGL-devel mesa-libGLU-devel |
Quote:
I'll install all 5 pkg's tonight and post the output. |
Code:
Loaded plugins: fastestmirror, langpacks Code:
[root@localhost linuxcat]# yum install libjpeg-turbo-devel |
Code:
[root@localhost linuxcat]# yum install libXt-devel Now run 'make && make install'? |
? Why the old xscreensaver-5.29 ?
There's a source RPM for Fedora 21 : xscreensaver-5.30-4.fc21.src.rpm http://dl.fedoraproject.org/pub/fedo...4.fc21.src.rpm Easy to build the EL7 packages ( a minute or two ) : $ rpmbuild -bb xscreensaver.spec Result : xscreensaver-5.30-4.el7.centos.x86_64.rpm xscreensaver-base-5.30-4.el7.centos.x86_64.rpm xscreensaver-extras-5.30-4.el7.centos.x86_64.rpm xscreensaver-gl-base-5.30-4.el7.centos.x86_64.rpm xscreensaver-gl-extras-5.30-4.el7.centos.x86_64.rpm xscreensaver-extras-gss-5.30-4.el7.centos.x86_64.rpm xscreensaver-gl-extras-gss-5.30-4.el7.centos.x86_64.rpm All the above packages in one folder : xscreensaver-5.30-4.el7.centos.x86_64.tar .. can be downloaded here https://drive.google.com/file/d/0B7S...ew?usp=sharing Compiling from source : 1) Install the prerequisites ..... BuildRequires: git BuildRequires: autoconf BuildRequires: automake BuildRequires: intltool BuildRequires: bc BuildRequires: desktop-file-utils BuildRequires: gawk BuildRequires: gettext BuildRequires: libtool BuildRequires: pam-devel BuildRequires: sed BuildRequires: xorg-x11-proto-devel BuildRequires: libgle-devel --> EDIT : not required for CentOS 7. BuildRequires: libX11-devel BuildRequires: libXScrnSaver-devel BuildRequires: libXext-devel BuildRequires: libXi-devel BuildRequires: libXinerama-devel BuildRequires: libXmu-devel BuildRequires: libXpm-devel BuildRequires: libXrandr-devel BuildRequires: libXt-devel BuildRequires: libXxf86misc-devel BuildRequires: libXxf86vm-devel BuildRequires: gtk2-devel BuildRequires: libjpeg-devel BuildRequires: libglade2-devel BuildRequires: libGL-devel BuildRequires: libGLU-devel 2) $ tar xvf xscreensaver-5.xx.tar.gz && ./configure --prefix=/usr/ && make # make install - |
COOL; thanks for the links!
That's a whole lot easier to do. I'll follow the second link:- The build needs a lot of prereq's but it will be worth it in the end. How would I find out what the prereq's are for other software in the future? (had you not told me I would of never known) |
Re #8.
"Determine BuildRequires" : The simple way is to read the spec file for the application. .. A spec file is included in any SRPMS package. Example, Fedora 22 ... the ~10,000 source packages, SRPMS http://dl.fedoraproject.org/pub/fedo.../source/SRPMS/ The source SRPMS can be unpacked with 1) $ rpm -i <package>.src.rpm which will unpack to /home/<name>/rpm*/{BUILD,RPMS,SOURCES,SPECS,SRPMS,tmp} Or 2), like any rpm package, with the rpm2cpio / cpio commands. Suggest : Use unSpawn`s script ( unPack_rpm.sh ) ... http://www.linuxquestions.org/questi...9&d=1442859485 Note : Setting up the rpmbuild environment in /home/<name>/ : http://www.linuxquestions.org/questi...1-a-766486/#13 - |
IK-
All of the libraries that you listed in post #7 were already install and the latest version. I had a problem with libgle-devel.........it's not available- Code:
[root@localhost linuxcat]# yum install libgle-devel Code:
mesa-libGLES.i686 : Mesa libGLES runtime libraries http://rpmfind.net/linux/rpm2html/se...y=libgle-devel Will that work? |
Re #10.
First : Do not use a random (Suse) "rpmfind.net" package. ? May be read `xscreensaver.spec' : if 0{?fedora} >= 13 BuildRequires: libgle-devel endif .. Actually "libgle-devel" isn't required for building xscreensaver with CentOS 7. - |
The screensaver 5.30 is untarred-
Code:
xscreensaver-5.30-4.el7.centos.x86_64 http://s1052.photobucket.com/user/Ul...13658.png.html http://s1052.photobucket.com/user/Ul...13728.png.html |
Re #12.
Please read post #7. ""Easy to build the EL7 packages: $ rpmbuild -bb xscreensaver.spec Result : xscreensaver-5.30-4.el7.centos.x86_64.rpm xscreensaver-base-5.30-4.el7.centos.x86_64.rpm xscreensaver-extras-5.30-4.el7.centos.x86_64.rpm xscreensaver-gl-base-5.30-4.el7.centos.x86_64.rpm xscreensaver-gl-extras-5.30-4.el7.centos.x86_64.rpm xscreensaver-extras-gss-5.30-4.el7.centos.x86_64.rpm xscreensaver-gl-extras-gss-5.30-4.el7.centos.x86_64.rpm "" The result from a rpmbuild is like a Slackbuild : You get packages to install. I.e. : You can do ... # cd Downloads/xscreensaver-5.30-4.el7.centos.x86_64/ && yum install xscreensaver-* ..... to install all seven packages. - |
Code:
[root@localhost linuxcat]# cd Downloads/xscreensaver-5.30-4.el7.centos.x86_64/ && yum install xscreensaver-* Code:
Is this ok [y/d/N]: y |
The new version of xscreensaver is running now.
Code:
[linuxcat@localhost ~]$ xscreensaver --help |
All times are GMT -5. The time now is 05:42 AM. |