Error compiling XFree86 4.3

2003-07-13 Thread Antony Gelberg
Hi all,

It fails when it can't find zlib.h.  Anyone know how to fix this?  I'm
usually ok at building, having been a sw engineer(!), but this build system
is like Greek to me (i.e. I don't have a clue!).

Antony



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Error compiling XFree86 4.3

2003-07-13 Thread Andreas Janssen
Hello

 It fails when it can't find zlib.h.  Anyone know how to fix this?  I'm
 usually ok at building, having been a sw engineer(!), but this build
 system is like Greek to me (i.e. I don't have a clue!).

You need the header files for zlib. Install zlib1g-dev if you use Woody.
If you use testing or unstable, use apt-cache search zlib | grep dev to
find out which version of the package you need. By the way, you can use
http://packages.debian.org to find out to which package a file you need
belongs.

best regards
Andreas Janssen

-- 
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



compiling xfree86 on a debian system

2003-01-03 Thread b d

Hi,

I have multiple alpha systems, and unfortunately as it
turns out must compile Xfree86 from source, due to the
fact that the official alpha packages of debian do not
currently have my video card supported, yet support
exists according to the xfree86.org website

I have not been able to find a good and easy guide to
follow of the steps involved (specific to debian)
through google has anyone attempted to properly
create debs (yes, I know Branden and his team does of
course, but his packages are lacking my drivers) for
xfree86 that has a step by step guide that I could
follow?  Or should I just download the source from
xfree86 and compile it as one large behemoth and not
worry about trying to use packages due to the
complicated nature of X?   Any thoughts or help
appreciated...

Thanks
b.

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: compiling xfree86 on a debian system

2003-01-03 Thread Nicos Gollan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 03 January 2003 16:47, b d wrote:
 I have not been able to find a good and easy guide to
 follow of the steps involved (specific to debian)
 through google has anyone attempted to properly
 create debs (yes, I know Branden and his team does of
 course, but his packages are lacking my drivers) for
 xfree86 that has a step by step guide that I could
 follow?  Or should I just download the source from
 xfree86 and compile it as one large behemoth and not
 worry about trying to use packages due to the
 complicated nature of X?

Judging from what was said earlier, making debs for X must be living 
hell. I'm pretty happy with the compiled behemoth I'm running. You will 
however run into some dependency problems. To avoid this, you could 
create some fake packages providing the required dependencies (have a 
look at the equivs package for this).

- -- 
Embedded Linux -- True multitasking!
TWO TOASTS AT THE SAME TIME!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+FbYWeOF0+zcVdv8RAvMwAJwNDnLtcVtyGMogqoX+oSBOrqOHGwCcD9ON
wCtthFUNsKninQRvnjnmIF4=
=Rjvy
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: compiling xfree86 on a debian system

2003-01-03 Thread David Z Maze
b d [EMAIL PROTECTED] writes:
 I have multiple alpha systems, and unfortunately as it turns out
 must compile Xfree86 from source, due to the fact that the official
 alpha packages of debian do not currently have my video card
 supported, yet support exists according to the xfree86.org
 website

 I have not been able to find a good and easy guide to follow of the
 steps involved (specific to debian) through google has anyone
 attempted to properly create debs (yes, I know Branden and his team
 does of course, but his packages are lacking my drivers) for xfree86
 that has a step by step guide that I could follow?

If I needed to do this, I'd get the Debian X source ('apt-get source
xserver-xfree86', 'apt-get build-dep xserver-xfree86'), edit to taste,
add a new entry at the top of debian/changelog, and run
'dpkg-buildpackage -rfakeroot' to get packages out.  While you're at
it, you should probably document what you did and submit it as a bug
against the xserver-xfree86 package
(http://bugs.debian.org/xserver-xfree86 has the extensive listing).

(I'd be surprised if Branden *removed* drivers from the XFree86
source; it's entirely possible that some things aren't being built,
though.  If you know what driver you care about and know it isn't
being included, a wishlist bug against xserver-xfree86 wouldn't be
inappropriate, but there's no guarantee that this will actually result
in anything.)

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
Theoretical politics is interesting.  Politicking should be illegal.
-- Abra Mitchell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: compiling xfree86

1999-03-11 Thread Matt Garman
On Wed, Mar 10, 1999 at 02:00:38PM -0600, Matt Garman wrote:
 
 Could anyone offer any advice or pointers as for how to custom compile
 xfree86 as a debian package?  I want to compile using egcc and only
 include support for the video driver that I need (trying to make it a
 bit leaner).  Also, I want the libraries to be thread-safe because
 apparently the default Debian xlibs are not compiled to be thread
 safe.

If I dpkg-source -x *.dsc for the xfree86 source package, then (as
root) just go into the source directory and do a debian/rules binary
the build fails with the following error:

(cd debian ; gcc -O2 -o xserver-wrapper -g xserver-wrapper.c)
touch build
set -e; for i in debian/create-compat-* ; do echo $i; $i ; done; set
+e
debian/create-compat-xlib6
/bin/sh: debian/create-compat-xlib6: Permission denied
make: *** [binary-compat] Error 1

And then it just stops.

Any hints?

-- 
Matt Garman, [EMAIL PROTECTED]
They're always havin' a good time down on the bayou,
 Lord, them delta women think the world of me.
-- Dickey Betts, Ramblin' Man


compiling xfree86

1999-03-10 Thread Matt Garman

Could anyone offer any advice or pointers as for how to custom compile
xfree86 as a debian package?  I want to compile using egcc and only
include support for the video driver that I need (trying to make it a
bit leaner).  Also, I want the libraries to be thread-safe because
apparently the default Debian xlibs are not compiled to be thread
safe.

Thanks,
Matt

-- 
Matt Garman, [EMAIL PROTECTED]
They're always havin' a good time down on the bayou,
 Lord, them delta women think the world of me.
-- Dickey Betts, Ramblin' Man


Re: compiling xfree86

1999-03-10 Thread servis
*- On 10 Mar, Matt Garman wrote about compiling xfree86
 
 Could anyone offer any advice or pointers as for how to custom compile
 xfree86 as a debian package?  I want to compile using egcc and only
 include support for the video driver that I need (trying to make it a

Driver binaries are independant of the other components if I am not
mistaken.

 bit leaner).  Also, I want the libraries to be thread-safe because
 apparently the default Debian xlibs are not compiled to be thread
 safe.
 

I have never done this but this is what I would try.

Download the source, diff and dsc file from you local Debian mirror,
  xfree86_3.3.2.3a-11.diff.gz 263 KbThu Feb 25 05:19:00 1999 
  xfree86_3.3.2.3a-11.dsc   1 KbThu Feb 25 05:20:00 1999 
  xfree86_3.3.2.3a.orig.tar.gz  22419 KbMon Aug 24 00:00:00 1998
^^
 ouch!

Be careful if using a browser like Netscape that likes to screw around
with .gz files.  the diff.gz must not change size or the next step will
fail.

Put them all in a directory somewhere then run,

dpkg-source -x xfree86_3.3.2.3a-11.dsc

This will extract the archive and apply the Debian specific patches to
the original source.  Then go into the extracted directory and make your
changes to the Makefiles that would point to egcc instead of gcc and any
library paths etc.  You would probably also modify the Makefile to only
build your server binary.  Then from the main xfree86 source directory
run './debian/rules'.  Sit back and watch for a few hours depending on
how beefy a machine you have.
 
Branden is this a good start?

-- 
Brian 
-
Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes. 
   - unknown  

Mechanical Engineering[EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


RE: compiling xfree86

1999-03-10 Thread Shaleh

On 10-Mar-99 Matt Garman wrote:
 
 Could anyone offer any advice or pointers as for how to custom compile
 xfree86 as a debian package?  I want to compile using egcc and only
 include support for the video driver that I need (trying to make it a
 bit leaner).  Also, I want the libraries to be thread-safe because
 apparently the default Debian xlibs are not compiled to be thread
 safe.
 

The new ones should be thread safe.  As to the compiler I think setting the CC
environment shold cover it (CC=egcc).


Re: compiling xfree86

1999-03-10 Thread Matt Garman
On Wed, Mar 10, 1999 at 02:00:38PM -0600, Matt Garman wrote:
 Could anyone offer any advice or pointers as for how to custom compile
 xfree86 as a debian package?  I want to compile using egcc and only
 include support for the video driver that I need (trying to make it a
 bit leaner).  Also, I want the libraries to be thread-safe because
 apparently the default Debian xlibs are not compiled to be thread
 safe.

I'm getting somewhere with this, but, now I run into the following
error:

cd ./config/makedepend  rm -f -r Makefile Makefile.dep makedepend
*.o bootstra
p
cd ./config/makedepend  make -f Makefile.proto bootstrap
make[3]: Entering directory
`/mnt/slackware/home/garman/xf/xfree86-3.3.2.3a/conf
ig/makedepend'
Makefile.proto:43: *** missing separator.  Stop.
make[3]: Leaving directory
`/mnt/slackware/home/garman/xf/xfree86-3.3.2.3a/confi
g/makedepend'
make[2]: *** [depend.bootstrap] Error 2
make[2]: Leaving directory
`/mnt/slackware/home/garman/xf/xfree86-3.3.2.3a'
make[1]: *** [World] Error 2
make[1]: Leaving directory
`/mnt/slackware/home/garman/xf/xfree86-3.3.2.3a'
make: *** [build] Error 2

I tried editing that Makefile.proto file, but somehow my changes are
overwritten; I could delete the file and it would just get replaced
with the non-working file.

Any help?

MG

-- 
Matt Garman, [EMAIL PROTECTED]
They're always havin' a good time down on the bayou,
 Lord, them delta women think the world of me.
-- Dickey Betts, Ramblin' Man


Re: compiling xfree86

1999-03-10 Thread Shaleh

On 10-Mar-99 Matt Garman wrote:
 On Wed, Mar 10, 1999 at 02:00:38PM -0600, Matt Garman wrote:
 Could anyone offer any advice or pointers as for how to custom compile
 xfree86 as a debian package?  I want to compile using egcc and only
 include support for the video driver that I need (trying to make it a
 bit leaner).  Also, I want the libraries to be thread-safe because
 apparently the default Debian xlibs are not compiled to be thread
 safe.
 
 I'm getting somewhere with this, but, now I run into the following
 error:
 

Use the provided debian package source.  This should build nicely.  Get the
debget package and do debget package.  Then run dpkg-source foo.dsc.  Then cd
into source directory and run dpkg-buildpackage as roto or use fakeroot/sudo. 
This will make deb packages just as if you had downloaded them.

You can tweak the contined make files of course.


Re: Compiling XFree86 -- no makefile in doc directory...?

1998-09-10 Thread David R Baker
Hi,

I have been working on building XFree86, though the version on the CD's
I think just before yours.

After some time comsuming experimentation (it's big!) and finding
libraries I did not have -dev versions of (joystick and libz), I
found the following sequence to work for me:

cd wherever
dpkg-source -x blah.dsc
debian/rules clean
debian/rules build
debian/rules binary .

Policy says that only debian/rules binary should be necessary, but I
had problems.  There were permission problems the clean fixed.  I
could be wrong, but it appears to me that binary does not have build
as a prerequisite and so several things that build does don't get done.
I do not file a bug not being sure and I'm sure I would have problems
maintaining such a large package.

You may want to see if you can get unmodified source to build before
modifying.

I have a 33MH 486 making each attempt ~24 hrs, so this is not
extensively
checked out, but it appears to have worked for me.

Any comments from Debian X developers appreciated.

drb


Re: Compiling XFree86 -- no makefile in doc directory...?

1998-09-10 Thread Preston Landers
David R Baker wrote:

 I have been working on building XFree86, though the version on the CD's
 I think just before yours.

I am using the files in the hamm directory, which, AFAIK is the same as
what's on the CD.
 
 cd wherever
 dpkg-source -x blah.dsc
 debian/rules clean
 debian/rules build
 debian/rules binary .

This is the clue that I was searching for.  I did not have the .dsc
file, did not know anything about dpkg-source.  But, after doing that,
debian/rules clean finally worked for me, where it did not before.  So,
now it is in the (long) process of building the entire package.  I am
reasonably confident that I am now on the right track ... certainly
further along than I was before I got your message.  So, I must thank
you for being a big help!!
 
 Policy says that only debian/rules binary should be necessary, but I
 had problems.  There were permission problems the clean fixed.  I
 could be wrong, but it appears to me that binary does not have build
 as a prerequisite and so several things that build does don't get done.
 I do not file a bug not being sure and I'm sure I would have problems
 maintaining such a large package.

Well, that's interesting, but I don't really know anything about it. 
I'm doing debian/rules build right now. 

 You may want to see if you can get unmodified source to build before
 modifying.

True... though I thought, what the hell, just patch it and see if it
goes.  You did get me past my stumbling point.
 
Thanks again!!

--Preston


Re: Compiling XFree86 -- no makefile in doc directory...?

1998-09-10 Thread David R Baker
Preston Landers wrote:
 
 David R Baker wrote:
 
  I have been working on building XFree86, though the version on the CD's
  I think just before yours.
 
 I am using the files in the hamm directory, which, AFAIK is the same as
 what's on the CD.
 

The version you are using has a new patch from Xfree86, but the Debian
stufff may be mostly unchanged.

  cd wherever
  dpkg-source -x blah.dsc
  debian/rules clean
  debian/rules build
  debian/rules binary .
 
 This is the clue that I was searching for.  I did not have the .dsc
 file, did not know anything about dpkg-source.  But, after doing that,
 debian/rules clean finally worked for me, where it did not before.  So,
 now it is in the (long) process of building the entire package.  I am
 reasonably confident that I am now on the right track ... certainly
 further along than I was before I got your message.  So, I must thank
 you for being a big help!!
 
  Policy says that only debian/rules binary should be necessary, but I
  had problems.  There were permission problems the clean fixed.  I
  could be wrong, but it appears to me that binary does not have build
  as a prerequisite and so several things that build does don't get done.
  I do not file a bug not being sure and I'm sure I would have problems
  maintaining such a large package.
 
 Well, that's interesting, but I don't really know anything about it.
 I'm doing debian/rules build right now.
 
  You may want to see if you can get unmodified source to build before
  modifying.
 
 True... though I thought, what the hell, just patch it and see if it
 goes.  You did get me past my stumbling point.
 
 Thanks again!!
 

Hope this helps!

 --Preston
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Compiling XFree86 -- no makefile in doc directory...?

1998-09-10 Thread David R Baker
Hi,

Sorry to hear problems continue.  The version I built was
xfree86_3.3.2.2-4.dsc debian 2.0  CD ( from linux central)   The ftp
site is now 2.0r2 and X is 3.3.2.3-1 I think .  The changelog does
say that xfree86 was updated with an upstream patch.  Maybe there's
a new problem. :(  Don't know what else to say.

drb

Preston Landers wrote:
 
 Damn! It fails with the same can't make clean in doc error even with
 no patches or anything but a fresh source install.  Damn damn damn.  I
 don't know.  I guess I'll download either the Debian-Slink X packages
 and hope the problem is fixed, or just get the Xfree86 source directly
 ... though I much prefer dealing with the Debian package system. Damn.
 OK, anyway, thanks for your help ... do you have any further suggestions
 for me?  I really appreciate it!
 
 ---Preston
 
 David R Baker wrote:
 
  After some time comsuming experimentation (it's big!) and finding
  libraries I did not have -dev versions of (joystick and libz), I
  found the following sequence to work for me:
 
  cd wherever
  dpkg-source -x blah.dsc
  debian/rules clean
  debian/rules build
  debian/rules binary .
 


Compiling XFree86 -- no makefile in doc directory...?

1998-09-09 Thread Preston Landers
Hi there, 

I've got the xfree86_3.3.2.3.orig.tar.gz and xfree86_3.3.2.3-1.diff
files.

I'm trying to compile my own Xfree86 to a) use PGCC 1.1b optimizations
and b) compile XTT (X TrueType) into it hopefully.

I unpack the .tar.gz file, apply my patches succesfully, and run

debian/rules binary

I get pretty far, but then it chokes on:


... stuff here ...
cleaning in ./doc
entering directory .../xfree86/doc
*** No rule to make target clean. Stop.

and then of course, it bails out on me.

Sure enough, the doc directory has a blank makefile.  I tried just
putting a clean:: into it but that didn't work.

What can I do?  Has anyone else encountered this?  Does someone have a
valid doc makefile that I can use?  Or can otherwise clue me in on what
I am missing?

Your help is *greatly* appreciated.

sincerely,

Preston Landers
[EMAIL PROTECTED]