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

compiling debian sources question?



Hi,

I recently bought the cheapbytes debian 2.1 CD's. Almost everything is
OK. Unfortunately the computer I am using at the moment is a mingy P-60.

I decided to recompile my x-server and libraries (with the
'pentium-builder' package installed) in order to eek a bit more speed
out of X.

However, when I have unpacked the x source and diff (revision 11), and
do dbuild,
after many hours, dbuild quits with errors. (the whole error log
is something like 2.5 MB so I have extracted relevant bits :-) )

These are the errors:



$ grep -n "] Error" *.messages 
19421:make[5]: *** [resource.o] Error 1
19754:make[5]: *** [xrdb.o] Error 1
19940:make[6]: *** [main.o] Error 1
19942:make[5]: *** [dix] Error 2
21692:make[4]: *** [resource.o] Error 1
22113:make[4]: *** [xrdb.o] Error 1
22205:make[5]: *** [main.o] Error 1
22207:make[4]: *** [dix] Error 2
25271:make: *** [binary-arch] Error 1
$

gcc -c -O2 -fno-strength-reduce -ansi -pedantic    -I../..
-I../../exports/inclu
de  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE
=500L -D_BSD_SOURCE -D_SVID_SOURCE -D_REENTRANT   -DFUNCPROTO=15
-DNARROWPROTO  
-DBINDIR=\"/usr/X11R6/bin\"
-DXDMDIR=\"/usr/X11R6/lib/X11/xdm\"                 
                                -DUSESHADOW -DUNIXCONN
-DTCPCONN                
-DGREET_USER_STATIC -DFRAGILE_DEV_MEM          
-DOSMAJORVERSION=2              
-DOSMINORVERSION=2                '-DDEF_SERVER_LINE=":0 local
/usr/X11R6/bin/X 
:0"'             
'-DXRDB_PROGRAM="/usr/X11R6/bin/xrdb"'                  '-DDEF
_SESSION="/usr/X11R6/bin/xterm -ls"'             
'-DDEF_USER_PATH=":/bin:/usr/b
in:/usr/X11R6/bin:/usr/ucb"'             
'-DDEF_SYSTEM_PATH="/etc:/bin:/usr/bin
:/usr/X11R6/bin:/usr/ucb"'               
'-DDEF_SYSTEM_SHELL="/bin/sh"'        
         
'-DDEF_FAILSAFE_CLIENT="/usr/X11R6/bin/xterm"'                  '-DDEF
_XDM_CONFIG="/usr/X11R6/lib/X11/xdm/xdm-config"'                 
'-DDEF_CHOOSER
="/usr/X11R6/lib/X11/xdm/chooser"'               
'-DDEF_AUTH_DIR="/usr/X11R6/li
b/X11/xdm"'              
'-DDEF_GREETER_LIB="/usr/X11R6/lib/X11/xdm/libXdmGreet
.so"' resource.c
gcc.real: local: No such file or directory
gcc.real: :0": No such file or directory
resource.c:0: unterminated string or character constant
resource.c:0: possible real start of unterminated constant
resource.c:0: unterminated string or character constant
resource.c:0: possible real start of unterminated constant
make[5]: *** [resource.o] Error 1


gcc -O2 -fno-strength-reduce -ansi -pedantic    -I../..
-I../../exports/include 
 -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE=50
0L -D_BSD_SOURCE -D_SVID_SOURCE -D_REENTRANT   -DFUNCPROTO=15
-DNARROWPROTO  -DC
PP="\"/lib/cpp -traditional -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
-D_POSI
X_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -D_REENTRANT
\""  -DH
AS_MKSTEMP   -c xrdb.c -o xrdb.o
gcc.real: ": No such file or directory
xrdb.c:0: unterminated string or character constant
xrdb.c:0: possible real start of unterminated constant
In file included from ../../exports/include/X11/Xos.h:149,
                 from xrdb.c:47:
/usr/include/unistd.h:208: macro or `#include' recursion too deep
/usr/include/unistd.h:209: macro or `#include' recursion too deep
/usr/include/unistd.h:212: macro or `#include' recursion too deep
/usr/include/unistd.h:213: macro or `#include' recursion too deep
In file included from ../../exports/include/X11/Xos.h:149,
                 from xrdb.c:47:
/usr/include/unistd.h:860: macro or `#include' recursion too deep
xrdb.c:975: macro or `#include' recursion too deep
xrdb.c:975: macro or `#include' recursion too deep
xrdb.c:976: macro or `#include' recursion too deep
xrdb.c:1279: macro or `#include' recursion too deep
xrdb.c:1279: macro or `#include' recursion too deep
xrdb.c:1351: macro or `#include' recursion too deep
xrdb.c:1351: macro or `#include' recursion too deep
make[5]: *** [xrdb.o] Error 1


gcc -c -O2 -fno-strength-reduce -ansi -pedantic  -I../include
-I../../../exports
/include/X11 -I../../../include/fonts -I../../../include/extensions 
-I../../.. 
-I../../../exports/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
-D_POSI
X_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -D_REENTRANT
-DSHAPE 
-DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY  -DDPMSExtension
-DPIXPRIV  -DGCCU
SESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV  -DXFreeXDGA -DNDEBUG  
-DFUNCP
ROTO=15 -DNARROWPROTO   -DVENDOR_STRING=\""The XFree86 Project, Inc"\"
-DVENDOR_
RELEASE=3320 main.c
gcc.real: XFree86: No such file or directory
gcc.real: Project,: No such file or directory
gcc.real: Inc": No such file or directory
main.c:0: unterminated string or character constant
main.c:0: possible real start of unterminated constant
make[6]: *** [main.o] Error 1
make[6]: Leaving directory
`/mnt/x/TEMP/xfree86-3.3.2.3a/programs/Xserver/dix'
make[5]: *** [dix] Error 2


Then these errors are repeated again (with one lower make[x]), and then:


dpkg-deb: building package `twm' in `../twm_3.3.2.3a-11_i386.deb'.
debian/create-arch-xbase-clients
cp: debian/xtree/usr/X11R6/bin/sessreg: No such file or directory
make: *** [binary-arch] Error 1
*************************
Build finished at 13:44 on 1999-05-03
Build FAILED



Any idea what is going wrong and what I can do about it? Is it to do
with me having pentium-builder installed? without
DEBIAN_ARCHITECTURE=pentium set, it still refuses to build.

The versions of libraries etc. that I have on my system are the standard
slink ones.

cheers for anybody's help,
frankie

P.S. Is it possible to just build one package out of a multi package
source archive? (like e.g. xlib6g and xserver-svga? Part of the reason
it takes so long to build is that it is building the libc5 and assorted
servers (which I don't want) packages.
I HAVE read the man pages + docs about dpkg-deb, build, etc. etc. but
there is a case of a) two much information for me too take in at once,
and b) too many different sets of docs to read. I suppose, given a long
while to read it and ponder it over, I would be able to make sense of
it, but I don't have the time, plus debian-users is just a few
keystrokes away :-)

-- 
Confession is good for the soul only in the sense that a tweed coat is
good
for dandruff.

	--Peter de Vries

http://www.skunkpussy.freeserve.co.uk - Drum'n'Bass music, samples and
links.

ICQ://25576761
begin:vcard 
n:;Frankie
x-mozilla-html:TRUE
url:http://www.skunkpussy.freeserve.co.uk
adr:;;;Birmingham;;;UK
version:2.1
email;internet:frankie@skunkpussy.freeserve.co.uk
title:Mr
x-mozilla-cpt:;-8160
fn:Frankie
end:vcard

Reply to: