Help with compiling X 4.2.0

2002-03-19 Thread Matt Jones

I am trying to compile X so that I can use my Geforce2 video card.
I am running debian 2.2r2 and did a clean install yesterday.
I put the source code on the drive and began compiling. The make World 
worked fine, but when I did make Install I recieved the following errors...



...
rm -f gunzip.o
gcc -c -O2 -fno-strength-reduce  -ansi -pedantic -Wall -Wpointer-arith  
-I../../../include/fonts -I../include -I../../../programs/Xserver/include 	  
-I../../../include  -I../../.. -I../../../exports/include   -Dlinux 
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   
-DFONTDIRATTRIB 	  -DBUILD_SPEEDO -DBUILD_TYPE1 -DBUILD_CID 	  
-DBUILD_FREETYPE  
-DFONT_ENCODINGS_DIRECTORY=\/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\ 
  -DX_GZIP_FONT_COMPRESSION   gunzip.c

gunzip.c:9: zlib.h: No such file or directory
make[4]: *** [gunzip.o] Error 1
make[4]: Leaving directory `/home/matt/xc/lib/font/fontfile'
make[3]: *** [fontfile] Error 2
make[3]: Leaving directory `/home/matt/xc/lib/font'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/matt/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/matt/xc'
make: *** [install] Error 2


How can I fix this error, or is it an error I can fix?
Does anyone know what this means?

Thanks

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




Re: Help with compiling X 4.2.0

2002-03-19 Thread Jean-Marc V. Liotier
On Tue, 2002-03-19 at 23:20, Matt Jones wrote:
 gunzip.c:9: zlib.h: No such file or directory

apt-get install zlib1g-dev



signature.asc
Description: This is a digitally signed message part


Re: Help with compiling X 4.2.0

2002-03-19 Thread Bill Triplett
On Tue, 2002-03-19 at 17:20, Matt Jones wrote:
 I am trying to compile X so that I can use my Geforce2 video card.
 I am running debian 2.2r2 and did a clean install yesterday.
 I put the source code on the drive and began compiling. The make World 
 worked fine, but when I did make Install I recieved the following errors...
 
 ...
 rm -f gunzip.o
 gcc -c -O2 -fno-strength-reduce  -ansi -pedantic -Wall -Wpointer-arith  
 -I../../../include/fonts -I../include -I../../../programs/Xserver/include 
   
  -I../../../include  -I../../.. -I../../../exports/include   -Dlinux 
 -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
 -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   
 -DFONTDIRATTRIB -DBUILD_SPEEDO -DBUILD_TYPE1 -DBUILD_CID
 -DBUILD_FREETYPE  
 -DFONT_ENCODINGS_DIRECTORY=\/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\
  
-DX_GZIP_FONT_COMPRESSION   gunzip.c
 gunzip.c:9: zlib.h: No such file or directory
 
 How can I fix this error, or is it an error I can fix?
 Does anyone know what this means?

The zlib.h file is missing.
[btt]$ dpkg -S zlib.h
xlibs-dev: /usr/X11R6/include/X11/extensions/lbxzlib.h
zlib1g-dev: /usr/include/zlib.h
libbz2-dev: /usr/include/bzlib.h

Try installing the zlib1g-dev package (on Woody it is zlib1g-dev).

Good luck...
Bill




Re: Help with compiling X 4.2.0

2002-03-19 Thread Crispin Wellington
On Wed, 2002-03-20 at 06:20, Matt Jones wrote:
 I am trying to compile X so that I can use my Geforce2 video card.
 I am running debian 2.2r2 and did a clean install yesterday.
 I put the source code on the drive and began compiling. The make World 
 worked fine, but when I did make Install I recieved the following errors...
 
 
 ...
 rm -f gunzip.o
 gcc -c -O2 -fno-strength-reduce  -ansi -pedantic -Wall -Wpointer-arith  
 -I../../../include/fonts -I../include -I../../../programs/Xserver/include 
   
  -I../../../include  -I../../.. -I../../../exports/include   -Dlinux 
 -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
 -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   
 -DFONTDIRATTRIB -DBUILD_SPEEDO -DBUILD_TYPE1 -DBUILD_CID
 -DBUILD_FREETYPE  
 -DFONT_ENCODINGS_DIRECTORY=\/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\
  
-DX_GZIP_FONT_COMPRESSION   gunzip.c
 gunzip.c:9: zlib.h: No such file or directory
 make[4]: *** [gunzip.o] Error 1
 make[4]: Leaving directory `/home/matt/xc/lib/font/fontfile'
 make[3]: *** [fontfile] Error 2
 make[3]: Leaving directory `/home/matt/xc/lib/font'
 make[2]: *** [install] Error 2
 make[2]: Leaving directory `/home/matt/xc/lib'
 make[1]: *** [install] Error 2
 make[1]: Leaving directory `/home/matt/xc'
 make: *** [install] Error 2
 
 
 How can I fix this error, or is it an error I can fix?
 Does anyone know what this means?

