Sunday, June 15, 2008

setting up desktop again...

So I finally bit the bullet. I'm rebuilding my desktop's OS from scratch, on a new hard drive, because I did some things wrong over time and fouled it up pretty bad a few weeks ago trying to get smart-card login working... not such a smart idea after all. Steps:

1. curse at all three non-working dvd/cdrw combo drives, blame them, the install CD, and my system's BIOS alternately until trying the only cdrw drive I have left makes it work perfectly. (combo drives scheduled to be smashed and burned tomorrow)
2. set up rc.conf to handle ethernet interfaces, etc etc
3. portsnap fetch && portsnap extract (use this from now on, not cvsup)
4. install screen, pico, sudo, irssi, portaudit, portinstall, portupgrade
5. get Gnome2 working again. This is going to be fun...
6. Transfer all documents from Windows drive and old FreeBSD drive (including all requisite .confs, motds, cronjobs, login scripts, etc etc etc) to Tantive's RAID for safekeeping.
7. get NFS mount of RAID working.
8. get nvidia drivers working.
9. ???
10. PROFIT

2 comments:

W1KAS said...

===> Installing for irssi-0.8.12_1
===> irssi-0.8.12_1 depends on file: /usr/local/bin/perl5.8.8 - found
===> irssi-0.8.12_1 depends on executable: pkg-config - found
===> irssi-0.8.12_1 depends on file: /usr/local/lib/gio/modules/libgiofam.so - not found
===> Verifying install for /usr/local/lib/gio/modules/libgiofam.so in /usr/ports/devel/gio-fam-backend
===> Building for gio-fam-backend-2.16.3_1
/bin/sh ../../libtool --tag=CC --mode=link cc -DG_LOG_DOMAIN=\"GLib-GIO\" -I../.. -I../../glib -I../../gmodule -I../../gio -DG_DISABLE_CAST_CHECKS -DGIO_MODULE_DIR=\"/usr/local/lib/gio/modules\" -DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -Wall -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)' -L/usr/local/lib -lintl -o libgiofam.la -rpath /usr/local/lib/gio/modules libgiofam_la-fam-helper.lo libgiofam_la-fam-module.lo libgiofam_la-gfamdirectorymonitor.lo libgiofam_la-gfamfilemonitor.lo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lfam
rm -fr .libs/libgiofam.exp
generating symbol list for `libgiofam.la'
/usr/bin/nm -B .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libgiofam.exp
/usr/bin/grep -E -e "^g_io_module_(load|unload)" ".libs/libgiofam.exp" > ".libs/libgiofam.expT"
mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp"
cc -shared .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libfam.so -Wl,-soname -Wl,libgiofam.so -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so
/usr/bin/ld: cannot find -lgio-2.0
gmake: *** [libgiofam.la] Error 1
*** Error code 2

Stop in /usr/ports/devel/gio-fam-backend.
*** Error code 1

Stop in /usr/ports/irc/irssi.
*** Error code 1

Stop in /usr/ports/irc/irssi.

gnome2 also apparently depends on this. This is also what broke when I tried to install security/opensc and security/openct to get my SMART card reader working, which is what started this whole saga...
something or someone broke devel/gio-fam-backend and it is required by a lot of other ports.

W1KAS said...

ok, so it seems that updating devel/glib20 by "make install clean" then "make deinstall reinstall" when it complained about already being installed fixed devel/gio-fam-backend not building, as per http://fixunix.com/freebsd/395347-re-gio-fam-backend-cannot-find-lgio-2-0-a.html - this is exactly the procedure I used on my old system, so I don't know why it broke everything except for maybe the old system being all fouled up and inconsistent at the time. Ah well, irssi is now installed and it's on to Gnome2...

next: http://www.freebsd.org/gnome/docs/faq2.html