PDA

View Full Version : gimpshop woes



icantux
9th November 2006, 05:38 PM
Hi all

I downloaded the source tarball for gimpshop 2.2.11 and trying to install the prog without success. I'm not new to linux or compiling progs from source, but this one is frustrating me. The configure works fine, but when I attempt the "make" it ends with a slew of errors. I had to use the "--disable-mmx" flag on configure otherwise the configure would end with errors.

Here's the output of the error on "make":



png.o: In function `load_image’:
/opt/gimpshop-2.2.10/plug-ins/common/png.c:1015: undefined reference to `png_read_destroy’
png.o: In function `save_image’:
/opt/gimpshop-2.2.10/plug-ins/common/png.c:1444: undefined reference to `png_write_destroy’
collect2: ld returned 1 exit status
make[3]: *** [png] Error 1
make[3]: Leaving directory `/opt/gimp-2.2.11/plug-ins/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/gimp-2.2.11/plug-ins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gimp-2.2.11'
make: *** [all] Error 2


It seems the png plugin compile is busting the whole process. The same thing happens when I try to compile 2.2.10 ....

Anyone else out there try installing 2.2.11 or 2.2.10 (from source) with any success? Actually, are there any RPMs of gimpshop around anywhere? All due respect to the author of gimpshop for his work, but his site and download links for gimpshop (source and packages) are a bloody mess.

multescugeorge@
9th November 2006, 06:59 PM
just an idea: perhaps the compile wants to find some png development library, or that error is a soon-to-be-fixed bug

icantux
9th November 2006, 10:48 PM
hmm.. no. The png devel libs are installed - besides, otherwise ./configure would complain and it doesn't. The compiling gets to the point described above and then quits with the error. I took a look at png.c in the /gimp-2.2.11/plug-ins/common dir at the line specified but couldn't figure out what the problem might be (not really a coder myself..).

interestingly enough there are .deb and e-build packages for Ubuntu/Debian and Gentoo, so these peeps successfully compiled using the same source. Just wondering if these guys/gals stumbled into any compilation probs along the way or....

Surprised not to see any FC RPM packages anywhere on the net for gimpshop. Strange.

bla...

multescugeorge@
10th November 2006, 05:55 AM
you can try finding any rpm package, usually the i586 architecture ones works on fedora.

u-noneinc-s
10th November 2006, 06:48 AM
There is an rpm, but it doesn't specify a version (though it is listed between 2.2.11 tarball and 2.2.11 dmg(OSX) http://freshmeat.net/projects/gimpshop/?branch_id=57360&release_id=192296

icantux
10th November 2006, 07:54 AM
There is an rpm, but it doesn't specify a version (though it is listed between 2.2.11 tarball and 2.2.11 dmg(OSX) http://freshmeat.net/projects/gimpshop/?branch_id=57360&release_id=192296

Ya I saw that. Linked through to freshmeat from plasticbugs.com - but the RPM listed there at freshmeat is version 2.2.4 (version only revealed when attempting to install the package) :(
Tried RPM pbone (http://rpm.pbone.net/) to search for the FC RPM and there's nothing listed in the results aside from a Mandriva RPM - however lots of googling revealed that others are having the exact same problem as described before (plug-ins/common/png.c:1015: undefined reference to `png_read_destroy’) etc, etc....

I'll try an older version of gcc and libpng, perhaps that would help. Googling also revealed that some modules may be linked to older libs - if that's the case then older gcc and libs ought to work.

icantux
10th November 2006, 06:11 PM
Just a quick update to anyone interested. I finally solved the problem, compiled and installed gimpshop 2.2.11 (source tarball available at http://www.plasticbugs.com).

Seems there are a few things to look out for when attempting to compile gimpshop. The issue preventing a good compile was a bad reference in a source file so that had to be patched before going on... Here are some notes:

1) installed libpng10 and libpng10-devel (yum - available at core repo) before going on - those are the old versions of libpng. Seems gimpshop doesn't like the new version of libpng.

2) untared the tarball - and patched /gimp-2.2.11/plug-ins/common/png.c (lines 1015 and 1444) as per the criteria found here: http://bugs.gentoo.org/attachment.cgi?id=89259&action=view

3) had to disable mmx to configure the compile using the switch:

# ./configure --disable-mmx --prefix=/usr


make && make install didn't complain and now gimpshop 2.2.11 installed and working fine.

(all other install instructions and dependencies listed here: http://linux.suramya.com/tutorials/Install_GIMPShop/)



.... there... even made myself a little avatar using gimpshop. :D

Cheers!

Blueshift
2nd March 2007, 06:36 PM
Hi icantux,

I was wondering if you had any experience trying to make .rpm's? Cause it would really be much appreciated if GIMPShop 2.2.11 could be installed using the .rpm package system :)

Just a thought.. otherwise I'll have to try compiling from source... I tried it once on Ubuntu, using the new libpng, but you said something about it will only do with the older version.. so might try that if everything else fails.. :eek:

saywot
13th July 2007, 06:31 AM
http://bugs.gentoo.org/attachment.cgi?id=89259&action=view[/url]

3) had to disable mmx to configure the compile using the switch:

# ./configure --disable-mmx --prefix=/usr


make && make install didn't complain and now gimpshop 2.2.11 installed and working fine.

(all other install instructions and dependencies listed here: http://linux.suramya.com/tutorials/Install_GIMPShop/)


followed these instructions,
installed libpng10 and libpng-devel
patched those two lines in the plug-ins/common/png.c directory
had to --disable-print as well as disable-mmx (and added --prefix=/usr

'make' didn't complain but
'make install' returned this at the end


libtool: install: error: cannot install `libgimpmodule-2.0.la' to a directory not ending in /usr/local/lib
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/Download/gimp-2.2.11/libgimpmodule'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/Download/gimp-2.2.11/libgimpmodule'
make: *** [install-recursive] Error 1


I now can open gimp and be greeted by the Gimpshop splash-screen but that's all, The Gimp is what opens

What should I do now ?

tw2113
13th July 2007, 06:38 AM
gimpshop just changes the general menu order to mimic photoshop the best it can.

saywot
13th July 2007, 10:24 AM
gimpshop just changes the general menu order to mimic photoshop the best it can.
it also changes the icons and other stuff to emulate photoshop doesn't it ?

saywot
13th July 2007, 10:26 AM
gimpshop just changes the general menu order to mimic photoshop the best it can.

regardless, it would be nice to see what the difference is, if only I could get through the "make install" stage

tw2113
13th July 2007, 02:47 PM
it didn't change the icons for me, but i can tolerate that. I'm still trying to make the associations there in terms of what tool does what

saywot
16th July 2007, 12:41 AM
Ouch !

I just tried to use the, apparently, un-modified Gimp and it's broken ! :mad:

I've been given an error message that says there is no plug-in installed for .jpg files

saywot
18th July 2007, 02:23 PM
Now after uninstalling GIMP using add/remove software to try and fix this 'unknown file type' difficulty for .jpeg files
How does one rid oneself of this Gimpshop curse before I re-install the GIMP ?

I know that if I've compiled using the "make install" command it is going to be unlikely that the makefile has any "make uninstall" written into it

I was wondering what switch to add so I can see what I need to manually remove files installed from the makefile ?