Bug 7874 - X.org configure error
Summary: X.org configure error
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2014.11
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-10 14:21 UTC by saiberion
Modified: 2015-04-09 14:18 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
.config of buildroot (60.40 KB, application/xml)
2015-02-10 14:21 UTC, saiberion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description saiberion 2015-02-10 14:21:11 UTC
Created attachment 5864 [details]
.config of buildroot

I tried to built modular X.org server and built stopped while configuring xdriver_xf86-input-evdev with following message:

---
checking for XORG... no
configure: error: Package requirements (xorg-server >= 1.10 xproto inputproto) were not met:

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
---
If I deselect xdriver_xf86-input-evdev in menuconfig the next selected xdriver (in my case xdriver_xf86-input-keyboard) failed at the same step.
I can confirm this for xdriver_xf86-input-evdev, xdriver_xf86-input-keyboard, xdriver_xf86-input-mouse and xdriver_xf86-input-tslib.
Attached my buildroot config.
Comment 1 Bernd Kuhls 2015-02-20 18:25:35 UTC
I can not reproduce the bug:

checking whether make supports nested variables... (cached) yes
checking for XORG... yes
checking for UDEV... yes
checking for XI22... yes
checking for MTDEV... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating include/Makefile
config.status: creating xorg-evdev.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-debug
>>> xdriver_xf86-input-evdev 2.8.2 Building
Comment 2 Thomas Petazzoni 2015-04-09 14:18:31 UTC
I also tested the configuration, on Buildroot 2014.11, and it builds fine. I believe your problem was probably due to the fact that you didn't do a full rebuild ('make clean all') after doing some configuration changes.

See http://buildroot.org/downloads/manual/manual.html#full-rebuild for more details.

I'm closing the bug. Do not hesitate to reopen if you're still experiencing the issue after a 'make clean all'.