Thank you Juergen, I searched "xorg-macros.pc". I founded it in: ./platform-i586/build-host/util-macros-1.11.0/xorg-macros.pc ./platform-i586/build-host/util-macros-1.11.0/xorg-macros.pc.in ./platform-i586/packages/host-util-macros-1.11.0/share/pkgconfig/xorg-macros.pc ./platform-i586/sysroot-host/share/pkgconfig/xorg-macros.pc
and I get always this error message: started : xorg-driver-video-savage.prepare Package xorg-macros was not found in the pkg-config search path. Perhaps you should add the directory containing `xorg-macros.pc' to the PKG_CONFIG_PATH environment variable No package 'xorg-macros' found configure: error: cannot check for file existence when cross compiling I think I need more informations about host-xorg-XXX.in/.make and xorg-proto-YYY.in/.make. I don't know how to use them. For example, why is there host-xorg-proto-input.in/make and xorg-proto-input.in/make, What is the rule of all these files? I think for my problem that te configure do not find the xorg-macros.pc. But this file is not correctly installed!! I founded .pc files in the /lib/pkgconfig/ and /usr/lib/pkgconfig/ directorys. Thank you for your help. Philippe 2011/9/3 Juergen Beisert <[email protected]> > Hi Philippe, > > Philippe Corbes wrote: > > This question is for a guru of ptxdist. > > > > I use ptxdist to build a linux for a tiny x86. > > I try to compile the /usr/lib/xorg/modules/drivers/savage_drv.so > > I wrote xorg-driver-video-savage.in and a xorg-driver-video-savage.make > > files. > > > > I dont find the "xorg-macros.pc" at the prepare phase. > > Does anybody know why? > > > > Here is my dump. (I think I'm not the first to get this error) > > > > started : xorg-driver-video-savage.prepare > > Package xorg-macros was not found in the pkg-config search path. > > Perhaps you should add the directory containing `xorg-macros.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'xorg-macros' found > > configure: error: cannot check for file existence when cross compiling > > You need to build a package first that provides the "xorg-macro". If you > know > which PTXdist package provides it, just add a "select <this package> to > your "xorg-driver-video-savage.in". After that PTXdist will build this > package first before it builds your driver. > > Regards, > jbe > > -- > Pengutronix e.K. | Juergen Beisert > | > Linux Solutions for Science and Industry | http://www.pengutronix.de/ | >
-- ptxdist mailing list [email protected]
