BitchX fails to build when gnome is installed because the libzvt headers are in /usr/X11R6/include/gnome-1.0/zvt, instead of /usr/X11R6/include/zvt (or another path within the include path) Fix: A workaround is to make a soft link from /usr/X11R6/include/gnome-1.0/zvt to /usr/X11R6/include/zvt. A patch to the port should probably be made to fix the include path. How-To-Repeat: Install gnomelibs-1.4.1.4_1 Try to build BitchX. The following occurs: cc -I. -I/usr/ports/irc/bitchx/work/BitchX/include -I../include -I. -I./include -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/local/include/glib12 -O -Wall -pipe -c ./term.c In file included from ./term.c:642: gtkbitchx.c:6: zvt/zvtterm.h: No such file or directory followed by a whole bunch of errors.
Hello Julian, BitchX has been updated. I could not reproduce this with BitchX-gnome-1.0c19 and gnomelibs-1.4.1.6_1. Could you? regards arved
On Wed, 2002-05-15 at 10:31, Tilman Linneweh wrote: > BitchX has been updated. > I could not reproduce this with BitchX-gnome-1.0c19 and > gnomelibs-1.4.1.6_1. > > Could you? Yes, I can: ---> Installing 'BitchX-gnome-1.0c19' from a port (irc/bitchx) ---> Building '/usr/ports/irc/bitchx' <snip> cc -I. -I/usr/ports/irc/bitchx/work/BitchX/include -I../include -I. -I./include -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/local/include/glib12 -O -Wall -pipe -c ./term.c In file included from ./term.c:646: gtkbitchx.c:6: zvt/zvtterm.h: No such file or directory In file included from ./term.c:646: gtkbitchx.c: In function `output_info': gtkbitchx.c:487: warning: implicit declaration of function `zvt_term_feed' gtkbitchx.c:487: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:487: (Each undeclared identifier is reported only once gtkbitchx.c:487: for each function it appears in.) gtkbitchx.c:487: syntax error before `)' gtkbitchx.c:487: warning: left-hand operand of comma expression has no effect gtkbitchx.c:487: warning: left-hand operand of comma expression has no effect gtkbitchx.c:487: syntax error before `)' gtkbitchx.c: In function `gtk_sizewindow': gtkbitchx.c:494: warning: implicit declaration of function `zvt_term_set_size' gtkbitchx.c:494: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:494: syntax error before `)' gtkbitchx.c: In function `gtk_contextmenu': gtkbitchx.c:674: warning: implicit declaration of function `zvt_term_get_buffer' gtkbitchx.c:674: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:674: syntax error before `)' gtkbitchx.c:750: warning: implicit declaration of function `vt_get_selection' gtkbitchx.c:750: syntax error before `)' gtkbitchx.c:754: warning: assignment makes pointer from integer without a cast gtkbitchx.c:638: warning: `zvt_buffer' might be used uninitialized in this function gtkbitchx.c: In function `zvt_load_font': gtkbitchx.c:843: warning: implicit declaration of function `zvt_term_set_fonts' gtkbitchx.c:843: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:843: syntax error before `)' gtkbitchx.c:844: syntax error before `)' gtkbitchx.c:845: syntax error before `)' gtkbitchx.c: In function `gtk_windowicon': gtkbitchx.c:869: warning: implicit declaration of function `gdk_imlib_data_to_pixmap' gtkbitchx.c: In function `gtk_command_handler': gtkbitchx.c:1861: warning: implicit declaration of function `zvt_term_set_color_scheme' gtkbitchx.c:1861: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:1861: syntax error before `)' gtkbitchx.c:1910: syntax error before `)' gtkbitchx.c: In function `window_map': gtkbitchx.c:2042: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:2042: syntax error before `)' gtkbitchx.c: In function `gtkbx_init': gtkbitchx.c:2112: warning: implicit declaration of function `zvt_term_new' gtkbitchx.c:2113: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:2113: syntax error before `)' gtkbitchx.c:2114: warning: implicit declaration of function `zvt_term_set_scrollback' gtkbitchx.c:2114: syntax error before `)' gtkbitchx.c:2115: warning: implicit declaration of function `zvt_term_set_blink' gtkbitchx.c:2115: syntax error before `)' gtkbitchx.c:2116: warning: implicit declaration of function `zvt_term_set_bell' gtkbitchx.c:2116: syntax error before `)' gtkbitchx.c:2176: syntax error before `)' gtkbitchx.c:2180: warning: implicit declaration of function `zvt_term_set_background' gtkbitchx.c:2180: syntax error before `)' gtkbitchx.c:2180: warning: left-hand operand of comma expression has no effect gtkbitchx.c:2180: warning: left-hand operand of comma expression has no effect gtkbitchx.c:2180: warning: left-hand operand of comma expression has no effect gtkbitchx.c:2180: syntax error before `)' gtkbitchx.c:2182: syntax error before `)' gtkbitchx.c: In function `gtk_new_window': gtkbitchx.c:2570: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:2570: syntax error before `)' gtkbitchx.c:2571: syntax error before `)' gtkbitchx.c:2572: syntax error before `)' gtkbitchx.c:2576: syntax error before `)' gtkbitchx.c:2576: warning: left-hand operand of comma expression has no effect gtkbitchx.c:2576: warning: left-hand operand of comma expression has no effect gtkbitchx.c:2576: warning: left-hand operand of comma expression has no effect gtkbitchx.c:2576: syntax error before `)' gtkbitchx.c:2633: syntax error before `)' gtkbitchx.c:2644: syntax error before `)' gtkbitchx.c: In function `gui_screen': gtkbitchx.c:3064: `ZvtTerm' undeclared (first use in this function) gtkbitchx.c:3064: syntax error before `)' gtkbitchx.c:3065: syntax error before `)' gtkbitchx.c: In function `gui_startup': gtkbitchx.c:3288: warning: implicit declaration of function `gdk_imlib_init' gmake[1]: *** [term.o] Error 1 gmake[1]: Leaving directory `/usr/ports/irc/bitchx/work/BitchX/source' gmake: *** [gtkBitchX] Error 2 *** Error code 2 Stop in /usr/ports/irc/bitchx. ** Command failed: make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! irc/bitchx (missing header) ]0;jdunn@jedi.office.verticalscope.com: /usr/portsjedi:/usr/ports$ locate zvtterm.h /usr/X11R6/include/gnome-1.0/zvt/zvtterm.h /usr/X11R6/share/gnome/html/zvt/zvt-zvtterm.html /usr/X11R6/share/gnome/html/zvt/zvtterm.html /usr/X11R6/share/gnome/html/zvtterm.html ]0;jdunn@jedi.office.verticalscope.com: /usr/portsjedi:/usr/ports$ pkg_info -W /usr/X11R6/include/gnome-1.0/zvt/zvtterm.h /usr/X11R6/include/gnome-1.0/zvt/zvtterm.h was installed by package gnomelibs-1.4.1.6_1 ]0;jdunn@jedi.office.verticalscope.com: /usr/portsjedi:/usr/ports$ exit Script done on Wed May 15 12:48:37 2002 -- Julian C. Dunn, B.A.Sc. <jdunn@verticalscope.com> Senior Software Developer, VerticalScope Inc. 111 Peter St., Suite 700, Toronto, ON Tel: (416) 341-8950 x236 Fax: (416) 341-8959
State Changed From-To: open->closed Fixed, Thanks for the report!