Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NetBSD 2.0 with XFree 3.3.6

0 views
Skip to first unread message

vej...@gmail.com

unread,
Apr 7, 2005, 5:37:07 AM4/7/05
to
Hi, I'm a new user to NetBSD with no knowledge of the ways of previous
version, and learning step by step what to do in 2.0.

I've been using pkgsrc for building my packages without problems. After
compiling/installing xorg 4 I realized that my graphic card, a Trident
TVGA9000-i, would be better supported in XFree 3.3.6

I tried with /usr/pkgsrc/x11/x-servers, it asked to download the xsrc
package, so I download the last version of xsrc.tgz from a mirror ftp
site
(XFree 4.5.0) and extracted it in /usr/xsrc, making some links to xc
subdirectories as x-server package seemed to be expecting.

But after a day or two of compiling, my 486 (sigh) gave some errors.
I'm sorry I'm not able to copy/paste the error...

So, what are the steps for building it?

What sources I have to download, and what should be their location?
Did I miss something?

Thanks in advance,

Juan

PS: Please, forgive the crossposting, I don't know about the
availability
of the other group.

Frederick Bruckman

unread,
Apr 7, 2005, 11:21:29 AM4/7/05
to
In article <1112866627.5...@g14g2000cwa.googlegroups.com>,

"vej...@gmail.com" <vej...@gmail.com> writes:
>
> I've been using pkgsrc for building my packages without problems. After
> compiling/installing xorg 4 I realized that my graphic card, a Trident
> TVGA9000-i, would be better supported in XFree 3.3.6
>
> I tried with /usr/pkgsrc/x11/x-servers, it asked to download the xsrc
> package, so I download the last version of xsrc.tgz from a mirror ftp site
> (XFree 4.5.0) and extracted it in /usr/xsrc, making some links to xc
> subdirectories as x-server package seemed to be expecting.

No. The whole idea is to to use XFree86 3.3.6, which has been removed
from the latest NetBSD "xsrc". Try this one (no symlinks):

ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-2.0.2/source/sets/xsrc.tgz

The NetBSD 2.0 xsrc sets would work as well.

The thinking was, that folks who had just upgraded from source would
have these files already, and so wouldn't appreciate having to download
them all over again. Now that NetBSD current systems do not have these
files, I expect, at some point, this package will be changed to use a
custom tarball, so that it may build as other packages do.


Frederick

vej...@gmail.com

unread,
Apr 8, 2005, 8:45:00 PM4/8/05
to
Well, It worked like a charm, at least it compiled and was installed
succesfully with pkgsrc at /usr/pkg/X11R6.3 after one day of compiling
(It's a 486 sigh!) Thanks a lot!

But when trying to run bin/X it looks for lib/X11/xkb/xkbomp or mouse.

It seems that it lacks all the programs that should go in lib and the
libraries that should go in lib.

Is any way of install this with pkgsrc?

My mk.conf contains this directives:

X11BASE=/usr/pkg/X11R6
USE_XF86_4=no
X11_TYPE=XFree86

Although when trying to make any other program under /usr/pkg/x11 they
use 4.4.0 sources and are installed in /usr/pkg/XFree86 which I suppose
it's not correct.

Juan.

Frederick Bruckman

unread,
Apr 9, 2005, 11:25:23 AM4/9/05
to
In article <1113007500.7...@g14g2000cwa.googlegroups.com>,

"vej...@gmail.com" <vej...@gmail.com> writes:
> Well, It worked like a charm, at least it compiled and was installed
> succesfully with pkgsrc at /usr/pkg/X11R6.3 after one day of compiling
> (It's a 486 sigh!) Thanks a lot!
>
> But when trying to run bin/X it looks for lib/X11/xkb/xkbomp or mouse.

Unlikely. "xkbomp"? (Details matter!) You'll get better help on Usenet
if you would learn to copy and paste the complete and exact errors that
you receive.



> It seems that it lacks all the programs that should go in lib and the
> libraries that should go in lib.

> My mk.conf contains this directives:
>
> X11BASE=/usr/pkg/X11R6

That's wrong. NetBSD installs X to "/usr/X11R6", and you will want the
X packages to link to the base NetBSD X libraries in "/usr/X11R6/lib".

> USE_XF86_4=no

That, fortunately, does nothing on NetBSD 2.0. You certainly don't need
that just to build the old X servers (against the XFree86 4 libraries).

> X11_TYPE=XFree86

Why? I bet that doesn't do what you think it does.

> Although when trying to make any other program under /usr/pkg/x11 they
> use 4.4.0 sources and are installed in /usr/pkg/XFree86 which I suppose
> it's not correct.

If you're having trouble with setting the undocumented pkgsrc features and
internals, why not try the defaults? You already have the NetBSD 2.0 xsets
in "/usr/X11R6", correct? Pkgsrc will install all packages to "/usr/pkg"
by default: some will link to libraries in "/usr/X11R6/lib", others will
use or install X.org libraries under "/usr/pkg", but you shouldn't have to
worry about that. (The packages know whether or not they need that -- it's
automatic.) There are other ways to go, but the defaults are the best
tested, and most likely to work on the first try.

(Where is "/usr/pkg/x11" coming from???)


--
Frederick

0 new messages