Subject: galeon compile probs
To: None <current-users@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20031016T082835@wsrcc.com>
List: current-users
Date: 10/16/2003 09:21:47
I just resynced with -current after a 9-month haitus.

Most pkg's that needed upgrading because the sources changed just
build in the new world.  The things that didn't were linked against
libpth (sometimes indirectly) and needed a clean recompile all the way
down the dependency tree.

The one program I care about that I can't get to compile is galeon.
The "configure" run breaks with the following snippet in the
config.log file:

    configure:12406: checking for gtk_moz_embed_get_type in -lgtkembedmoz
    configure:12437: cc -o conftest  -O2 -I/usr/pkg/include -I/usr/X11R6/include -I/usr/pkg/include/mozilla  -I/usr/X11R6/include/libglade-1.0 -I/usr/X11R6/include/gdk-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include  -Wl,-R/usr/lib  -Wl,-R/usr/pkg/lib/mozilla -Wl,-E -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/lib/mozilla -lnspr4 -lplc4 -lplds4 -lgtkembedmoz -lxpcom -lgtksuperwin conftest.c -lgtkembedmoz   -lintl >&5
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetIP'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_Resume_or_Rethrow'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetRegionStart'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_Resume'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_DeleteException'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_RaiseException'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_SetIP'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetTextRelBase'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetLanguageSpecificData'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_SetGR'
    /usr/lib/libstdc++.so.5: undefined reference to `_Unwind_GetDataRelBase'

It looks like this is related to /usr/lib/libgcc.* not being linked
in.  Is this gcc's way of saying I need to get rid off all the
remaining libs that were linked with gcc-2.95 and recompile them with
gcc-3?

If so, how do I best delete all my pkgs and recompile them with gcc3?
I'm tempted to try the following, but if I do that it is going to be a
long dry spell with only /bin/sh to keep my company.  Some pkgs also
trash their config files on reinstall (like pkgsrc's postfix much to
my horror yesterday as my mail was bouncing left and right after a
"make update".)  Is there a better way to do this other than the
following?

    pkgdepgraph -a -a -D > delete_order
    pkgdepgraph -a -a -R > rebuild.sh
    pkgdepgraph -a -a -F > fetch.sh

    sh fetch.sh
    pkg_delete `cat delete_order`
    sh rebuild.sh

-wolfgang
-- 
Wolfgang S. Rupprecht 		     http://www.wsrcc.com/wolfgang/
           The From: address is valid.  Don't mess with it.
  How long before the whole cast of Preditor gets elected to office?