[BSD] py-wxpython compile gond
Laszlo Zsolt Nagy
nagylzs at freemail.hu
2005. Jan. 12., Sze, 21:32:33 CET
Akkor most válaszolok magamnak. Manuálisan be kellett frissíteni az
xorg-libraries-t a py-wxPython előtt.
Tanulság: ha van rá mód, akkor mindig használd a portupgrade-et és a
portinstall-t a sima make helyett.
Laci
> Most frissítettem be az egész ports-ot cvsup-pal. Ezek után:
>
> cd /usr/ports/x11/py-wxPython
> make
>
> Eredménye:
>
> making all in programs/x11perf...
> cc -O -pipe -ansi -pedantic -Wno-system-headers -Dasm=__asm -Wall
> -Wpointer-arith -Wundef -I/usr/ports/x11/xorg-clients/work/xc
> -I/usr/ports/x11/xorg-clients/work/xc/exports/include
> -I/usr/X11R6/include -I/usr/local/include
> -I/usr/local/include/freetype2 -I/usr/local/include/freetype2/config
> -I/usr/ports/x11/xorg-clients/work/xc/exports/include/X11
> -I/usr/ports/x11/xorg-clients/work/xc
> -I/usr/ports/x11/xorg-clients/work/xc/exports/include
> -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO
> -DMITSHM -DXFT -DXFREE86_FT2 -DXRENDER -c do_traps.c
> do_traps.c:113: error: syntax error before '*' token
> do_traps.c:113: warning: type defaults to `int' in declaration of `traps'
> do_traps.c:113: error: ISO C forbids data definition with no type or
> storage class
> do_traps.c: In function `InitFixedTraps':
> do_traps.c:129: error: `XTrap' undeclared (first use in this function)
> do_traps.c:129: error: (Each undeclared identifier is reported only once
> do_traps.c:129: error: for each function it appears in.)
> do_traps.c:129: error: `curTrap' undeclared (first use in this function)
> do_traps.c:130: warning: ISO C90 forbids mixed declarations and code
> do_traps.c:144: error: syntax error before ')' token
> do_traps.c:207: warning: value computed is not used
> do_traps.c: In function `DoFixedTraps':
> do_traps.c:248: warning: implicit declaration of function
> `XRenderAddTraps'
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients/work/xc/programs/x11perf.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-clients.
> *** Error code 1
>
> Stop in /usr/ports/x11-fonts/xorg-fonts-truetype.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/pango.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/wxgtk2.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/py-wxPython.
> solaris#
>
További információk a(z) BSD levelezőlistáról