Subject: Re: Two questions ...
To: None <port-arm32@netbsd.org>
From: Ib-Michael Martinsen <imm@nethotel.dk>
List: port-arm32
Date: 12/04/1999 20:17:36
Mike Pumford writes:
 > If you have the disk space to do it you could try the following:
 > 
 > Boot using the 1.4.1 kernel. Untar the 1.4.1 release sets to a 
 > test directory(say /test). Migrate your current configuration into /test/etc
 > then execute chroot /test as root. You can then try things out the things that 
 > you need to work without destroying the current install. This is as close as 
 > you can come to running the new install without actually destroying the old 
 > installation. The only downside to this technique is that you use any binaries 
 > that are part of your current install unless you copy them before doing the 
 > chroot.
 > 

That's a nice idea, I tried it and it worked!
However it still gives me some problems, which you or maybe some other
kind soul can answer:

The only WindowManager present in my v141 binaries is twm, so
I have to use that :-( When I start twm I can not move the
mousepointer until I press Alt once, then it works. Is there
a way to start tvm without the mousepointer being locked?

When I run twm I can not switch back to the consoles. Under v13a
and fvwm I could use Alt-F1, Alt-F2, ..., Alt-F6 and Alt-F9 to
switch between the consoles and the X-screen. These keystrokes do
not work under v141 and twm. Are there some other similar keystrokes
that do the same?

ps complains about a missing /var/run/dev.db file/database. How
do I build such a thing?

xemacs v20.4 complains about a missing libpng.so.1.1, which I can
not find anywhere (not even on the net). The various libpng sources
I have tried to build all build only a libpng.a library. Can someone
supply me with a copy of libpng.so.1.1 or tell me how to build 
libpng.so.1.1?

I have tried to build xemacs-21.1.8 myself, but the standard source
will not even configure for arm-unknown-netbsd1.4.1. I had to modify
the configure-scripts with the following patch to make it run (but
I do not know if the patch is ok):

--- configure.orig	Wed Nov  3 00:42:56 1999
+++ configure	Sun Nov 21 13:00:39 1999
@@ -1019,6 +1019,7 @@
 machine='' opsys=''
 
 case "$canonical" in
+  arm-*-*          ) machine=arm ;;
   sparc-*-*        ) machine=sparc ;;
   alpha*-*-*       ) machine=alpha ;;
   vax-*-*          ) machine=vax ;;

It is then possible to "configure" and make some of xemacs, but it
stops when trying to compile src/unexfreebsd.c, it complains with:

unexfreebsd.c: In function `copy_relocation_site':
unexfreebsd.c:293: structure has no member named `r_copy'

and this is right, the member r_copy is not defined in
structure relocation_info defined in
/usr/include/machine/aout_machdep.h.

Has anybody compiled xemacs-21.1.8 for netbsd/arm32 v141 with success.
If so, what did you do?

My Mozilla (Mozilla/5.0b1 [en] (X11; I; NetBSD 1.3_ALPHA arm32;
Cryptozilla 0.2pre) [Netscape]) complains about missing libraries
libg++.so.4.0 and libstdc++.so.0.1 when starting (even though
libstdc++.so.2.0 exists!), so I copied the two libraries from my
v13a /usr/lib to my v141 /usr/lib and then Mozilla starts up,
however it does not draw/show anything in the window :-(

Has anybody some newer version of the libraries or the Mozilla,
that will make Mozilla work under v141?

The good news is that the C-compiler seems to be allright, now I
can build glib/gtk+ v1.2.6 and make them work. That is impossible
under NetBSD v13a :-)

I hope I did not bother you too much.

Best regards 
  Ib-Michael
-- 
Ib-Michael Martinsen		Email at work: imm.it@dsg.dk
Fidomail:  2:234/181.9		Email at home: imm@nethotel.dk

Running NetBSD/arm32 v1.3a on an Acorn RiscPC with a 202MHz StrongArm.