Comments (17)
In Centos:
yum install libXfont-devel.x86_64
yum install libXfont2-devel.x86_64
from xorgxrdp.
Install libxfont1-dev instead of libxfont-dev.
from xorgxrdp.
from xorgxrdp.
from xorgxrdp.
from xorgxrdp.
Can you show me the whole build log? configure is passing for you and build is failing?
from xorgxrdp.
I confirmed the issue. That should be addressed.
from xorgxrdp.
I looked the build difference between Debian Stretch and Ubuntu 16.04.
I assume Ubuntu packaging in corrupted state.
Here's the build log on Ubuntu 16.04.
X11/fonts/fontutil.h
is included by /usr/include/xorg/dixfont.h
of xserver-xorg-dev.
make all-recursive
make[1]: Entering directory '/home/ubuntu/xorgxrdp'
Making all in module
make[2]: Entering directory '/home/ubuntu/xorgxrdp/module'
Making all in amd64
make[3]: Entering directory '/home/ubuntu/xorgxrdp/module/amd64'
NASM a8r8g8b8_to_a8b8g8r8_box_amd64_sse2.lo
NASM a8r8g8b8_to_nv12_box_amd64_sse2.lo
NASM cpuid_amd64.lo
NASM i420_to_rgb32_amd64_sse2.lo
NASM uyvy_to_rgb32_amd64_sse2.lo
NASM yuy2_to_rgb32_amd64_sse2.lo
NASM yv12_to_rgb32_amd64_sse2.lo
CCLD libxorgxrdp-asm.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/ubuntu/xorgxrdp/module/amd64'
make[3]: Entering directory '/home/ubuntu/xorgxrdp/module'
CC rdpDraw.lo
In file included from /usr/include/xorg/dixfontstr.h:28:0,
from rdpDraw.c:44:
/usr/include/xorg/dixfont.h:32:32: fatal error: X11/fonts/fontutil.h: No such file or directory
compilation terminated.
Makefile:595: recipe for target 'rdpDraw.lo' failed
make[3]: *** [rdpDraw.lo] Error 1
make[3]: Leaving directory '/home/ubuntu/xorgxrdp/module'
Makefile:614: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/ubuntu/xorgxrdp/module'
Makefile:423: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu/xorgxrdp'
Makefile:355: recipe for target 'all' failed
make: *** [all] Error 2
/usr/include/xorg/dixfont.h
includes X11/fonts/fontutil.h
. fontutil.h
is contained in libxfont1-dev package not libxfont-dev package (version 2.0.1). So in Ubuntu, libxfont1-dev package is required however libxfont1-dev and libxfont-dev cannot be installed together. This is the problem.
I looked at Debian, too. /usr/include/xorg/dixfont.h
in Debian doesn't include X11/fonts/fontutil.h
. This is the right state.
Package info: Ubuntu 16.04
$ dpkg -la | grep -e xserver-xorg-dev -e libxfont-dev
ii libxfont-dev 1:2.0.1-3~ubuntu16.04.1 amd64 X11 font rasterisation library (development headers)
ii xserver-xorg-dev 2:1.18.4-0ubuntu0.3 amd64 Xorg X server - development files
Package info: Debian stretch
$ dpkg -la | grep -e xserver-xorg-dev -e libxfont-dev
ii libxfont-dev 1:2.0.1-3 amd64 X11 font rasterisation library (development headers)
ii xserver-xorg-dev 2:1.19.2-1+deb9u1 amd64 Xorg X server - development files
In conclusion, the issue is not our issue for me.
from xorgxrdp.
from xorgxrdp.
Ubuntu. No problem on Debian.
from xorgxrdp.
I filed a bug on Launchpad for ubuntu:
#1707691 libxfont1-dev is missing fontutil.h
Just wanted to post here so other's trying to build xorgxrdp on Ubuntu will know why its failing.
from xorgxrdp.
An Ubuntu developer responded to my Bug report by saying...
Changed in libxfont (Ubuntu):
status: | New → Won't Fix
I mean either you build with xserver-xorg-dev & libxfont1-dev, or xserver-xorg-dev-hwe-16.04 & libxfont-dev. Can't mix the two. Fix your pkg to match
So I guess its upto the xorgxrdp makefile/build to remedy this.
brian
from xorgxrdp.
Try as they say, will it build, right?
from xorgxrdp.
In conclusion, at least Ubuntu 16.04, requisite packages are little bit different from other distro.
xserver-xorg-dev and libfont-dev packages should be either:
- xserver-xorg-dev & libxfont1-dev
- xserver-xorg-dev-hwe-16.04 & libxfont-dev
xserver-xorg-dev & libxfont-dev or xserver-xorg-dev-hwe-16.04 & libxfont1-dev should not work.
from xorgxrdp.
just got an update from Launchpad & canonical re the Bug I filed... I guess maybe they are going to look at resolving it... ??
https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707691
from xorgxrdp.
The downstream issue has been solved.
from xorgxrdp.
So weird, a simple link fixed the problem in Ubuntu 20.04 container:
ln -s /usr/include/X11 /usr/include/xorg/
from xorgxrdp.
Related Issues (20)
- Current xorg.conf always pulls hardware drives HOT 1
- mouse move from code using XTEST extension does not work HOT 3
- Xorg not showing on login screen HOT 2
- configure: error: Package requirements (xrdp >= 0.9.80) were not met HOT 3
- How do I get the refresh rate to 60 Hz?
- xfreerdp: caps lock sometimes gets out of sync / works inverted HOT 8
- building source error, error: ‘struct xrdp_client_info’ has no member named ‘monitorCount’ HOT 3
- Stuck in blue screen with "connection problem, giving up" HOT 11
- [v0.9] too fast scroll speed with macOS RDP client (again) HOT 23
- Unable to reconnect after restarting xorgxrdp HOT 24
- Add VA-API support to leverage WSL2 video hardware acceleration
- GFX: move to posix shm HOT 2
- In rdpLRANDR.c why set refresh rate to 50Hz? HOT 7
- xorgrdp: XF86VidModeSetGamma() -> BadValue HOT 3
- Can't mount drives after xrdp update HOT 1
- V0.10.0 - release note title incorrect HOT 1
- 0.10 version AUR not starting HOT 15
- xorgxrdp-glamor with virtualbox-guest-utils (VirtualBox Arch VM) HOT 2
- building 0.9.20 on debian gnu/linux sid HOT 1
- xorgxrdp uses high CPU in CRC HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xorgxrdp.