Hello Gaetan
Thanks for your response.
While doing ./configure (on MeeGo at root user) for libX11-1.4.4 (after
commenting the line for keysymdef.h in configure file), the following package
dependencies are displayed:
checking for X11... configure: error: Package requirements (xproto >= 7.0.17
xextproto xtrans xcb >= 1.1.92 kbproto inputproto) were not met:
No package 'xproto' found
No package 'xextproto' found
No package 'xtrans' found
No package 'xcb' found
No package 'kbproto' found
No package 'inputproto' 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 X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[root@localhost libX11-1.4.4]#
While doing ./configure for xproto-7.0.22 (on MeeGo), no errors are displayed
and Makefile is generated. After make and make install, no errors are displayed
but the package does not get installed. Please find attached the log for your
reference.
Could you please advice on the correct procedure for installing the
pre-requisite libraries: libX11, libXtst on MeeGo.
Thanks
J Habib
________________________________
From: Gaetan Nadon <[email protected]>
To: J Habib <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Monday, January 30, 2012 1:30 AM
Subject: Re: Req for resolution: Installation Errors - libX11, libXtst
On 12-01-29 10:38 AM, J Habib wrote:
Hello Team
>
>I want to use xdotool for simulating click and touch on a
MeeGo-based IVI device (Target).
>
>I downloaded the xdotool from
http://www.semicomplete.com/projects/xdotool/ and the
pre-requisite libraries: libX11-1.4.4.tar.bz2 and
libXtst-1.2.0.tar.bz2 from
http://xorg.freedesktop.org/releases/individual/lib/ but I am
not able to install the pre-requisite libraries on MeeGo using
the config and makefiles provided with the package. Also
zypper install xdotool or pkcon install xdotool on MeeGo
Target is not able to fetch the xdotool as it is not available
for MeeGo repository.
>
>Please find below the list of errors displayed while
configuring & make (libX11-1.4.4.tar.bz2):
>
>./configure
>
>checking keysym definitions... configure: error cannot find
keysymdef.h
>
>After providing the above header path in configure file
(commenting the line 14262 and providing the hardcoded path at
14263), the following error is displayed on configure:
>
>checking keysym definitions... ./configure: line 14488: syntax
error near unexpected token '('
>./configure: line 14488: `$ac_echo_n "(cached)" >&6`
>
>make:
>make: *** No targets specified and no makefile found. Stop
>
>(The above is probably because config is not complete)
>
>
>make -f Makefile.am
>Makefile.am:1:***missing separator. Stop
>
>
>Could you please provide the info on or direct me to the concerned team for
>providing info on how to proceed for installation of xdotool on MeeGo and/or
>from where should I download the compatible xdotool and the pre-requisite
>libraries if the above are not compatible with MeeGo.
>
>
>
>Thanks
>
>
>J Habib
>
>
>
>_______________________________________________ [email protected]: X.Org
>development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
If you look in libX11 configure.ac,
# Always required
>X11_REQUIRES='xproto >= 7.0.17 xextproto xtrans xcb >= 1.1.92'
>X11_EXTRA_DEPS="xcb >= 1.1.92"
>
these are the packages (and probably some more) you need to build libX11. Those
packages in turn may need other packages to build. Unfortunately, the presence
of these packages are checked *after* the check for keysymdef.h from the
"xproto" package.
A good place to look for dependencies is in each package .pc file.
Look for "Requires" variable for a hint on the prereqs.
The method you are using, building from source starting at an
arbitrary point, will eventually work but it is a long road. You
might look in your OS packages for some X development libraries and
headers which would give you a head start.
Note that when you run ./configure, the default installation
directory is rooted at /usr/local or /usr depending on your
platform. When running 'make install', you must have root
permission, else if will fail to install binaries or headers which
will cause subsequent packages to fail. Look for an S["prefix"]=
string in config.status to find the exact value.
You may not have noticed, but you were able to run ./configure that
far because there is an xorg-macros package already installed on
your box. Running pkg-config --print-errors --variable=prefix
xorg-macros will tell you where.
Now you have little choice but to ./configure --prefix <where
ever the rest is already installed>.
This wiki might help:
http://www.x.org/wiki/ModularDevelopersGuide#Building_Individual_Modules_YourselfWhile doing ./configure (on MeeGo) for libX11-1.4.4 (after commenting the line
for keysymdef.h), the following package dependencies are displayed:
checking for X11... configure: error: Package requirements (xproto >= 7.0.17
xextproto xtrans xcb >= 1.1.92 kbproto inputproto) were not met:
No package 'xproto' found
No package 'xextproto' found
No package 'xtrans' found
No package 'xcb' found
No package 'kbproto' found
No package 'inputproto' 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 X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[root@localhost libX11-1.4.4]#
While doing ./configure for xproto-7.0.22, no errors are displayed and Makefile
is generated:
[root@localhost xproto-7.0.22]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
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
checking whether to build functional specifications... yes
checking for xmlto... no
configure: WARNING: xmlto not found - documentation targets will be skipped
checking for fop... no
configure: WARNING: fop not found - documentation targets will be skipped
checking for xsltproc... /usr/bin/xsltproc
checking for X.Org SGML entities >= 1.8... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for fd_set.fds_bits... no
checking for fd_set.__fds_bits... yes
checking whether const prototypes are supported... yes
checking whether varargs prototypes are supported... yes
checking whether nested prototypes are supported... yes
checking whether to force function prototypes... yes
checking whether to widen function prototypes... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating specs/Makefile
config.status: creating specs/SIAddresses/Makefile
config.status: creating Xpoll.h
config.status: creating xproto.pc
config.status: creating do-not-use-config.h
config.status: do-not-use-config.h is unchanged
config.status: creating Xfuncproto.h
config.status: Xfuncproto.h is unchanged
config.status: executing depfiles commands
[root@localhost xproto-7.0.22]#
[root@localhost xproto-7.0.22]# make
make all-recursive
make[1]: Entering directory `/home/meego/xdo/xproto-7.0.22'
Making all in specs
make[2]: Entering directory `/home/meego/xdo/xproto-7.0.22/specs'
Making all in SIAddresses
make[3]: Entering directory `/home/meego/xdo/xproto-7.0.22/specs/SIAddresses'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/meego/xdo/xproto-7.0.22/specs/SIAddresses'
make[3]: Entering directory `/home/meego/xdo/xproto-7.0.22/specs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/meego/xdo/xproto-7.0.22/specs'
make[2]: Leaving directory `/home/meego/xdo/xproto-7.0.22/specs'
make[2]: Entering directory `/home/meego/xdo/xproto-7.0.22'
make[2]: Leaving directory `/home/meego/xdo/xproto-7.0.22'
make[1]: Leaving directory `/home/meego/xdo/xproto-7.0.22'
[root@localhost xproto-7.0.22]#
[root@localhost xproto-7.0.22]# make install
Making install in specs
make[1]: Entering directory `/home/meego/xdo/xproto-7.0.22/specs'
Making install in SIAddresses
make[2]: Entering directory `/home/meego/xdo/xproto-7.0.22/specs/SIAddresses'
make[3]: Entering directory `/home/meego/xdo/xproto-7.0.22/specs/SIAddresses'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/meego/xdo/xproto-7.0.22/specs/SIAddresses'
make[2]: Leaving directory `/home/meego/xdo/xproto-7.0.22/specs/SIAddresses'
make[2]: Entering directory `/home/meego/xdo/xproto-7.0.22/specs'
make[3]: Entering directory `/home/meego/xdo/xproto-7.0.22/specs'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/doc/xproto" || /bin/mkdir -p
"/usr/local/share/doc/xproto"
/usr/bin/install -c -m 644 x11protocol.xml encoding.xml glossary.xml
keysyms.xml sect1-9.xml '/usr/local/share/doc/xproto'
test -z "/usr/local/share/doc/xproto" || /bin/mkdir -p
"/usr/local/share/doc/xproto"
make[3]: Leaving directory `/home/meego/xdo/xproto-7.0.22/specs'
make[2]: Leaving directory `/home/meego/xdo/xproto-7.0.22/specs'
make[1]: Leaving directory `/home/meego/xdo/xproto-7.0.22/specs'
make[1]: Entering directory `/home/meego/xdo/xproto-7.0.22'
make[2]: Entering directory `/home/meego/xdo/xproto-7.0.22'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/X11" || /bin/mkdir -p "/usr/local/include/X11"
/usr/bin/install -c -m 644 Xfuncproto.h Xpoll.h '/usr/local/include/X11'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 xproto.pc '/usr/local/lib/pkgconfig'
test -z "/usr/local/include/X11" || /bin/mkdir -p "/usr/local/include/X11"
/usr/bin/install -c -m 644 ap_keysym.h DECkeysym.h HPkeysym.h keysymdef.h
keysym.h Sunkeysym.h Xalloca.h Xarch.h Xatom.h Xdefs.h XF86keysym.h Xfuncs.h
X.h Xmd.h Xosdefs.h Xos.h Xos_r.h Xproto.h Xprotostr.h Xthreads.h Xw32defs.h
XWDFile.h Xwindows.h Xwinsock.h '/usr/local/include/X11'
make[2]: Leaving directory `/home/meego/xdo/xproto-7.0.22'
make[1]: Leaving directory `/home/meego/xdo/xproto-7.0.22'
[root@localhost xproto-7.0.22]#
[root@localhost xproto-7.0.22]# tail -f config.log
#define PACKAGE_VERSION_MINOR 0
#define PACKAGE_VERSION_PATCHLEVEL 22
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_TIME_H 1
#define FUNCPROTO 15
#define NARROWPROTO /**/
configure: exit 0
Doing make and make install for xproto does not throw any error but the package
does not get installed.
[root@localhost xproto-7.0.22]# rpm -qa | grep xproto
[root@localhost xproto-7.0.22]# rpm -qa | grep Xproto
[root@localhost xproto-7.0.22]#
Again, doing ./configure for libX11-1.4.4, same previous package dependencies
are displayed:
checking for nl_langinfo... yes
checking for X11... configure: error: Package requirements (xproto >= 7.0.17
xextproto xtrans xcb >= 1.1.92 kbproto inputproto) were not met:
No package 'xproto' found
No package 'xextproto' found
No package 'xtrans' found
No package 'xcb' found
No package 'kbproto' found
No package 'inputproto' 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 X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[root@localhost libX11-1.4.4]#
Have downloaded the following packages from
http://xorg.freedesktop.org/releases/individual/lib/ to fulfull the required
dependencies:
xdotool-2.20110530.1.tar.gz
libXtst-1.2.0.tar.bz2
libX11-1.4.4.tar.bz2
xproto-7.0.22.tar.bz2
xextproto-7.2.0.tar.bz2
xtrans-1.2.6.tar.bz2
libxcb-1.1.93.tar.bz2
kbproto-1.0.5.tar.bz2
inputproto-2.1.tar.bz2
xcb-util-0.3.8.tar.bz2
xcb-proto-1.7.tar.bz2
libxcb-1.1.93
xproto-7.0.17.tar.bz2
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel