Fedora Linux Support Community & Resources Center
  #1  
Old 8th February 2011, 12:51 PM
thefedus Offline
Registered User
 
Join Date: Feb 2011
Posts: 5
linuxfirefox
Help with gimp 2.6.11

Hello, i just changed my os w7 to fedora core 14, so, i'm new with fedora core..
i have problem when i want to install gimp 2.6.11.
the "./configure" is ok, but when i "make" an error like this
Quote:
libtool: link: gcc -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -o .libs/gimp-thumbnail-list gimp-thumbnail-list.o ./.libs/libgimpthumb-2.0.so -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: gimp-thumbnail-list.o: undefined reference to symbol 'g_object_unref'
/usr/bin/ld: note: 'g_object_unref' is defined in DSO /lib/libgobject-2.0.so.0 so try adding it to the linker command line
/lib/libgobject-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [gimp-thumbnail-list] Error 1
make[2]: Leaving directory `/home/ghoz/gimp-2.6.11/libgimpthumb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ghoz/gimp-2.6.11'
make: *** [all] Error 2
what must i do to fix this??

Best Regards,

Your friend
Reply With Quote
  #2  
Old 8th February 2011, 12:58 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: Help with gimp 2.6.11

Quote:
Originally Posted by thefedus View Post
Hello, i just changed my os w7 to fedora core 14, so, i'm new with fedora core..
i have problem when i want to install gimp 2.6.11.
the "./configure" is ok, but when i "make" an error like this


what must i do to fix this??

Best Regards,

Your friend
Try

Code:
su
yum install gimp
Reply With Quote
  #3  
Old 8th February 2011, 01:13 PM
thefedus Offline
Registered User
 
Join Date: Feb 2011
Posts: 5
linuxfirefox
Re: Help with gimp 2.6.11

I just want to try build from source.. i want to learn. i searching at google, but i can't find the solution.
do you know what is the problem??
Reply With Quote
  #4  
Old 8th February 2011, 01:21 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: Help with gimp 2.6.11

You probably need to apply the gold patch from the srpm

http://koji.fedoraproject.org/koji/r...?rpmID=2351741
Reply With Quote
  #5  
Old 8th February 2011, 01:23 PM
bepaald Offline
Registered User
 
Join Date: Nov 2004
Posts: 124
linuxfedorafirefox
Re: Help with gimp 2.6.11

Code:
/usr/bin/ld: note: 'g_object_unref' is defined in DSO /lib/libgobject-2.0.so.0 so try adding it to the linker command line
This means you need to add the option '-lgobject-2.0' to the linker command. If there is a Makefile in the directory try to find a line 'LIBS = ' (with a lot of '-lsomething' probably already following it), and add '-lgobject-2.0' to it.

bepaald
__________________
Running F20 x86_64 with KDE
Intel Core i7-4771 @ 3.5GHz
8G RAM
Reply With Quote
  #6  
Old 8th February 2011, 02:01 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,815
linuxfedorafirefox
Re: Help with gimp 2.6.11

Check the configure script ("./configure --help" usually works).

Frequently there are ways to specify additional libraries as needed to
the configure step.
Reply With Quote
  #7  
Old 8th February 2011, 02:46 PM
thefedus Offline
Registered User
 
Join Date: Feb 2011
Posts: 5
linuxfirefox
Re: Help with gimp 2.6.11

Quote:
Originally Posted by leigh123linux View Post
You probably need to apply the gold patch from the srpm

http://koji.fedoraproject.org/koji/r...?rpmID=2351741
hehehe.. i don't understand about gold patch.. i'm newbie.. but i will try to search about that.

@beepald: i already search with your direction, but i found a lot of "LIBS", should i add "-l libgobject-2.0" to all LIBS?

@jpollard : can you give an example how to use "LIBS" with ./configure??

Thank you all for your reply

Best Regards,

Your friend
Reply With Quote
  #8  
Old 8th February 2011, 03:37 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: Help with gimp 2.6.11

Quote:
Originally Posted by thefedus View Post
hehehe.. i don't understand about gold patch..
Quote:
Originally Posted by thefedus View Post
i'm newbie.. but i will try to search about that.

@beepald: i already search with your direction, but i found a lot of "LIBS", should i add "-l libgobject-2.0" to all LIBS?

@jpollard : can you give an example how to use "LIBS" with ./configure??

Thank you all for your reply

Best Regards,

Your friend
http://www.cyberciti.biz/faq/appy-pa...patch-command/

You apply the patch like this (you may need to install wget & patch first ie: yum install wget patch)


Code:
wget ftp://ftp.gimp.org/pub/gimp/v2.6/gimp-2.6.11.tar.bz2
tar -xvf gimp-2.6.11.tar.bz2
cd gimp-2.6.11
wget http://leigh123linux.fedorapeople.org/pub/patches/gimp-2.6.8-gold.patch
 patch -p1 <  gimp-2.6.8-gold.patch
./configure    --with-libtiff --with-libjpeg --with-libpng --with-libmng --with-libexif \
    --with-gtkhtml2 --with-librsvg --with-poppler --with-gnomevfs --with-alsa \
    --with-webkit --with-dbus --with-script-fu
make
su
make install
Reply With Quote
  #9  
Old 8th February 2011, 04:47 PM
bepaald Offline
Registered User
 
Join Date: Nov 2004
Posts: 124
linuxfedorafirefox
Re: Help with gimp 2.6.11

You can type:
Code:
$ env LDFLAGS="-lgobject-2.0 -lglib-2.0" ./configure
And then run 'make' again. The options in the LDFLAGS variable are added to the linker commands, I added the glib-2.0 library as well, because I tested it and got a similar error for that library. With these two libraries, it should get a lot further (though I haven't actually finished the compile, so I won't promise that other errors won't come up later...).

bepaald
__________________
Running F20 x86_64 with KDE
Intel Core i7-4771 @ 3.5GHz
8G RAM
Reply With Quote
  #10  
Old 8th February 2011, 07:11 PM
thefedus Offline
Registered User
 
Join Date: Feb 2011
Posts: 5
linuxfirefox
Re: Help with gimp 2.6.11

Quote:
Originally Posted by leigh123linux View Post
[B]

http://www.cyberciti.biz/faq/appy-pa...patch-command/

You apply the patch like this (you may need to install wget & patch first ie: yum install wget patch)


Code:
wget ftp://ftp.gimp.org/pub/gimp/v2.6/gimp-2.6.11.tar.bz2
tar -xvf gimp-2.6.11.tar.bz2
cd gimp-2.6.11
wget http://leigh123linux.fedorapeople.org/pub/patches/gimp-2.6.8-gold.patch
 patch -p1 <  gimp-2.6.8-gold.patch
./configure    --with-libtiff --with-libjpeg --with-libpng --with-libmng --with-libexif \
    --with-gtkhtml2 --with-librsvg --with-poppler --with-gnomevfs --with-alsa \
    --with-webkit --with-dbus --with-script-fu
make
su
make install
thank you for your explanation so far.. i got a new learning and method from you..

Quote:
Originally Posted by bepaald View Post
You can type:
Code:
$ env LDFLAGS="-lgobject-2.0 -lglib-2.0" ./configure
And then run 'make' again. The options in the LDFLAGS variable are added to the linker commands, I added the glib-2.0 library as well, because I tested it and got a similar error for that library. With these two libraries, it should get a lot further (though I haven't actually finished the compile, so I won't promise that other errors won't come up later...).

bepaald
Hey, this problem has solved...!!!
bepaald, i follow your direction to search Makefile and add linker command -lgobject-2.0 at "LIBS= ....." but i edit the Makefile in the directory where the problem is found..
ex:
Code:
libtool: link: gcc -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -o .libs/gimp-thumbnail-list gimp-thumbnail-list.o ./.libs/libgimpthumb-2.0.so -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: gimp-thumbnail-list.o: undefined reference to symbol 'g_object_unref'
/usr/bin/ld: note: 'g_object_unref' is defined in DSO /lib/libgobject-2.0.so.0 so try adding it to the linker command line
/lib/libgobject-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [gimp-thumbnail-list] Error 1
make[2]: Leaving directory `/home/ghoz/gimp-2.6.11/libgimpthumb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ghoz/gimp-2.6.11'
make: *** [all] Error 2
the problem found in the directory /home/ghoz/gimp-2.6.11/libgimpthumb, so i edit the Makefile in the directory libgimpthumb and i add -lgobject-2.0 at "LIBS=" if the problem show again and i did like that again.. and so on

Thank you all for your answer..

I want to ask two question.. when i install gimp from source the size of my gimp 354.5 mb.. but when i install from "yum install gimp" just 46 mb. i'm confused about this..???

Best Regards,

Your friend

Last edited by thefedus; 8th February 2011 at 07:28 PM.
Reply With Quote
  #11  
Old 8th February 2011, 07:28 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: Help with gimp 2.6.11

Quote:
Originally Posted by thefedus View Post
thank you for your explanation so far.. i got a new learning and method from you..



Hey, this problem has solved...!!!
bepaald, i follow your direction to search Makefile and add linker command -lgobject-2.0 at "LIBS= ....." but i edit the Makefile in the directory where the problem is found..
ex:
Code:
libtool: link: gcc -g -O2 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -o .libs/gimp-thumbnail-list gimp-thumbnail-list.o ./.libs/libgimpthumb-2.0.so -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: gimp-thumbnail-list.o: undefined reference to symbol 'g_object_unref'
/usr/bin/ld: note: 'g_object_unref' is defined in DSO /lib/libgobject-2.0.so.0 so try adding it to the linker command line
/lib/libgobject-2.0.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [gimp-thumbnail-list] Error 1
make[2]: Leaving directory `/home/ghoz/gimp-2.6.11/libgimpthumb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ghoz/gimp-2.6.11'
make: *** [all] Error 2
the problem found in the directory /home/ghoz/gimp-2.6.11/libgimpthumb, so i edit the Makefile in the directory libgimpthumb and i add -lgobject-2.0 at "LIBS=" if the problem show again and i did like that again.. and so on

Thank you all for your answer..

I want to ask two question.. when i install gimp from source the size of my gimp 354.5 mb.. but when i install from "yum install gimp" just 16 mb. i'm confused about this..???

Best Regards,

Your friend
Thats one, you haven't stripped the debugging from it.
Reply With Quote
  #12  
Old 9th February 2011, 12:35 PM
thefedus Offline
Registered User
 
Join Date: Feb 2011
Posts: 5
linuxfirefox
Re: Help with gimp 2.6.11

Quote:
Originally Posted by leigh123linux View Post
Thats one, you haven't stripped the debugging from it.
how i stripped the debugging from that software (gimp)??

oh yes leigh123linux, i'd installed the gimp in my /home/$USER/Download folder.. and installed the UFRaw (to Manipulate raw images) from repo "yum install UFRaw". And, i turn to edit my fhoto from UFRaw, after that i want to export the fhoto that i edit on UFRaw to GIMP.. the fact is failed..!!!

so, i try install gimp from repo "yum install gimp", so i have 2 GIMP on my laptop.. . i try again export the fhoto that i edit on UFRaw to GIMP.. and this is succeed..!!! i'm happy about that..

and i try erase the gimp "yum erase gimp", and i edit again my fhoto from UFRaw and when i want to export to GIMP, the errors come again..

Do have any a clue about that?? or i must create a symlink the gimp in my folder to /usr/bin?? sorry if I bother you..

Best Regards,

Your friend
Reply With Quote
  #13  
Old 9th February 2011, 12:44 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Re: Help with gimp 2.6.11

Quote:
Originally Posted by thefedus View Post
how i stripped the debugging from that software (gimp)??

oh yes leigh123linux, i'd installed the gimp in my /home/$USER/Download folder.. and installed the UFRaw (to Manipulate raw images) from repo "yum install UFRaw". And, i turn to edit my fhoto from UFRaw, after that i want to export the fhoto that i edit on UFRaw to GIMP.. the fact is failed..!!!

so, i try install gimp from repo "yum install gimp", so i have 2 GIMP on my laptop.. . i try again export the fhoto that i edit on UFRaw to GIMP.. and this is succeed..!!! i'm happy about that..

and i try erase the gimp "yum erase gimp", and i edit again my fhoto from UFRaw and when i want to export to GIMP, the errors come again..

Do have any a clue about that?? or i must create a symlink the gimp in my folder to /usr/bin?? sorry if I bother you..

Best Regards,

Your friend

Read

Code:
man strip
Reply With Quote
Reply

Tags
gimp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GIMP GAP (Gimp Animation Program) GammaPoint Using Fedora 23 18th April 2013 06:07 PM
Meet The Gimp great gimp resource. BugRocks1 Wibble 7 28th June 2010 04:22 PM
Gimp: tex-to-float and gimp-perl rgaelzer Using Fedora 2 10th June 2010 04:15 PM
GIMP animation missing from GIMP in F7? Thetargos Using Fedora 22 24th October 2007 11:04 PM
I Can't Believe Gimp! p3dro Using Fedora 8 17th April 2005 02:10 AM


Current GMT-time: 07:30 (Saturday, 23-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat