Problem regarding configuring X server.

2009-09-18 Thread Amey Moghe
As I mentioned in my earlier post, I am configuring X server for MPX . After
configuration of x server for MPX ,I tried to run it by executing following
command

sudo startx -- /opt/gfx-test/bin/Xorg -verbose :1

I came across following error:

(EE) XKB: Couldn't open rules file /opt/gfx-test/share/X11/xkb/rules/base
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup
of xkeyboard-config.

Fatal server error:
Failed to activate core devices.


For the above error I tried to install xkeyboard-config in /opt/gfx-test but
I am facing following error:

(
  I am using following variables:
  PKG_CONFIG_PATH=/opt/gfx-test/lib/pkgconfig
  ACLOCAL=aclocal -I /opt/gfx-test/share/aclocal
)

intltoolize: 'intltool-extract.in' exists: use '--force' to overwrite
intltoolize: 'intltool-merge.in' exists: use '--force' to overwrite
intltoolize: 'intltool-update.in' exists: use '--force' to overwrite
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal
configure.in:47: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: configure.in: not using Autoheader
autoreconf: running: automake --add-missing --copy --no-force
rules/Makefile.am:184: `%'-style pattern rules are a GNU make extension
autoreconf: Leaving directory `.'
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for xkbcomp... /usr/bin/xkbcomp
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 intltool = 0.30... 0.37.1 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
./configure: line 3877: AM_GLIB_GNU_GETTEXT: command not found
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating geometry/Makefile
config.status: creating geometry/digital_vndr/Makefile
config.status: creating geometry/sgi_vndr/Makefile
config.status: creating keycodes/Makefile
config.status: creating keycodes/digital_vndr/Makefile
config.status: creating keycodes/sgi_vndr/Makefile
config.status: creating keymap/Makefile
config.status: creating keymap/digital_vndr/Makefile
config.status: creating keymap/sgi_vndr/Makefile
config.status: creating keymap/sun_vndr/Makefile
config.status: creating semantics/Makefile
config.status: creating rules/Makefile
config.status: creating rules/bin/Makefile
config.status: creating rules/compat/Makefile
config.status: creating rules/extras/Makefile
config.status: creating symbols/Makefile
config.status: creating symbols/digital_vndr/Makefile
config.status: creating symbols/fujitsu_vndr/Makefile
config.status: creating symbols/hp_vndr/Makefile
config.status: creating symbols/macintosh_vndr/Makefile
config.status: creating symbols/nec_vndr/Makefile
config.status: creating symbols/sgi_vndr/Makefile
config.status: creating symbols/sony_vndr/Makefile
config.status: creating symbols/sun_vndr/Makefile
config.status: creating symbols/xfree68_vndr/Makefile
config.status: creating symbols/extras/Makefile
config.status: creating types/Makefile
config.status: creating xkeyboard-config.spec
config.status: creating docs/Makefile
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing po/stamp-it commands
config.status: error: po/Makefile is not ready.

So I tried to install package po from aptitude but that also didn't work.
Please help in this regard..


-- 
Thanks,
Amey.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Problem regarding configuring X server.

