Re: [Gimp-user] Compile problems and GTK

2004-01-20 Thread Brad Kligerman
Sven+x/

By hook or by crook, I finally managed to compile GIMP2.0. I still don't 
understand why it was such a mess, but I learned a whole bunch in the 
process. Thanks go out to both of you for your patience.

As for GIMP 2.0, I started it immediately after I got it compiled and 
everything worked fine, in fact it looks great. But since I rebooted,  I 
get the following message:
$ gimp-1.3
gimp-1.3: error while loading shared libraries: libgimpcolor-1.3.so.24: 
cannot open shared object file: No such file or directory

The file _libgimpcolor-1.3.so.24_ is in /usr/local/lib and is linked to 
_libgimpcolor-1.3.so.24.1.0_.
Any ideas what's going on?

Thanks again,
/brad.


Brad Kligerman wrote:

Hi all/

I've been trying to upgrade from GIMP 1.2.3 that was installed with 
RH9 to GIMP 1.3.23.
It won't configure, and I get the following...

[EMAIL PROTECTED] gimp-1.3.23]# ./configure
...
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version = 2.2.2...
*** 'pkg-config --modversion gtk+-2.0' returned 2.2.4, but GTK+ (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the 
error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files no
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.

I installed GTK 2.2.4 and followed all the other installation 
instructions.  When I check the version of GTK+ with Synaptic, it 
shows _GTK2 - version 2.2.1-4_ and not 2.2.4. Is this  where the 
problem is coming from. Any ideas??
Thanks.
/brad.
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Compile problems and GTK

2004-01-17 Thread Sven Neumann
Hi,

misfit-x [EMAIL PROTECTED] writes:

 If that didn't work, then there's a config somewhere that's still saying
 there's a GTK+-2.2.1 somewhere. I have another idea... REinstall
 GTK+2.2.1, then uninstall it. Then reinstall (just make install in the
 source tree you compiled GTK+-2.2.4 in, if you still have the sources
 compiled (ie. didn't delete the dirs or run make clean yet)). And see if
 that helps.

It isn't even necessary to remove the 2.2.1 version. The problem here
is the wrong usage of /etc/ld.so.conf as you outlined below:

  understand what my _/etc/ld.so.conf_ should look like. Mine has the 
  following...
  
  /opt/lib/gtk+-2.2.4/lib/pkgconfig

Just like misfit-x pointed out already, this is of course completely
wrong. /etc/ld.so.conf has nothing to do with pkg-config. I would
strongly suggest to take a short look at the man-pages before doing
such changes. It certainly helps to know what files you are editing.
 
 I would think it should be in /opt/lib/gtk+-2.2.4/lib instead?

This is a very unusual install prefix that was choosen for gtk+ here.
But if it's indeed /opt/lib/gtk+-2.2.4, then the value you suggested
is absolutely correct.


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Compile problems and GTK

2004-01-17 Thread Brad Kligerman
misfit-x/

Thanks for pursuing this with me.

# rpm -qa | grep gtk+

 

The results:
[EMAIL PROTECTED] gimp-1.3.23]# rpm -qa | grep gtk+
gtk+-devel-1.2.10-25
gtk+-1.2.10-25
But when I changed it from _gtk+_  to _rpm -qa | grep gtk2_ I got the 
following :
[EMAIL PROTECTED] gimp-1.3.23]# rpm -qa | grep gtk2
pygtk2-devel-1.99.14-4
pygtk2-1.99.14-4
gtk2-2.2.1-4
gtk2-devel-2.2.1-4
pygtk2-libglade-1.99.14-4
gtk2-engines-2.2.0-2

Notice how _GTK+ 2.2.4_ becomes _gtk2-2.2.1-4_. Could this be where my 
system is getting gtk 2.2.1??
/brad

If that didn't work, then there's a config somewhere that's still saying
there's a GTK+-2.2.1 somewhere. I have another idea... REinstall
GTK+2.2.1, then uninstall it. Then reinstall (just make install in the
source tree you compiled GTK+-2.2.4 in, if you still have the sources
compiled (ie. didn't delete the dirs or run make clean yet)). And see if
that helps.
 

Before I throw in the towel and go back to Photoshop, I just want to 
understand what my _/etc/ld.so.conf_ should look like. Mine has the 
following...

/opt/lib/gtk+-2.2.4/lib/pkgconfig
   

I would think it should be in /opt/lib/gtk+-2.2.4/lib instead?

 

/usr/X11R6/lib
/usr/kerberos/lib
/usr/lib/qt-3.1/lib
/usr/lib/sane
   

Rest of this looks good to me.

If you really really want to run PhotoShop, you can in linux 
using WINE (www.winehq.org). Runs slower but works - at least PS LE 5 worked
for me. However, I would rather use Gimp, personally.

You can still use Gimp 1.2.x but the new 2.0pre1 is really nice. :)

 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Compile problems and GTK

2004-01-17 Thread Brad Kligerman
Sven/

Just like misfit-x pointed out already, this is of course completely
wrong. /etc/ld.so.conf has nothing to do with pkg-config. I would
strongly suggest to take a short look at the man-pages before doing
such changes. It certainly helps to know what files you are editing.
 

Point well taken. In my desperation to get this thing installed, I got 
misfit-x's indications mixed up.  I guess I will take a look at the 
man-pages, but I still can't figure out why I can't straighten this 
thing out, especially since I already have an older GIMP that works on 
my system.

/brad.
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Compile problems and GTK

2004-01-16 Thread misfit-x
On Fri, 2004-01-16 at 18:38, Brad Kligerman wrote:
 checking for GTK+ - version = 2.2.2...
 *** 'pkg-config --modversion gtk+-2.0' returned 2.2.4, but GTK+ (2.2.1)
 *** was found!
 When I tried to uninstall GTK+ (2.2.1) as you suggested, it said 2.2.1 
 was not installed.

# rpm -qa | grep gtk+

If it shows 2.2.1 then:

# rpm -e --force gtk+-2.2.1

If that didn't work, then there's a config somewhere that's still saying
there's a GTK+-2.2.1 somewhere. I have another idea... REinstall
GTK+2.2.1, then uninstall it. Then reinstall (just make install in the
source tree you compiled GTK+-2.2.4 in, if you still have the sources
compiled (ie. didn't delete the dirs or run make clean yet)). And see if
that helps.

 Before I throw in the towel and go back to Photoshop, I just want to 
 understand what my _/etc/ld.so.conf_ should look like. Mine has the 
 following...
 
 /opt/lib/gtk+-2.2.4/lib/pkgconfig

I would think it should be in /opt/lib/gtk+-2.2.4/lib instead?

 /usr/X11R6/lib
 /usr/kerberos/lib
 /usr/lib/qt-3.1/lib
 /usr/lib/sane

Rest of this looks good to me.

If you really really want to run PhotoShop, you can in linux 
using WINE (www.winehq.org). Runs slower but works - at least PS LE 5 worked
for me. However, I would rather use Gimp, personally.

You can still use Gimp 1.2.x but the new 2.0pre1 is really nice. :)

-- 
.:: misfit-x ::.


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Compile problems and GTK

2004-01-15 Thread Neil Watson
On Thu, Jan 15, 2004 at 03:40:47PM +0100, Brad Kligerman wrote:
Hi all/

I've been trying to upgrade from GIMP 1.2.3 that was installed with RH9 
to GIMP 1.3.23.
It won't configure, and I get the following...

[EMAIL PROTECTED] gimp-1.3.23]# ./configure
..
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version = 2.2.2...
Perhaps you have the old version of GTK+ residing at /usr/bin and the
new version somewhere in /usr/local?
--
Neil Watson   | Gentoo Linux
Network Administrator | Uptime  09:49:45 up 12:23,  2 users,  load average: 0.29, 
0.12, 0.06
http://watson-wilson.ca   | 2.6.1 AMD Athlon(tm) MP 2000+ x 2
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Compile problems and GTK

2004-01-15 Thread Sven Neumann
Hi,

Brad Kligerman [EMAIL PROTECTED] writes:

 I already had edited _/etc/ld.so.conf_ and ran _ldconfig_ as
 suggested in the message.

So where did you put /usr/local/lib in your library search path then?
Does it appear before the path holding the older version of the library?


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Compile problems and GTK

2004-01-15 Thread Sven Neumann
Hi,

misfit-x [EMAIL PROTECTED] writes:

 Don't know about tablet though because I don't have an art tablet or
 anything, just mouse.

If tablet support is desired, gtk+ needs to be configured to provide
it. To do so, pass the option --with-xinput=xfree to the gtk+
configure script.


Sven
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user