Working with X11

56 views
Skip to first unread message

Ashish Gaurav

unread,
Jul 22, 2015, 10:29:56 AM7/22/15
to Native-Client-Discuss
Hi everyone

I see that naclports has an xorg-server port, and all the related bunch of packages are also quite ported. I believe emacs-x and twm work via X11, but I'm facing some compilation errors when i try to build xorg-server. Note that I have the latest naclports (downloaded sometime ago, synced via git pull) and an almost latest NaCl SDK (built around 10 days ago from chromium). Here's the error log :

[src] bin/naclports -vf --toolchain glibc build xorg-server
Building 'xorg-server' [x86_64/glibc/release] 
verified: out/cache/xorg-server-1.12.2.tar.bz2
Extracting
['tar', 'xf', '/home/agaurav77/Programs/nacl/naclports/src/out/cache/xorg-server-1.12.2.tar.bz2', '-C', '/home/agaurav77/Programs/nacl/naclports/src/out/tmpgiBrCk']
renaming '/home/agaurav77/Programs/nacl/naclports/src/out/tmpgiBrCk/xorg-server-1.12.2' -> '/home/agaurav77/Programs/nacl/naclports/src/out/build/xorg-server/xorg-server-1.12.2'
Wrote stamp: /home/agaurav77/Programs/nacl/naclports/src/out/stamp/xorg-server/extract
Patching
Init new git repo: /home/agaurav77/Programs/nacl/naclports/src/out/build/xorg-server/xorg-server-1.12.2
git init
git add -f .
git commit -m Upstream version
git checkout -b upstream
git checkout master
applying patch to: /home/agaurav77/Programs/nacl/naclports/src/out/build/xorg-server/xorg-server-1.12.2
patching file Xext/shm.c
patching file configure.ac
patching file dix/main.c
patching file hw/kdrive/Makefile.am
patching file hw/xfree86/common/xf86Configure.c
patching file hw/xfree86/common/xf86Events.c
patching file hw/xfree86/os-support/bus/Pci.h
patching file include/do-not-use-config.h.in
patching file include/servermd.h
patching file os/access.c
patching file os/utils.c
patching file xkb/ddxLoad.c
[master b6d148c] Apply naclports patch
 12 files changed, 81 insertions(+), 10 deletions(-)
Wrote stamp: /home/agaurav77/Programs/nacl/naclports/src/out/stamp/xorg-server/nacl_patch
Specs file already patched
chdir /home/agaurav77/Programs/nacl/naclports/src/out/build/xorg-server/xorg-server-1.12.2
######################################################################
Patching configure
######################################################################
Failed to find patch 1 location in configure script: configure
config.sub supports NaCl
[master f601dc1] Automatic patch generated by naclports
 1 file changed, 14 insertions(+), 1 deletion(-)
cp /home/agaurav77/Programs/nacl/naclports/src/ports/xorg-server/sdl.c /home/agaurav77/Programs/nacl/naclports/src/ports/xorg-server/Makefile.am /home/agaurav77/Programs/nacl/naclports/src/out/build/xorg-server/xorg-server-1.12.2/hw/kdrive/sdl/
######################################################################
Configuring xorg-server
######################################################################
chdir /home/agaurav77/Programs/nacl/naclports/src/out/build/xorg-server/build_x86-64_glibc
chdir /home/agaurav77/Programs/nacl/naclports/src/out/build/xorg-server/xorg-server-1.12.2
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
autoreconf: running: /usr/bin/autoconf --force
configure.ac:675: error: possibly undefined macro: XTRANS_CONNECTION_FLAGS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
naclports: Building xorg-server: failed.


I'm building with glibc but I guess that shouldn't be a problem. Any help is appreciated.

Regards
Ashish
Reply all
Reply to author
Forward
0 new messages