Install the zlib dev package.

apt-get install zlib1g-dev

All those different dev packages contain the header files (.h) for
developing software (or compiling) for the various libraries.

Kind Regards

Crispin Wellington



compiling X apps (Woody)

2001-01-04 Thread Shaun Jackman
What packages are need to compile an X app?
after a ./configure I get...
checking for X... configure: error: Can't find X includes. Please check your 
installation and add the correct paths!

Thanks,
Shaun



Compiling X

2000-03-08 Thread Andrei Ivanov
Hi all. I recently had to build 3.3.6 version for glibc2.0. Went
smoothhowever, after I replaced video card this morning, and reran
XF86Setup, I ran into problems with users starting X (root can do it
fine):
Fatal Server Error: 
xf86OpenConsole: Server must be running with root
permissions. You should be using Xwrapper to start server or xdm. We
strongly advise against making server SetUID.

I've recompilied X and turned off all SetUID flags I could find but
nothing seems to work still. And I kinda want to get back into user shell
(for one thing, I can not use netscape and xchat, I'd stay root if not
those things). Any suggestions?
TIA,
  Andrew
-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 http://scorpio.dynodns.net -|
 http://scorpio.myip.org-|   --All the pages bundled together.
 http://arshes.dyndns.org   -|  If one does not work, try another :)
 UIN 12402354

 To get my GnuPG public key, go to 
 scorpio.dynodns.net/GnuPG   
 scorpio.myip.org/GnuPG
 arshes.dyndns.org/GnuPG
-


Re: Compiling X

2000-03-08 Thread Ron Rademaker
Why are you compiling X??
Do you know debian packages?
To my experience they work a lot easier then compiling yourself
Just download the .deb packages you need (or use apt, you want the newest
x but perhaps you don't want to upgrade your whole system to potato or
woody, in that case you should download) and install them using dpkg...

Ron

On Wed, 8 Mar 2000, Andrei Ivanov wrote:

 Hi all. I recently had to build 3.3.6 version for glibc2.0. Went
 smoothhowever, after I replaced video card this morning, and reran
 XF86Setup, I ran into problems with users starting X (root can do it
 fine):
 Fatal Server Error: 
 xf86OpenConsole: Server must be running with root
 permissions. You should be using Xwrapper to start server or xdm. We
 strongly advise against making server SetUID.
 
 I've recompilied X and turned off all SetUID flags I could find but
 nothing seems to work still. And I kinda want to get back into user shell
 (for one thing, I can not use netscape and xchat, I'd stay root if not
 those things). Any suggestions?
 TIA,
   Andrew
 -
  Andrei S. Ivanov  
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
  http://scorpio.dynodns.net -|
  http://scorpio.myip.org-|   --All the pages bundled together.
  http://arshes.dyndns.org   -|  If one does not work, try another :)
  UIN 12402354
 
  To get my GnuPG public key, go to 
  scorpio.dynodns.net/GnuPG   
  scorpio.myip.org/GnuPG
  arshes.dyndns.org/GnuPG
 -
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 


Re: Compiling X

2000-03-08 Thread Andrei Ivanov
I need to use 3.3.6 b/c of my video card, and only 3.2.11 version is
avaibliel for slink that I use. I dont want to upgrade to potato right
now, until I can get a CD. I don't think I could install 3.3.6 from
potato b/c of the dependencies, unless I upgrade the systemam I wrong
on that?
Andrew


 Why are you compiling X??
 Do you know debian packages?
 To my experience they work a lot easier then compiling yourself
 Just download the .deb packages you need (or use apt, you want the newest
 x but perhaps you don't want to upgrade your whole system to potato or
 woody, in that case you should download) and install them using dpkg...
 
 Ron
 
 On Wed, 8 Mar 2000, Andrei Ivanov wrote:
 
  Hi all. I recently had to build 3.3.6 version for glibc2.0. Went
  smoothhowever, after I replaced video card this morning, and reran
  XF86Setup, I ran into problems with users starting X (root can do it
  fine):
  Fatal Server Error: 
  xf86OpenConsole: Server must be running with root
  permissions. You should be using Xwrapper to start server or xdm. We
  strongly advise against making server SetUID.
  
  I've recompilied X and turned off all SetUID flags I could find but
  nothing seems to work still. And I kinda want to get back into user shell
  (for one thing, I can not use netscape and xchat, I'd stay root if not
  those things). Any suggestions?
  TIA,
