Building Modular: Floating point exception when running makekeys

Ashley Hooper ash_hooper at
Tue Jun 6 12:58:08 PDT 2006

Hi Peter,

Thanks muchly for pointing me in the right direction, I may need a tad more
guidance though - see below:

--- Peter Hutterer <mailinglists at> wrote:

> > Ashley Hooper wrote:
> >>> /bin/sh: line 1:  9139 Floating point exception../src/util/makekeys
> >> </home/ash/xorg-cvs/modular/include/X11/keysymdef.h >ks_tables_h
> As I had the same problem and it took me a while to figure everything  
> out, here's the verbose answer:
> $> apt-get install git-core
> in your CVS tree go to lib/ and remove the X11/ directory. then  
> check out libX11 from git.
> $> git clone git://
> $> mv libX11 X11
> by renaming the directory to X11/ the script will build it.
> libX11 is dependent on xcb which you need as well.
> Then you need XCB, which is in git as well.
> $> git clone git://
> $> apt-get install check
> $> cd xcb-proto
> $> ./ --prefix=<wherever>
> $> make
> $> make install

(Incidentally, running the xcb-proto 'make' above gave the "nothing to do"
message for targets 'all' & 'all-am' - not sure if that's important)

Excuse my ignorance, but what should I be putting for the prefix paths in the
above and below autogen commands?  The xcb-proto 'make install' copies a bunch
of files to $prefix/include - I presume it's the same path in all 3 locations,
and that the script is going to expect the resulting files to be
somewhere in the modular source tree?  I'm guessing the most likely candidate
is the directory we renamed from libX11 to X11, now sitting at lib/X11?

> $> export PKG_CONFIG_PATH=<wherever>/lib/pkgconfig
> $> cd xcb
> $> ./ --prefix=<wherever>
> $> make
> $> make install

> Now you should be able the util/modular/ script. My machine  
> is still compiling but it seems to have gotten past the libX11 problem.

Just out of interest, did the compile complete successfully or is it still
going? :-)


"We do not inherit the earth
  from our ancestors;             	...-- 	 __@
 we borrow it from our children"      ....---   _\<,_
 -- Antoine de St. Exupery                     (_) (_)

Send instant messages to your online friends 

More information about the xorg mailing list