Re: gtk20 failure [ part of 5.2 portupgrade hairball ]

2004-04-05 Thread Kent Stewart
On Sunday 04 April 2004 11:47 pm, Jay Moore wrote:
> On Monday 05 April 2004 01:15 am, Kent Stewart wrote:
> > You have an out of date port that depends on gettext. The current
> > library is libintl.so.6. When you updated it, it didn't update all
> > of the dependancies. It almost looks like you have a partial
> > install of gtk-2. Try make clean and then make the updated one and
> > follow the instruction to over write the old version..
>
> make clean on what?... gtk20, or gettext, or expat?

You had the error build gtk20. I would start there.

>
> And then to update, I do what exactly?
>
> > Gettext depends on expat and when you -rf update it, you should
> > have updated all of the dependancies. When I list the ports that
> > depend on gettext, it is at least 2 screen high.
>
> Is there a proper sequence for this?... should I go ahead and do the
> -rf update on expat _before_ I do anything else?

I think I would have done what you did. The problem is that it didn't 
work. Then you have to get out the scalpel and fix things.

The -rf expat has to be done but some of them could be updated already. 
I always build packages and you can tell how far into an update you are 
by doing an "ls -lt" in /usr/ports/packages/All. When portupgrade dies, 
I also copy the reject list and paste it into a file that I can look at 
while I fix the ones that didn't build. It is the things you do when 
something doesn't work that makes a difference. Everyone has their own 
receipe for dealing with problems.

I frequently use a shell script that I call pkgreq. It is

# cat pkgreq
#! /bin/sh
cd /var/db/pkg
pkg_info -R "$1*" | more

You chmod it to 755 and run it like "pkgreq expat". It doesn't always 
work in the middle of an update, but it gives you a list you can check 
off as you build things. For example, any package built after expat 
would not need to be rebuilt and on a slow machine that can make a 
difference. My packages/All is running around 800 MB and I try to keep 
the dups downs.

I also have an alias called search that is 
alias search'portsearch -n $1'

Portsearch was written by Mark Ovens and does a really nice job of 
formating the b/r-deps. It was written for 4.x and uses INDEX but you 
can modify it to use INDEX-5. On your machine it is probably in
/usr/ports/Tools/scripts/README.portsearch
/usr/ports/Tools/scripts/portsearch

BTW, I updated my P-II 400 from kde-3.1.4 to 3.2.1. That took awhile and 
I was using packages. It also died a few times before I could get 
everything updated. I have "BATCH=YES" in /etc/make.conf so it 
builds/updates everything. There may be some bad remnants lying around 
but I can probably try the -rf expat and see if it works this time.

When I did a startx, most of the kde application buttons were messed up. 
I finally did an rm -rf .kde* from my home directory and it started kde 
up clean like a new install. Then I had the buttons back. I have some 
fonts that I need but that is something I can do later.

Kent

>
> Thanks,
> Jay

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gtk20 failure [ part of 5.2 portupgrade hairball ]

2004-04-04 Thread Jay Moore
On Monday 05 April 2004 01:15 am, Kent Stewart wrote:

> You have an out of date port that depends on gettext. The current
> library is libintl.so.6. When you updated it, it didn't update all of
> the dependancies. It almost looks like you have a partial install of
> gtk-2. Try make clean and then make the updated one and follow the
> instruction to over write the old version..

make clean on what?... gtk20, or gettext, or expat?

And then to update, I do what exactly?

> Gettext depends on expat and when you -rf update it, you should have
> updated all of the dependancies. When I list the ports that depend on
> gettext, it is at least 2 screen high.

Is there a proper sequence for this?... should I go ahead and do the -rf 
update on expat _before_ I do anything else?

Thanks,
Jay
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gtk20 failure [ part of 5.2 portupgrade hairball ]

2004-04-04 Thread Kent Stewart
On Sunday 04 April 2004 11:03 pm, Jay Moore wrote:
> In the continuing saga of the portupgrade...
>
> portupgrade -a finally halted with 2 errors, and 54 skipped packages
>
> The first error was a fetch error. I fixed it with a portupgrade
> "pkgname"
>
> The second was with gtk20. I first tried "portupgrade gtk20", but was
> informed to try "make deinstall" & "make reinstall". The make
> deinstall seemed to work OK, but make reinstall crapped out as shown
> below. Looks like the "libintl.so.5" file wasn't found...

You have an out of date port that depends on gettext. The current 
library is libintl.so.6. When you updated it, it didn't update all of 
the dependancies. It almost looks like you have a partial install of 
gtk-2. Try make clean and then make the updated one and follow the 
instruction to over write the old version..

Gettext depends on expat and when you -rf update it, you should have 
updated all of the dependancies. When I list the ports that depend on 
gettext, it is at least 2 screen high. 

Kent

>
> How should I repair this?
>
> Thanks,
> Jay
>
> /bin/sh ../../mkinstalldirs /usr/X11R6/etc/gtk-2.0
> ../../gtk/gtk-query-immodules-2.0 >
> /usr/X11R6/etc/gtk-2.0/gtk.immodules Cannot load module
> /usr/X11R6/lib/gtk-2.0/2.2.0/immodules/im-gucharmap.so: Shared object
> "libintl.so.5" not found
> /usr/X11R6/lib/gtk-2.0/2.2.0/immodules/im-gucharmap.so does not
> export GTK+ IM module API: Shared object "libintl.so.5" not found
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/gtk20.
> *** Error code 1
>
> Stop in /usr/ports/x11-toolkits/gtk20.

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


gtk20 failure [ part of 5.2 portupgrade hairball ]

2004-04-04 Thread Jay Moore
In the continuing saga of the portupgrade...

portupgrade -a finally halted with 2 errors, and 54 skipped packages

The first error was a fetch error. I fixed it with a portupgrade "pkgname"

The second was with gtk20. I first tried "portupgrade gtk20", but was informed 
to try "make deinstall" & "make reinstall". The make deinstall seemed to work 
OK, but make reinstall crapped out as shown below. Looks like the 
"libintl.so.5" file wasn't found...

How should I repair this?

Thanks,
Jay

/bin/sh ../../mkinstalldirs /usr/X11R6/etc/gtk-2.0
../../gtk/gtk-query-immodules-2.0 > /usr/X11R6/etc/gtk-2.0/gtk.immodules
Cannot load module /usr/X11R6/lib/gtk-2.0/2.2.0/immodules/im-gucharmap.so: 
Shared object "libintl.so.5" not found
/usr/X11R6/lib/gtk-2.0/2.2.0/immodules/im-gucharmap.so does not export GTK+ IM 
module API: Shared object "libintl.so.5" not found
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules/input.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4/modules.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.2.4.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"