Re: make files fail, asking for c++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 22, 2003 at 11:57:49AM -0600, root wrote:
>Hello,
>
>I'm trying to compile XFree86-4.3.99.15 using make World >& world.log, however 
>it fails, as seen from the world.log file. The Imakefiles generates a 
>spurious reference to a c++ compiler, however, gcc should probably be used.
>
>I'm running a VIA Nehemiah M10000 Debian Sarge system with 512 MB RAM. The 
>VESA driver does not work.
>
>I also had to modify the Imake file for xc/lib/lbxutil/lbx_zlib by adding 
>-I../../../extras/zlib. zlib seems to be moved from -I../../zlib. Here is the 

It is expecting to find those headers in /usr/include.  HasZlib is
enabled by default on Linux, which means the system supplied version is
used, and so the package containing the zlib headers must be installed.

>/bin/sh: line 1: c++: command not found

I'm not sure why linux.cf defines CplusplusCmd to 'c++' instead of, say,
'g++'.  I think there was a reason though.  If your system doesn't
provide 'c++' as another name for the GNU C++ complier, add the following
line to your xc/config/cf/host.def file:

#define CplusplusCmd g++

If that doesn't work, check that you have the g++ packages installed.

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux