Skip to main content.

2001-Sep-29

I have an excel spreadsheet (volleyball schedule) to print out. Tried to pkg_add ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/abacus-0.9.13.tgz but my installed tcl was tcl-8.3.2nb1 and it required tcl-8.0.5.

(By the way, ftp almost always reports:

ftp: connect to address 3ffe:8050:201:1860:2a0:c9ff:feed:b7ea: No route to host
because it tries IPv6 first, then it still works.)

So I forced it to install and I mande symlinks for two missing shared objects, but then received:

Undefined symbol "tkDisplayList" referenced from COPY relocation in /usr/X11R6/share/abacus/tcl_interf/nxlc
So removed package, then tried "make bin-install" in the pkgsrc, but received:
===> abacus-0.9.13 is marked as broken:
===> This package has been updated to compile with tcl-8.3.2, but dumps core on startup.

So I did a "make TARGET=bin-install bin-install" for math/gnumeric:

pkg_add: pkg `MesaLib-3.4.1' required, but `MesaLib-3.2.1' found installed.
...
Installed package guile>=1.3.4 is an a.out package.
You are building an ELF package, which will not inter-operate.
Please update the guile>=1.3.4 package to ELF
So I did a "pkg_delete guile" and a "pkg_delete -vr MesaLib" (which deleted SDL, qt and more). Then during install of gnumeric received:
pkg_add: pkg `glu-3.4.1' required, but `glu-3.2.1' found installed.
...
Installed package bison-* is an a.out package.
So I did "pkg_delete glu bison". So I tried again, and it reported problem with glut (wrong version found installed), but it then continued and fetched gnumeric-0.64.tar.gz. (I should have updated my pkgsrc collection. The latest gnumeric is 0.70.) Then it grabbed libglad source code; I stopped it once it started doing configure.

So I did a "pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnumeric-0.68.tgz". (This is the URL I found via the ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/math/gnumeric/README.html webpage.) But the package addition failed due to glut. So "pkg_delete glut". Then another pkg_add from the ftp site. (I should have just downloaded it and used it local.) Then another requirement failed: libghttp was wrong version.

So then I did the pkg_add with the -u and -f switches. (The -u probably was ignored since it wasn't installed in the first place.) databases/db3, guile, bonobo, pixbuf, control-center, gnome-vfs, scrollkeeper, devel/gal, libglade, and other packages were installed. (gnumeric really has a bunch of bloat!)

After about ten minutes, it stopped with:

rm: /var/tmp/instmp.a8226n: Too many open files
...
pkg_add: can't open pkgdb: Too many open files
So I closed a few rxvt sessions, and tried again.

While this was going I saw that /var/db/pkg/libghttp-1.0.6/+REQUIRED_BY showed nothing.

Then the pkg_add died again with "Too many open files". So I used "ulimit -n 250" to reset the open files from 64 to 250. And another pkg_add try ...