[OLPC-devel] No Makefile exist in Xorg7.2

supat at supat.eu.org supat at supat.eu.org
Mon Sep 11 02:00:18 EDT 2006


Hi Jim Gettys,

I already pull full Xorg from the site you reccommended and passed 
compiling the whole content w/o problem.

The site you recommend did NOT have AMD driver too.
However, I got it somewhere else and did plug it in.

THe trick to make small code is simply add in:

CFLAGS=-O2 at top level .sh under the util dir

Or it will produced huge code that took 2 GB space from -g -O2 by default.

BTW: the version I got is not 7.2 but exactly 7.1.99.2

Regards,
supat

On Sat, 9 Sep 2006, supat at supat.eu.org wrote:

> Hi Jim Gettys,
>
> Thank you much FYI:
>
> Reason I use CVS because I don't know how to use git clone in one command 
> line to get the whole dir. So, it waste to get unusable code.
>
> The ftp.x.org provide me Makefile/configure
> And I got amd driver source code that can compile into Xorg7.1
>
> The ugly I got is after compile the whole Xorg are huge :(
> But it did work. I already test running it under OLPC with new BIOS.
>
> It took me very long time compiling because I have to jump to hundread of dir 
> and compile one by one at a time.
>
> I hope the http you gave me can have one script or command line to compile 
> the whole Xorg 7.2 from scratch.
>
> Please give me the trict to make Xorg small. Because I need to move it to 
> small usb storage on OLPC. Now Xorg took near all space in usb.
>
> Thank you,
> supat
>
>
> On Fri, 8 Sep 2006, Jim Gettys wrote:
>
>> Supat,
>> 
>> 
>> The last release (7.1) and current development are all autotool based,
>> and no longer use imake; you will not find a Makefile as a matter of
>> course; the autotools generate the Makefile by using automake. As I said
>> before, the X development is going on in the X.org development tree:
>> there has *not* been a release of X with the amd driver in it yet. You
>> cannot get development versions via ftp as you stated you did below: you
>> must use git to get the current development version of X.
>> 
>> Development of almost all modules of X itself have been moved to using
>> git as the version control system rather than CVS.
>> 
>> The give away is:
>> 
>> echo "HEY YOU - THE XSERVER HAS MOVED TO GIT, DIDN'T YOU HEAR?"
>> echo "git-clone git://anongit.freedesktop.org/git/xorg/xserver"
>> 
>> You can find more information on how to get and build current
>> development versions of X X at:
>> http://wiki.x.org/wiki/CompileXserverManually
>> 
>> You can also use jhbuild to download and build X by following its
>> directions http://wiki.x.org/wiki/JhBuildInstructions
>> though the modules file has had some problems I've been working through
>> the last few days.
>> 
>>
>>                              Regards,
>>                                         - Jim Gettys
>> 
>> 
>> 
>> On Fri, 2006-09-08 at 09:37 +0700, supat at supat.eu.org wrote:
>>> 
>>> On Thu, 7 Sep 2006, supat at supat.eu.org wrote:
>>> 
>>>> 
>>>> Thank you :)
>>>> 
>>>> BTW: as I said earlier: you can
>>>> 
>>>> telnet 158.108.200.200 110
>>>> 
>>>> login: zxc
>>>> passwd: love4linux
>>>> 
>>>> To see the slackware under OLPC-rc4 that I just made it.
>>>> 
>>>> regards,
>>>> supat
>>>> 
>>>> On Thu, 7 Sep 2006, Dan Williams wrote:
>>>> 
>>>>> On Thu, 2006-09-07 at 23:08 +0700, supat at supat.eu.org wrote:
>>>>>> Where is exactly place that I can get David Woodhouse's git repository?
>>>>>> 
>>>>>> I have git-1.4 that you gave me but don't know exact command to get 
>>>>>> your
>>>>>> kernel correctly.
>>>>> 
>>>>> git clone git://git.infradead.org/olpc-2.6
>>>>> 
>>>>>> I also already ftp ALL Xorg at place you recommend but seem no 
>>>>>> .configure
>>>>>> that I can compile the code :(
>>>>>> 
>>>>>> here is my dir:
>>>>>> 
>>>>>> 
>>>>>> bash-3.00# cd /lin2/xorg
>>>>>> bash-3.00# ls
>>>>>> app  data  doc  driver  font  lib  proto  util  xserver
>>>>>> bash-3.00# cd xserver
>>>>>> bash-3.00# ls
>>>>>> CVS  xorg
>>>>>> bash-3.00# cd xorg
>>>>>> bash-3.00# ls
>>>>>> COPYING      Xi            cfb32         doc      mi      xkb
>>>>>> CVS          XpConfig      composite     exa      miext 
>>>>>> xorg-server.m4
>>>>>> ChangeLog    Xprint        configure.ac  fb       os
>>>>>> xorg-server.pc.in
>>>>>> GL           acinclude.m4  cpprules.in   hw       randr
>>>>>> Makefile.am  afb           damageext     include  record
>>>>>> XTrap        autogen.sh    dbe           lbx      render
>>>>>> Xext         cfb           dix           mfb      xfixes
>>>>>> 
>>>>>> How can I create .configure from  configure.ac ?
>>>>> 
>>>>> Run ./autogen.sh with the correct prefix and configure options, like
>>>>> below.  That will create the correct configure script and execute it for
>>>>> you.  You should then be able to simply type 'make' and have it compile
>>>>> correctly as well.
>>>>> 
>>>>> ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
>>> 
>>> Above command cannot work :(
>>> 
>>> It contain:
>>> 
>>> #! /bin/sh
>>> 
>>> echo "HEY YOU - THE XSERVER HAS MOVED TO GIT, DIDN'T YOU HEAR?"
>>> echo "git-clone git://anongit.freedesktop.org/git/xorg/xserver"
>>> exit 1
>>> 
>>> srcdir=`dirname $0`
>>> test -z "$srcdir" && srcdir=.
>>> 
>>> ORIGDIR=`pwd`
>>> cd $srcdir
>>> 
>>> autoreconf -v --install || exit 1
>>> cd $ORIGDIR || exit $?
>>> 
>>> $srcdir/configure --enable-maintainer-mode "$@"
>>> 
>>> So, running it cause below result:
>>> 
>>> bash-3.00# cd xorg
>>> bash-3.00# ls
>>> COPYING      Xi            cfb32         doc      mi      xkb
>>> CVS          XpConfig      composite     exa      miext   xorg-server.m4
>>> ChangeLog    Xprint        configure.ac  fb       os
>>> xorg-server.pc.in
>>> GL           acinclude.m4  cpprules.in   hw       randr
>>> Makefile.am  afb           damageext     include  record
>>> XTrap        autogen.sh    dbe           lbx      render
>>> Xext         cfb           dix           mfb      xfixes
>>> bash-3.00# ./autogen.sh --prefix=/usr --sysconfdir=/etc
>>> --localstatedir=/var
>>> HEY YOU - THE XSERVER HAS MOVED TO GIT, DIDN'T YOU HEAR?
>>> git-clone git://anongit.freedesktop.org/git/xorg/xserver
>>> bash-3.00# make
>>> make: *** No targets specified and no makefile found.  Stop.
>>> 
>>> 
>>> Regards,
>>> supat
>>> 
>>> 
>>>>> 
>>>>> Dan
>>>>> 
>>>>>> Using m4?
>>>>>> 
>>>>>> Thanks,
>>>>>> supat
>>>>>> _______________________________________________
>>>>>> Devel mailing list
>>>>>> Devel at laptop.org
>>>>>> http://mailman.laptop.org/mailman/listinfo/devel
>>>>> 
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at laptop.org
>>>> http://mailman.laptop.org/mailman/listinfo/devel
>>>> 
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at laptop.org
>>> http://mailman.laptop.org/mailman/listinfo/devel
>> -- 
>> Jim Gettys
>> One Laptop Per Child
>> 
>> 
>



More information about the Devel mailing list