Re: [XFree86] xf-4-5-0 build error

2005-09-28 Thread Marc Aurele La France

On Wed, 28 Sep 2005, cc wrote:


$make World



depending in programs/xcursorgen...
make[3]: Entering directory `/home/me/src/xf-4-5-0/build/programs/xcursorgen'
../../config/makedepend/makedepend  --   -I../..
-I../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
   -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE
  -D_GNU_SOURCE-DFUNCPROTO=15
-DNARROWPROTO  -- xcursorgen.c
../../config/makedepend/makedepend: warning:
/usr/include/gnu/stubs.h:  non-portable whitespace encountered at line
7
../../config/makedepend/makedepend: warning:  xcursorgen.c, line 35:
cannot find include file png.h
   not in ../../png.h
   not in ../../exports/include/png.h
   not in /usr/local/lib/gcc-include/png.h
   not in /usr/include/png.h
   not in /usr/local/lib/gcc/i686-pc-linux-gnu/4.0.1/include/png.h
depending in programs/xcursorgen/redglass...



making all in programs/xcursorgen/redglass...
make[4]: Entering directory
`/home/me/src/xf-4-5-0/build/programs/xcursorgen/redglass'
LD_LIBRARY_PATH=../../../exports/lib  ../../../exports/bin/xcursorgen
X_cursor.cfg X_cursor
../../../exports/bin/xcursorgen: error while loading shared libraries:
libpng.so.3: cannot open shared object file: No such file or directory
make[4]: *** [X_cursor] Error 127
make[4]: Leaving directory
`/home/me/src/xf-4-5-0/build/programs/xcursorgen/redglass'



libpng is installed in /usr/local/lib


Put the following in xc/config/cf/host.def and re-`make World`.

#define LibpngDir /usr/local
#define LibpngDirStandard YES

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Academic Information and|  fax:1-780-492-1729   |
|Communications Technologies   |  email:  [EMAIL PROTECTED]  |
|  352 General Services Building   +---+
|  University of Alberta   |   |
|  Edmonton, Alberta   | Standard disclaimers apply|
|  T6G 2H1 |   |
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] xf-4-5-0 build error

2005-09-26 Thread Marc Aurele La France

On Tue, 27 Sep 2005, cc wrote:


error when build xfree86 4.5.0 under kernel 2.6.13.2, gcc3.3.6,
'/usr/include/linux' copied from 2.6.13.2 kernel source after build,

  ^^^

This is the problem.  Read the FAQ at kernel.org.


the message is:

In file included from xf86Ur-98.c:8:
/usr/include/linux/joystick.h:131: error: syntax error before __s64
/usr/include/linux/joystick.h:135: error: syntax error before '}' token
In file included from xf86Ur-98.c:8:
/usr/include/linux/joystick.h:142:2: #error Unexpected BITS_PER_LONG
make[7]: *** [xf86Ur-98.o] Error 1


Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Academic Information and|  fax:1-780-492-1729   |
|Communications Technologies   |  email:  [EMAIL PROTECTED]  |
|  352 General Services Building   +---+
|  University of Alberta   |   |
|  Edmonton, Alberta   | Standard disclaimers apply|
|  T6G 2H1 |   |
|  CANADA  |   |
+--+---+
XFree86 developer and VP.  ATI driver and X server internals.
___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86