Re: building X11

Matthieu Herrb <[email protected]>
Newsgroups gmane.os.openbsd.x11
Organization CNRS-LAAS
Message-ID <[email protected]>
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.

> 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.

-- 
Matthieu Herrb
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.