2009-09-18 Thread Dan Nicholson
On Fri, Sep 18, 2009 at 5:37 AM, Amey Moghe amey1...@gmail.com wrote:
 As I mentioned in my earlier post, I am configuring X server for MPX . After
 configuration of x server for MPX ,I tried to run it by executing following
 command

 sudo startx -- /opt/gfx-test/bin/Xorg -verbose :1

 I came across following error:

 (EE) XKB: Couldn't open rules file /opt/gfx-test/share/X11/xkb/
 rules/base
 XKB: Failed to compile keymap
 Keyboard initialization failed. This could be a missing or incorrect setup
 of xkeyboard-config.

 Fatal server error:
 Failed to activate core devices.


 For the above error I tried to install xkeyboard-config in /opt/gfx-test but
 I am facing following error:

 (
   I am using following variables:
   PKG_CONFIG_PATH=/opt/gfx-test/lib/pkgconfig
   ACLOCAL=aclocal -I /opt/gfx-test/share/aclocal
 )

 intltoolize: 'intltool-extract.in' exists: use '--force' to overwrite
 intltoolize: 'intltool-merge.in' exists: use '--force' to overwrite
 intltoolize: 'intltool-update.in' exists: use '--force' to overwrite
 intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
 autoreconf: Entering directory `.'
 autoreconf: configure.in: not using Gettext
 autoreconf: running: aclocal
 configure.in:47: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
 autoreconf: configure.in: tracing
 autoreconf: configure.in: not using Libtool
 autoreconf: running: /usr/bin/autoconf
 autoreconf: configure.in: not using Autoheader
 autoreconf: running: automake --add-missing --copy --no-force
 rules/Makefile.am:184: `%'-style pattern rules are a GNU make extension
 autoreconf: Leaving directory `.'
 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... no
 checking for mawk... mawk
 checking whether make sets $(MAKE)... yes
 checking whether to enable maintainer-specific portions of Makefiles... yes
 checking for xkbcomp... /usr/bin/xkbcomp
 checking for style of include used by make... GNU
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 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 intltool = 0.30... 0.37.1 found
 checking for xgettext... /usr/bin/xgettext
 checking for msgmerge... /usr/bin/msgmerge
 checking for msgfmt... /usr/bin/msgfmt
 checking for perl... /usr/bin/perl
 checking for XML::Parser... ok
 ./configure: line 3877: AM_GLIB_GNU_GETTEXT: command not found

This is an autoconf macro in the file
/usr/share/aclocal/glib-gettext.m4. I'm not sure why xkeyboard-config
needs it, but it's in the glib development package. I don't know what
distro you're on, but it's glib2-devel on fedora.

--
Dan
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Fwd: Problem regarding configuring X server.

2009-09-16 Thread Amey Moghe
Hello all ,
I am an undergraduate student, is configuring X server as a part
of my project. I followed the shell script and the other instructions given
in the link which is as follows:

http://www.x.org/wiki/Development/git

After all the configuration done without any dependencies remaining, as per
given in the link I tried to execute following command:

*rmmod i915*

But it was flashing error that 'i915 is running'

so couldn't execute further commands. which are as follows:


   1.

   rmmod drm
   2.

   insmod *path_to_drm_tree_above*/linux-core/drm.ko
   3.

   insmod *path_to_drm_tree_above*/linux-core/i915.ko


So at last I set path for the *LD_LIBRARY_PATH=/opt/gfx-test/lib*

( I have used variables as follows:
* PKG_CONFIG_PATH=/opt/gfx-test/lib/pkgconfig*
 *ACLOCAL=aclocal -I $PREFIX/share/aclocal*
also I used prefix option with --prefix=/opt/gfx-test )

and to start X server ,executed following command:

*startx -- /opt/gfx-test/bin/Xorg -verbose*

But I faced following text as an error:


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the xorg product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.6.99.901 (1.7.0 RC 1)
Release Date: (unreleased)
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-16-generic i686
Current Operating System: Linux projectmachine4 2.6.24-16-generic #1 SMP Thu
Apr 10 13:23:42 UTC 2008 i686
Kernel command line: root=UUID=844682b6-783b-4023-8c8c-6fa032c78002 ro quiet
splash
Build Date: 15 September 2009  09:33:52PM

Current version of pixman: 0.17.1
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /opt/gfx-test/var/log/Xorg.1.log, Time: Tue Sep 15 22:41:27
2009
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Configured Monitor
(**) |   |--Device Configured Video Device
(==) Not automatically adding devices
(==) Not automatically enabling devices
(WW) The directory /opt/gfx-test/lib/X11/fonts/misc/ does not exist.
Entry deleted from font path.
(WW) The directory /opt/gfx-test/lib/X11/fonts/TTF/ does not exist.
Entry deleted from font path.
(WW) The directory /opt/gfx-test/lib/X11/fonts/OTF does not exist.
Entry deleted from font path.
(WW) The directory /opt/gfx-test/lib/X11/fonts/Type1/ does not exist.
Entry deleted from font path.
(WW) The directory /opt/gfx-test/lib/X11/fonts/100dpi/ does not exist.
Entry deleted from font path.
(WW) The directory /opt/gfx-test/lib/X11/fonts/75dpi/ does not exist.
Entry deleted from font path.
(==) FontPath set to:
built-ins
(==) ModulePath set to /opt/gfx-test/lib/xorg/modules
(==) |--Input Device Configured Mouse
(==) |--Input Device Generic Keyboard
(==) The core pointer device wasn't specified explicitly in the layout.
Using the first core pointer device.
(==) The core keyboard device wasn't specified explicitly in the layout.
Using the first keyboard device.
(II) Loader magic: 0x81dcaa0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 9

(--) PCI:*(0:0:2:0) 8086:2992:103c:2801 rev 2, Mem @ 0xf040/1048576,
0xe000/268435456, I/O @ 0x1100/8
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: extmod
(II) Loading /opt/gfx-test/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.6.99.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: dbe
(II) Loading /opt/gfx-test/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.6.99.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: glx
(II) Loading /opt/gfx-test/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor=X.Org Foundation
compiled for 1.6.99.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) 

Problem regarding configuring X server

2009-09-15 Thread Flittigs at PICT
Hello all,

We are undergraduate students.We are trying to configure X server for MPX
support as a part of our undergraduate project. We are configuring the X
server but  while configuring libX11 package error as No package 'xproto'
found 

So we configured xproto with following command :

*sudo ./autogen.sh --prefix=/opt/gfx-test/
*
and set the path for PKG_CONFIG_PATH  and aclocal path as

*export PKG_CONFIG_PATH=/opt/gfx-test/lib/pkgconfig
*export aclocal

We checked the directory contents in the /opt/gfx-test/lib/pkgconfig
and it is showing the file xproto.pc

we also checked the version of xproto by command :

*pkg-config --modversion xproto
*
so it is showing
7.0.15


But still the xproto error is persisting.



http://www.x.org/wiki/Development/git

1) In that script initially all the required packages were cloned into
respective folder.

2) After that
While doing that we faced a problem while configuring libX11. Initially we
configured libX11 as per following procedure:

-- 
Regards,

Sneha Runwal
Pratik Munot
Amey Moghe
Mrunal Nargunde
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Problem regarding configuring X server

2009-09-15 Thread Flittigs at PICT
Hello all,
Sorry for previous mail as it was sent incomplete by mistake!!!

We are undergraduate students.We are trying to configure X server for MPX
support as a part of our undergraduate project. We are configuring the X
server but  while configuring libX11 package error as follows:


checking for XPROTO... configure: error: Package requirements (xproto =
7.0.13) were not met:

No package 'xproto' 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 XPROTO_CFLAGS
and XPROTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.




So we configured xproto with following command :

*sudo ./autogen.sh --prefix=/opt/gfx-test/
*
and set the path for PKG_CONFIG_PATH  and ACLOCAL path as

*export PKG_CONFIG_PATH=/opt/gfx-test/lib/pkgconfig
export ACLOCAL = aclocal -l /opt/gfx-test/share/aclocal/*

We checked the directory contents in the /opt/gfx-test/lib/pkgconfig
and it is showing the file xproto.pc

we also checked the version of xproto by command :

*pkg-config --modversion xproto
*
so it is showing
*7.0.15*

But still the xproto error is persisting. Please help in this regard.

Thanx..



http://www.x.org/wiki/Development/git
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Problem regarding configuring X server

2009-09-15 Thread Chris Wilson
Excerpts from Flittigs at PICT's message of Tue Sep 15 11:47:57 +0100 2009:
 So we configured xproto with following command :
 
 *sudo ./autogen.sh --prefix=/opt/gfx-test/
   

There is your problem. Always think long and hard before you invoke root
privileges. In this case sudo is sanitising your environment and
removing PKG_CONFIG_PATH and ACLOCAL. Configure and build the xserver
(and its dependencies) using your normal account, and iff you need more
privileges invoke sudo to perform the 'make install'. Though I would
just change the prefix to install into a writeable location.
-ickle
-- 
chris.wil...@intel.com
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg