Git Product home page Git Product logo

Comments (17)

Alhel avatar Alhel commented on May 26, 2024 3

In Centos:
yum install libXfont-devel.x86_64
yum install libXfont2-devel.x86_64

from xorgxrdp.

metalefty avatar metalefty commented on May 26, 2024 1

Install libxfont1-dev instead of libxfont-dev.

from xorgxrdp.

speidy avatar speidy commented on May 26, 2024

from xorgxrdp.

bmullan avatar bmullan commented on May 26, 2024

from xorgxrdp.

bmullan avatar bmullan commented on May 26, 2024

from xorgxrdp.

metalefty avatar metalefty commented on May 26, 2024

Can you show me the whole build log? configure is passing for you and build is failing?

from xorgxrdp.

metalefty avatar metalefty commented on May 26, 2024

I confirmed the issue. That should be addressed.

from xorgxrdp.

metalefty avatar metalefty commented on May 26, 2024

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.

bmullan avatar bmullan commented on May 26, 2024

from xorgxrdp.

metalefty avatar metalefty commented on May 26, 2024

Ubuntu. No problem on Debian.

from xorgxrdp.

bmullan avatar bmullan commented on May 26, 2024

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.

bmullan avatar bmullan commented on May 26, 2024

@shadtimm

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.

metalefty avatar metalefty commented on May 26, 2024

Try as they say, will it build, right?

from xorgxrdp.

metalefty avatar metalefty commented on May 26, 2024

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.

bmullan avatar bmullan commented on May 26, 2024

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.

metalefty avatar metalefty commented on May 26, 2024

The downstream issue has been solved.

from xorgxrdp.

elgalu avatar elgalu commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.