Re: building X11

Chuck Robey <[email protected]>
Newsgroups gmane.os.openbsd.x11
Message-ID <[email protected]>
Matthieu Herrb wrote:

> Chuck Robey wrote:
>
>> I am trying to get on board OpenBSD via the Sharp Zaurus C3000.  I 
>> have cvsupped the X11 and XF4 distros, and I copied the XF4 one to 
>> the zaurus.  I tried to build it, was not successful, and was left 
>> with some quesions:
>
>
> The X11 tree is obsolete and kept in CVS only for reference.
>
>>
>> 1) this is the fist time I have encountered "lndir", and I found 
>> about it in the XF4/README file, where it game me hints to name the 
>> XF4 as /source/XF4, and use lndir to create /obj/XF4 (which went ok). 
>
>
> Make sure you didn't loose one level by a wrong command. Your /obj/XF4 
> directory should contain xc and xc-old subdirs, as well as a symbolic 
> link to /us/source/XF4/Makefile (and some other dirs and links).
> If /obj/XF4 containss links to the contains of /source/XF4/xc you got 
> it wrong.
>

It looks like I had done it all right, but when I had experimented with 
targets other than the "build" one that you mention, I poisoned the 
environment somehow.  Recreating, and running the build target from XF4 
seems to have done the trick, and I thank you.

One thing  I would like to do is to remotely mount one of the dirs from 
my FreeBSD host onto the zaurus, using usb networking, but I have no 
idea how to get the cdce interface to work,  I tried runnig "ifconfig 
-C" but it won[t apprently let me create a cdce interface.  Is there any 
example, anywhere, of  using usb networking on  any architecture for 
OpenBSD?  I figure it might well work for the zaurus as well as any 
other arch.

What a fantasic toy this is, this zaurus!

>> The question occurs in trying to figure out what dir to be in for the 
>> make, either /source/XF4 or /obj/XF4.  
>
>
> You should run 'make build' in /obj/XF4. This will run 'make World in 
> /obj/XF4/xc.
>
>> It seems like a silly question, but seriously, I don't know trhe 
>> answer to this one, and seeing as it's not building for me in either 
>> place, I guess I need to know the answer.
>>
>> 2) the Makefile seems to be missing a "xmakefile", where does this 
>> show up?
>>
> It's built by make World in xc. Normally the top-level Makefile in XF4 
> hides that from you if you run make or make build in the top level.
>
>> 3) if I want to build as much as possible, is the target to hit "World"?
>
>
> It's not a matter of selecting what parts of the X tree you want to 
> build (This is done by creating a xc/config/cf/host.def file). The 
> World target is the way to bootstrap the build on a fresh tree.
> The role of the other available make targets in /obj/XF4/xc is 
> explained in the README.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.