From owner-freebsd-questions Fri Jun 11 6:33:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from titan.metropolitan.at (mail.metropolitan.at [195.212.98.131]) by hub.freebsd.org (Postfix) with ESMTP id C1A42151E3 for ; Fri, 11 Jun 1999 06:33:17 -0700 (PDT) (envelope-from mladavac@metropolitan.at) Received: by TITAN with Internet Mail Service (5.0.1458.49) id ; Fri, 11 Jun 1999 15:36:13 +0200 Message-ID: <55586E7391ACD211B9730000C110027617965F@r-lmh-wi-100.corpnet.at> From: Ladavac Marino To: 'Chris McCulloh' , dwhite@resnet.uoregon.edu Cc: freebsd-questions@freebsd.org Subject: RE: Compilation Problems Date: Fri, 11 Jun 1999 15:30:46 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Chris McCulloh [SMTP:dci@ct1.webquill.com] > Sent: Friday, June 11, 1999 3:14 PM > To: dwhite@resnet.uoregon.edu > Cc: freebsd-questions@freebsd.org > Subject: Re: Compilation Problems > > > I appreciate the quick response, however as I said in the original > post, the files themselves are not the problem -- they are already > there. But not to make a complete fool out of myself, I went ahead > yesterday and installed the Xprog distrib using sysinstall. It > installed correctly, and sure enough when I tried to compile anything > using the X includes, the same problem appears. I get the message > about the file not being there, despite the fact that I'm sure it is. > > What could the problem be? > [ML] Your include path being only -I/usr/X11R6/include/X11. Try to add -I/usr/X11R6/include because the #include directive looks for X11/mumble.h, and there is no /usr/X11R6/include/X11/X11/mumble.h OTOH, it may happen that X11R6/include does not have X11 underneath: add a symlink called X11 to current directory. Unfortunately, imake does not always get it right, especially on commercial systems, and then developers work around it in Imakefile which breaks it for the system where imake would have gotten it right (e.g. FreeBSD). /Marino > Thanks > Chris > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message