Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2000 17:44:58 -0400 (EDT)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        Kent Stewart <kstewart@3-cities.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Port build errors with kdbg-1.1.2
Message-ID:  <Pine.BSF.4.10.10004261738170.16429-100000@pawn.primelocation.net>
In-Reply-To: <39076063.13FACB6C@3-cities.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Apr 2000, Kent Stewart wrote:

> "Chris D. Faulhaber" wrote:
> > 
> > On Wed, 26 Apr 2000, Kent Stewart wrote:
> > 
> > > The X11 includes in dockmanager.cpp are not found when I try to build
> > > kdbg. There must be a link not setup on my system, which makes the
> > > makefile error off after compiling very few modules.
> > 
> > And that error would be?
> 
> Making all in DockWidget
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include/X11/q
> t  -I.          -I../STabCtl    -Os -pipe -c dockmainwindow.cpp
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include/X11/q
> t  -I.          -I../STabCtl    -Os -pipe -c dockmanager.cpp
> In file included from dockmanager.cpp:26:
> dockmovemanager.h:31: X11/X.h: No such file or directory
> dockmovemanager.h:32: X11/Xlib.h: No such file or directory
> dockmovemanager.h:33: X11/Xutil.h: No such file or directory
> In file included from dockmanager.cpp:26:
> dockmovemanager.h:122: field `ev' has incomplete type
> dockmanager.cpp: In method `void DockWidget::applyToWidget(QWidget *, const QPoi
> nt & = QPoint(0, 0))':
> dockmanager.cpp:187: implicit declaration of function `int XSetTransientForHint(
> ...)'
> *** Error code 1
> 

You can try the following patch (untested); however, the configure script
should be finding where the X includes are.  Can you send the output of
'make configure'?

-----
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/kdbg/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	2000/04/19 00:57:15	1.9
+++ Makefile	2000/04/26 21:37:36
@@ -20,5 +20,6 @@
 
 GNU_CONFIGURE=	yes
 USE_QT=		yes
+CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${X11BASE}/include"
 
 .include <bsd.port.mk>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004261738170.16429-100000>