|
Message-ID: <20011220204752.A9208@p2.gsib.ru> Date: Thu, 20 Dec 2001 20:47:52 +0300 From: Anatoly Pugachev <mator@...b.ru> To: owl-users@...ts.openwall.com Subject: Owl version 0.1 and building XFree86 from cvs Hello! Just discovered small problem while building yesterday cvs XFree86 with my Owl version 0.1 By default Owl is using GNU GCC compiler version 2.95.3 which is lack of support '-undef' command line options [/lib/cpp -undef], so it can't make right man pages. I have not tried to build xfree man-pages with later GNU GCC versions like 3.x. here is my report: >From mator@...b.ru Thu Dec 20 19:07:48 2001 Date: Thu, 20 Dec 2001 19:11:20 +0300 From: Anatoly Pugachev <mator@...b.ru> To: xbugs@...rg Bcc: owl-users@...ts.openwall.com Subject: Building X man-pages with gnu gcc: don't build while make install.man Message-ID: <20011220191120.B7854@...gsib.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Status: RO Content-Length: 1285 Lines: 48 VERSION: R6.5.1 CLIENT MACHINE and OPERATING SYSTEM: Owl (version 0.1) Linux 2.2.20 on Intel(x86) (http://www.openwall.com/Owl/) DISPLAY TYPE: XF86_* WINDOW MANAGER: xterm COMPILER: gcc version 2.95.3 20010315 (release) AREA: config SYNOPSIS: If you have gcc version 2.95.3 compiler, then man pages wont build, because of GNU GCC version 2.95.3 doesn't support '-undef' command line switch. DESCRIPTION: Example: $ cd ~/code/xc/programs/Xserver $ make install.man rm -f Xserver._man /lib/cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__filemansuffix__=5x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__projectroot__=/usr/X11R6 -D__xorgversion__='"Release 6.5" "X Version 11"' -D__vendorversion__="Version `echo 4 1 99 2 | sed 's/ /./g'` XFree86" <Xserver.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^XCOMM$/s//#/' -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >Xserver._man cpp: Invalid option `-undef' and now you have empty Xserver._man Simple solution is to disable to use '-undef' command-line option with '/lib/cpp' in config files (xc/config/cf/*) while building with GNU GCC 2.95.3 REPEAT BY: Install GNU GCC 2.95.3 and try to {build and install} xfree86 man pages. SAMPLE FIX: regards. -- /mator
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.