Andrew
  -
   Andrei S. Ivanov  
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
   http://scorpio.dynodns.net -|
   http://scorpio.myip.org-|   --All the pages bundled together.
   http://arshes.dyndns.org   -|  If one does not work, try another :)
   UIN 12402354
  
   To get my GnuPG public key, go to 
   scorpio.dynodns.net/GnuPG   
   scorpio.myip.org/GnuPG
   arshes.dyndns.org/GnuPG
  -
  
  
  -- 
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
  
 
 

-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 http://scorpio.dynodns.net -|
 http://scorpio.myip.org-|   --All the pages bundled together.
 http://arshes.dyndns.org   -|  If one does not work, try another :)
 UIN 12402354

 To get my GnuPG public key, go to 
 scorpio.dynodns.net/GnuPG   
 scorpio.myip.org/GnuPG
 arshes.dyndns.org/GnuPG
-


compiling X from the debian sources doesn't work.

1999-05-13 Thread Frankie
Hi,

I recently bought the cheapbytes debian 2.1 CD's. Because the computer
that I am using at the moment is a P-60, there is a strong urgency to
tweak every last bit of speed out of my system.

I decided to recompile my x-server and libraries in order to eek a bit
more speed
out of X, by using pentium optimisations ( I used pentium-builder
package. )

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 :-) )

(I have also tried dpkg-deb, build, etc, etc and I still get these
errors.)

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

Re: Problem when compiling X-Programs

1997-05-18 Thread Rick Jones

Make sure there's a -L/usr/X11R6/lib entry in the gcc args.


On Sat, 17 May 1997, AUBORD Alain wrote:

 I am trying to compile X-Programs, but I cannot link them. I get always the
 messages libraries Xaw, Xmt not found.
 
 This arise when I try to compile the last version of X-Board, but I have all
 these libraries installed in /usr/X11R6/lib.
 
 
 Any help would be appreciated .
 
 
 A.Aubord
 
 My address:
   e-mail:[EMAIL PROTECTED]
   Surface Mail:
 A.Aubord
 System Manager
 Chemin d'Ecogia 16
 CH-1290 Versoix
 Switzerland.
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . 
 Trouble?  e-mail to [EMAIL PROTECTED] .
 

L8R,

--Rick

Unsolicited commercial/propaganda email subject to legal action.  Under US
Code Title 47, Sec.227(a)(2)(B), Sec.227(b)(1)(C), and Sec.227(b)(3)(C), a
State may impose a fine of NOT LESS than $500 per message.  Read the full
text of Title 47 Sec 227 at http://www.law.cornell.edu/uscode/47/227.html



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Problem when compiling X-Programs

1997-05-17 Thread AUBORD Alain
I am trying to compile X-Programs, but I cannot link them. I get always the
messages libraries Xaw, Xmt not found.

This arise when I try to compile the last version of X-Board, but I have all
these libraries installed in /usr/X11R6/lib.


Any help would be appreciated .


A.Aubord

My address:
  e-mail:[EMAIL PROTECTED]
  Surface Mail:
A.Aubord
System Manager
Chemin d'Ecogia 16
CH-1290 Versoix
Switzerland.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Problem when compiling X-Programs

1997-05-17 Thread joost witteveen
 I am trying to compile X-Programs, but I cannot link them. I get always the
 messages libraries Xaw, Xmt not found.
 
 This arise when I try to compile the last version of X-Board, but I have all
 these libraries installed in /usr/X11R6/lib.

I'll answer this one several times: 

-direct answer:
  Add -L/usr/X11R6/lib to the gcc commandline when linking (the last
  stage)

-somewhat more complete answer:
  Most X programmes come with an Imakefile, that is used to generate
  a Makefile that is tailored to the local system with the xmkmf command,
  that knows excactly where all libraries/headerfiles/whatever are
  on the local system. Your best bet is to check if your app
  has an Imakefile, and if it does, run xmkmf. This
  (on any Debian system, anyway) will generate an Makefile that
  knows correctly where the X libs are.

-YetAnotherAnswer:
  Doesn't debian have an X-Board package (GNU something?).
  In that case, simply get the xboard files from your debian mirror,
  run dpkg-source -x xboard*.dsc, cd to the sourcedir, and run
  ./debian/rules build. This _should_ do everything correctly,
  and if not, file a bug report against the Xboard pacakge.


-- 
joost witteveen, [EMAIL PROTECTED]
#!/bin/perl -sp0777iX+d*lMLa^*lN%0]dsXx++lMlN/dsM0j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$kSK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .