Re: [Slackbuilds-users] Package Build Issues -- Update

2009-02-01 Thread Robby Workman
On Sun, 1 Feb 2009 18:18:43 -0800 (PST)
Rich Shepard  wrote:

> On Sun, 1 Feb 2009, Scott Harmon wrote:
> 
> > Did you restore /usr/local/{lib,bin}... ?
> 
> Scott,
> 
>Yes. The restore default is to not overwrite disk files with the
> same or newer mtimes. We suspect that somehow a file on tape had a
> newer time than the one on disk. I did not pick specific applications
> because I did not have a separate list of those.
> 
>I can always re-install stock -12.2 apps that go in /usr/local/ if
> I can identify which ones do so.


None.  /usr/local is for *local* system-specific software compiled by
the system admin and typically *not* packaged.  


>Good question, Scott! I find a lot of broken links
> in /usr/local/bin and /usr/local/lib that I'll fix right after dinner.


NO, NO, NO.  

/usr/local is where *applications* go.  Don't restore them from backup
if they were built on an older version of Slackware.  Among the
problems you'll encounter are missing and unresolved symbols in
libraries.

-RW


signature.asc
Description: PGP signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] Package Build Issues -- Update

2009-02-01 Thread Robby Workman
On Sun, 1 Feb 2009 17:48:13 -0800 (PST)
Rich Shepard  wrote:

> On Sun, 1 Feb 2009, Rich Shepard wrote:
> 
> >   When I grep for gtk in /var/log/packages these are returned:
> >
> > gtk+2-2.12.12-i486-1
> 
>I found one problem. When building tinyerp-client the configure
> phase fails for the same reason: cannot find gtk+2. So, I tried
> importing the module in interactive python (according to find it
> resides in /usr/lib/python2.5/site-packages/gtk-2.0/gtk), but
> apparently it didn't make it correctly:
> 
> [rshep...@salmo ~]$ python
> Python 2.5.2 (r252:60911, Sep 11 2008, 13:43:31) 
> [GCC 4.2.4] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import gtk
> Traceback (most recent call last):
>File "", line 1, in 
>File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
> line 48, in 
>  from gtk import _gtk
> ImportError: /usr/lib/libfontconfig.so.1: undefined symbol:
> FT_Select_Size
> >>>
> 
>Reinstalling the gtk+2 package didn't help. Wonder what's going on
> here ... it could well be my syntax.
> 
>fontconfig-2.6.0-i486-2 is installed, and that's where
> libfontconfig.so.1 is found.


This is why you don't reinstall *applications* and such from backup
tapes, at least when they were built on previous/different underlying
operating systems.  Looks like pygtk is expecting a different freetype
library than what you have on the system, and if pygtk and freetype are
the correct ones as installed with a 12.2 system, that can't happen.

-RW



signature.asc
Description: PGP signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] Package Build Issues -- Update

2009-02-01 Thread Rich Shepard

On Mon, 2 Feb 2009, Timothy Pollard wrote:


A bit of a Google around notes this bug report in Debian:
http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg525115.html
which basically says that this is probably caused by libfreetype issues.


Timothy,

  I didn't catch that; thank you.


