Re: xorg-server compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Die, 2010-01-12 at 19:34 +0530, Niamathullah sharief wrote:
> Hello. I am trying to compile xorg-server for arm board. By that time
> i got a erro as 
> [code]checking for GL... configure: error: Package requirements
> (glproto >= 1.4.9 gl >= 7.1.0) were not met:
> 
> No package 'gl' found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> [/code]
Welcome to the world of cross-compiling the more complicated packages.

> So i googled then i found that gl and mesa is same. sp i compiled
> mesa. by that time i got an error as 
> [code]
[...]
> ../../../../../include/GL/glx.h:38: fatal error: X11/Xlib.h: No such
> file or directory
> compilation terminated.
> make[5]: *** [glx_api.o] Error 1
> [/code]
> Now can anyone help me how to fix this problem
You need libX11 (which is not the same the X server[0]) for mesa.

To somewhat repeat an other answer:

You will find lots of .tar.gz in the download directory at x.org (or a
mirror). You will need several of them cross-compiled and
cross-installed in the correct order (to resolve the dependencies). You
have to provide the correct parameters to `configure`. And depending on
the pkg-config version on the build host, you may want to patch
generated .pc files.[0]

Short: A simple `configure $PARAMS_FOR_CROSSCOMPILING; make; make
install`  won't do the job.

For the other other answer: Cross-Compiling the X server from X.org has
nothing to do with the Linux kernel and is thus off-topic.

	Bernd

[0]: At least that was the case approx. 2 years ago.
-- 
mobil: +43 664 4416156          http://bernd.petrovitsch.priv.at/
    Linux Software Entwicklung, Beratung und Dienstleistungen


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux