-
Notifications
You must be signed in to change notification settings - Fork 106
Can't Build On Debian Stretch: Missing fontconfig #446
Description
I can't seem to get this to build in Debian Stretch 64-bit. I've installed build-essential, gcc-c++, ia32-libs, lib32z1, and g++-multilib.
Now when I try to build, I get an error that it couldn't find fontconfig:
-- Target architecture: i386 -- Building for 32 Bit -- Target architecture: i386 -- Checking for module 'fontconfig' -- No package 'fontconfig' found CMake Error at /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal) mainui/CMakeLists.txt:177 (pkg_check_modules)
I assume this is because I only have the 64-bit fontconfig package installed and not the 32-bit one. So I've tried to install the 32-bit one, but I'm getting dependency issues. Any advice?
`rhopkins13@RHOPKINS13-DevBox:~/xash3d/build$ sudo apt install fontconfig:i386
[sudo] password for rhopkins13:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fontconfig:i386 : Depends: libfontconfig1:i386 (>= 2.11) but it is not going to be installed
Depends: libfreetype6:i386 (>= 2.2.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
rhopkins13@RHOPKINS13-DevBox:~/xash3d/build$ sudo apt install fontconfig:i386 libfontconfig1:i386 libfreetype6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fontconfig:i386 : Depends: fontconfig-config:i386
libasound2-plugins : Depends: libavcodec57 (>= 7:3.0) but it is not going to be installed or
libavcodec-extra57 (>= 7:3.0) but it is not going to be installed
libfontconfig1:i386 : Depends: fontconfig-config:i386 (>= 2.11.0-6.7)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
rhopkins13@RHOPKINS13-DevBox:~/xash3d/build$ sudo apt install fontconfig:i386 libfontconfig1:i386 libfreetype6:i386 fontconfig-config:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'fontconfig-config' instead of 'fontconfig-config:i386'
fontconfig-config is already the newest version (2.13.1-2).
fontconfig-config set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
fontconfig-config : Breaks: libfontconfig1:i386 (< 2.13.0) but 2.11.0-6.7+b1 is to be installed
libasound2-plugins : Depends: libavcodec57 (>= 7:3.0) but it is not going to be installed or
libavcodec-extra57 (>= 7:3.0) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
`