how to download Xorg source correctly?
Steven Susbauer
steven at too1337.com
Wed May 6 04:40:16 UTC 2009
On Tue, May 5, 2009 at 10:48 PM, loody <miloody at gmail.com> wrote:
> Hi:
>
> 2009/5/3 Steven Susbauer <steven at too1337.com>:
>> Steven Susbauer wrote:
>>> On Sat, May 2, 2009 at 8:55 AM, Charlie Kravetz
>>> <cjk at teamcharliesangels.com> wrote:
>>>> On Sat, 2 May 2009 21:34:53 +0800
>>>> loody <miloody at gmail.com> wrote:
>>>>
>>>>> Dear all:
>>>>> I use " sudo apt-get source xorg-dev" to download xorg.
>>>>> but after taring the file, I cannot see the source code inside.
>>>>> The content is shown below:
>>>>>
>>>>> desktop:~$ cd xorg-7.4~5ubuntu3/
>>>>> desktop:~/xorg-7.4~5ubuntu3$ ls
>>>>> debian rules stamp-build stampdir stamp-scripts
>>>>> stamp-validatescripts desktop:~/xorg-7.4~5ubuntu3$
>>>>>
>>>>> Did I use the wrong command or type wrong package name?
>>>>> appreciate your help,
>>>>> miloody
>>>>>
>>>> Are they all files, or is debian a directory witht the code in it?
>>>>
>>> debian is a control directory which contains all the options for
>>> building a package or packages from the source.
>>>
>>> xorg-dev contains some libraries, it is not the source for the server.
>>> Xorg is organized into many packages, with a metapackage that pulls
>>> them in as dependencies. The main xorg server package is
>>> xserver-xorg-core, and running apt-get source xserver-xorg-core will
>>> download those sources.
>>>
>>> Also note that you don't have to use sudo to run apt-get source.
>>>
>>> -Steve
>> I forgot to mention, you can also download the xorg-server source
>> package, which is what it is built from: See
>> http://packages.ubuntu.com/source/jaunty/xorg-server
>>
>> apt-get source will download this package even though a binary of it
>> does not exist.
> thanks for your kind help.
> I follow your suggestion and I attach the file list I downloaded, file_list.log.
> But the content and total size of it seems not meet xorg.
>
> Meanwhile, there are errors below when I try to execute ./configure
> under xorg source I download, which says I need x11 package.
> But I cannot find a package which name is only "x11".
> I try to install several packages with the name like
> "x11proto-print-dev", but it is still fail.
> If I miss something or did anything wrong, please let me know.
> appreciate your help,
> miloody
>
I apologize, I didn't realize you were looking to compile these
manually. A list of the required packages is in the debian/control
file under "Build-Depends", you will need to install quite a few
development headers and libraries to compile the source.
The configure script should run once those are installed.
-Steve
More information about the ubuntu-users
mailing list