The libfreetype.so.6 is contained in both the aaa_elflibs and libfreetype
packages:
$ grep libfreetype.so.6 /var/log/packages/*
/var/log/packages/aaa_elflibs-12.2.0-i486-1:usr/lib/libfreetype.so.6.3.18
/var/log/packages/freetype-2.3.7-i486-1:usr/lib/libfreetype.so.6.3.18

So, your restoring a libfreetype from your backups, or maybe you've got an old
version of one of those packages still lying around. I'd try doing a "$ locate
libfreetype" and see what you get.


  Here's what I had: /usr/lib/libfreetype-6.3.18 and /usr/local/lib/6.3.8
from 2005, with soft links from Friday. I've removed the earlier versions
and ran ldconfig.

  I'll fix the broken links before testing more.

Many thanks for the pointer!

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] Package Build Issues -- Update

2009-02-01 Thread Rich Shepard

On Sun, 1 Feb 2009, Scott Harmon wrote:


Did you restore /usr/local/{lib,bin}... ?


  Good question, Scott! I find a lot of broken links in /usr/local/bin and
/usr/local/lib that I'll fix right after dinner.

  I'll post results when I have some.

Thanks again,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] Package Build Issues -- Update

2009-02-01 Thread Rich Shepard

On Sun, 1 Feb 2009, Scott Harmon wrote:


Did you restore /usr/local/{lib,bin}... ?


Scott,

  Yes. The restore default is to not overwrite disk files with the same or
newer mtimes. We suspect that somehow a file on tape had a newer time than
the one on disk. I did not pick specific applications because I did not have
a separate list of those.

  I can always re-install stock -12.2 apps that go in /usr/local/ if I can
identify which ones do so.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] Package Build Issues -- Update

2009-02-01 Thread Timothy Pollard
Hi Rich,

On Sun, 1 Feb 2009 17:48:13 -0800 (PST)
Rich Shepard  wrote:
> On Sun, 1 Feb 2009, Rich Shepard wrote:
> 
> >   When I grep for gtk in /var/log/packages these are returned:
> >
> > gtk+2-2.12.12-i486-1
> 
>I found one problem. When building tinyerp-client the configure phase
> fails for the same reason: cannot find gtk+2. So, I tried importing the
> module in interactive python (according to find it resides in
> /usr/lib/python2.5/site-packages/gtk-2.0/gtk), but apparently it didn't make
> it correctly:
> 
> [rshep...@salmo ~]$ python
> Python 2.5.2 (r252:60911, Sep 11 2008, 13:43:31) [GCC 4.2.4] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import gtk
> Traceback (most recent call last):
>File "", line 1, in 
>File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48,
> in 
>  from gtk import _gtk
> ImportError: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Select_Size
> >>>
> 
>Reinstalling the gtk+2 package didn't help. Wonder what's going on here
> ... it could well be my syntax.
> 
>fontconfig-2.6.0-i486-2 is installed, and that's where libfontconfig.so.1
> is found.
> 
>If there is a more appropriate mail list to help me learn how to identify
> what broke and how to fix it, please point me there.
> 

A bit of a Google around notes this bug report in Debian:
http://www.mail-archive.com/debian-bugs-d...@lists.debian.org/msg525115.html
which basically says that this is probably caused by libfreetype issues.

The libfreetype.so.6 is contained in both the aaa_elflibs and libfreetype
packages:
$ grep libfreetype.so.6 /var/log/packages/*
/var/log/packages/aaa_elflibs-12.2.0-i486-1:usr/lib/libfreetype.so.6.3.18
/var/log/packages/freetype-2.3.7-i486-1:usr/lib/libfreetype.so.6.3.18

So, your restoring a libfreetype from your backups, or maybe you've got an old
version of one of those packages still lying around. I'd try doing a "$ locate
libfreetype" and see what you get.

-- 
TimP


signature.asc
Description: PGP signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] Package Build Issues -- Update

2009-02-01 Thread Scott Harmon

On Feb 1, 2009, at 7:48 PM, Rich Shepard wrote:


On Sun, 1 Feb 2009, Rich Shepard wrote:


 When I grep for gtk in /var/log/packages these are returned:

gtk+2-2.12.12-i486-1


 I found one problem. When building tinyerp-client the configure phase
fails for the same reason: cannot find gtk+2. So, I tried importing  
the

module in interactive python (according to find it resides in
/usr/lib/python2.5/site-packages/gtk-2.0/gtk), but apparently it  
didn't make

it correctly:

[rshep...@salmo ~]$ python
Python 2.5.2 (r252:60911, Sep 11 2008, 13:43:31) [GCC 4.2.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import gtk

Traceback (most recent call last):
 File "", line 1, in 
 File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py",  
line 48,

in 
   from gtk import _gtk
ImportError: /usr/lib/libfontconfig.so.1: undefined symbol:  
FT_Select_Size




 Reinstalling the gtk+2 package didn't help. Wonder what's going on  
here

... it could well be my syntax.



Did you restore /usr/local/{lib,bin}... ?

 fontconfig-2.6.0-i486-2 is installed, and that's where  
libfontconfig.so.1

is found.

 If there is a more appropriate mail list to help me learn how to  
identify

what broke and how to fix it, please point me there.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  Integrity 
Credibility

Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax:  
503-667-8863

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



--
Scott J. Harmon
PhD Candidate
Kansas State University

"Computer Science is no more about computers than astronomy is about  
telescopes." - Edsger Dijkstra


___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



Re: [Slackbuilds-users] Package Build Issues -- Update

2009-02-01 Thread Rich Shepard

On Sun, 1 Feb 2009, Rich Shepard wrote:


  When I grep for gtk in /var/log/packages these are returned:

gtk+2-2.12.12-i486-1


  I found one problem. When building tinyerp-client the configure phase
fails for the same reason: cannot find gtk+2. So, I tried importing the
module in interactive python (according to find it resides in
/usr/lib/python2.5/site-packages/gtk-2.0/gtk), but apparently it didn't make
it correctly:

[rshep...@salmo ~]$ python
Python 2.5.2 (r252:60911, Sep 11 2008, 13:43:31) 
[GCC 4.2.4] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import gtk

Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48,
in 
from gtk import _gtk
ImportError: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Select_Size




  Reinstalling the gtk+2 package didn't help. Wonder what's going on here
... it could well be my syntax.

  fontconfig-2.6.0-i486-2 is installed, and that's where libfontconfig.so.1
is found.

  If there is a more appropriate mail list to help me learn how to identify
what broke and how to fix it, please point me there.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/