building libXt: undefined datarootdir

Shakaa shakaa at wanadoo.fr
Thu Jul 27 05:34:20 PDT 2006


Enrico Weigelt wrote:
> * Shakaa <shakaa at wanadoo.fr> schrieb:
>   
>> Hi,
>>
>> I've got the same warning message with datarootdir undefined. I can't 
>> build the next package "libXmu" etc... because of this problem.
>> I hope somebody knows how to fix this.
>>     
>
> Some more details ?
>
> cu
>   
Yes, i added the line : datarootdir=@datarootdir@ in xt.pc.in and my 
libXt is compiling fine now.
It was because of the new autoconf 2.60.
My xt.pc.in is now :

prefix=@prefix@
exec_prefix=@exec_prefix@
datarootdir=@datarootdir@
libdir=@libdir@
includedir=@includedir@
appdefaultdir=@appdefaultdir@

Name: Xt
Description: X Toolkit Library
Version: @VERSION@
Requires: xproto x11 sm
Requires.private: x11 sm
Cflags: -I${includedir}
Libs: -L${libdir} -lXt



More information about the xorg mailing list