Re: [XFree86] install cross-compiled tinyx error

2007-07-04 Thread sci-fi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

(it's one of those sleepless nights here, firecrackers  what-not
;) )

 [...]
 set -x; LD_LIBRARY_PATH=../../../exports/lib
FONTCONFIG_PATH=../../../lib/fontconfig ../../../exports/bin/fc-
cache  -f -v /home/kevinzhu/X11R6/lib/X11/fonts/misc
 + LD_LIBRARY_PATH=../../../exports/lib
 + FONTCONFIG_PATH=../../../lib/fontconfig
 + ../../../exports/bin/fc-cache -f -v
/home/kevinzhu/X11R6/lib/X11/fonts/misc
 /bin/sh: ../../../exports/bin/fc-cache: cannot execute binary file
 make[4]: *** [install] Error 126
 make[4]: Leaving directory
`/home/kevinzhu/TinyXR46/build/fonts/bdf/misc'
 make[3]: *** [install] Error 2
 make[3]: Leaving directory
`/home/kevinzhu/TinyXR46/build/fonts/bdf'
 make[2]: *** [install] Error 2
 make[2]: Leaving directory `/home/kevinzhu/TinyXR46/build/fonts'
 make[1]: *** [install] Error 2
 make[1]: Leaving directory `/home/kevinzhu/TinyXR46/build'
 make: *** [install] Error 2

I can only guess -- fc-cache is made to run during the install
phase of
fontconfig.  Check to be sure your $DISPLAY env-var is set to a
valid number
such as:
export DISPLAY=:0.0
or similar, depending on the shell you're using.
IIUC the fc-cache pgm usually does not need X11 to be actually
running, it just
needs a fake but valid $DISPLAY setting.  I've seen it happen even
when building
the full X11 on 'official' platforms.  ;)

-BEGIN PGP SIGNATURE-
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5

wkYEARECAAYFAkaLQkIACgkQZbt5KOxKrtQz/wCeJfp2h4XxBKsH1DWYGOMe5YyV974A
n20pMRcTdQAD4x+ecnBQrY1pwZIN
=95fk
-END PGP SIGNATURE-


___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] install cross-compiled tinyx error

2007-07-03 Thread kevin
Dear all,

I have successfully cross compiled Tiny-X (Xfbdev, XFree86 revision 4.6),
but when I tried to install it, some error occurred. Does anyone can help
me? Actually, the error occurred at installing the font related thing.

I have searched on Internet, and got some answers, but I could not fully
understand them.
Here's what I found on the Internet.
==
First, this is not a snippet from an XFree86 install. This is a separate
install of the fontconfig library. Secondly (and because of the first),
this build picked up the build host's host.def which doesn't set
CrossCompiling to YES. 

Marc.
==
I do set CrossCompiling to YES in my host.def. How could I solve this
problem? Thanks!

Here's part of the installing log file.

make[3]: Entering directory `/home/kevinzhu/TinyXR46/build/fonts/util'
+ install -c -m 0444 map-ISO8859-1 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-2 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-3 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-4 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-5 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-7 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-8 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-9 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-10 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-11 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-13 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-14 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-15 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-ISO8859-16 /home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-JISX0201.1976-0
/home/kevinzhu/X11R6/lib/X11/fonts/util
+ install -c -m 0444 map-KOI8-R /home/kevinzhu/X11R6/lib/X11/fonts/util
install -c   ucs2any /home/kevinzhu/X11R6/bin/ucs2any
install -c -m 0755 bdftruncate.pl /home/kevinzhu/X11R6/bin/bdftruncate
install in fonts/util done
make[3]: Leaving directory `/home/kevinzhu/TinyXR46/build/fonts/util'
installing in fonts/bdf...
make[3]: Entering directory `/home/kevinzhu/TinyXR46/build/fonts/bdf'
installing in fonts/bdf/misc...
make[4]: Entering directory `/home/kevinzhu/TinyXR46/build/fonts/bdf/misc'
install -c -m 0444 fonts.alias
/home/kevinzhu/X11R6/lib/X11/fonts/misc/fonts.alias
set -x; LD_LIBRARY_PATH=../../../exports/lib
FONTCONFIG_PATH=../../../lib/fontconfig ../../../exports/bin/fc-cache  -f -v
/home/kevinzhu/X11R6/lib/X11/fonts/misc
+ LD_LIBRARY_PATH=../../../exports/lib
+ FONTCONFIG_PATH=../../../lib/fontconfig
+ ../../../exports/bin/fc-cache -f -v
/home/kevinzhu/X11R6/lib/X11/fonts/misc
/bin/sh: ../../../exports/bin/fc-cache: cannot execute binary file
make[4]: *** [install] Error 126
make[4]: Leaving directory `/home/kevinzhu/TinyXR46/build/fonts/bdf/misc'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/kevinzhu/TinyXR46/build/fonts/bdf'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/kevinzhu/TinyXR46/build/fonts'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/kevinzhu/TinyXR46/build'
make: *** [install] Error 2

Regards,
Kevin
Solomon Systech Limited
Direct line: 86169830
Ext: 8830
Email: [EMAIL PROTECTED]
Website: http://www.solomon-systech.com


___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86