 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

8th February 2011, 12:51 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 5

|
|
|
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
|

8th February 2011, 12:58 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Help with gimp 2.6.11
Quote:
Originally Posted by thefedus
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
|

8th February 2011, 01:13 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 5

|
|
|
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??
|

8th February 2011, 01:23 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 115

|
|
|
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 F14 i686 with KDE
Intel Core 2 Quad 9300 @ 2.5GHz
2G RAM
Geforce 8600GT
|

8th February 2011, 02:01 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105

|
|
|
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.
|

8th February 2011, 02:46 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 5

|
|
|
Re: Help with gimp 2.6.11
Quote:
Originally Posted by leigh123linux
|
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
|

8th February 2011, 03:37 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Help with gimp 2.6.11
Quote:
Originally Posted by thefedus
hehehe.. i don't understand about gold patch.. 
|
Quote:
Originally Posted by thefedus
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
|

8th February 2011, 04:47 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 115

|
|
|
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 F14 i686 with KDE
Intel Core 2 Quad 9300 @ 2.5GHz
2G RAM
Geforce 8600GT
|

8th February 2011, 07:11 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 5

|
|
|
Re: Help with gimp 2.6.11
Quote:
Originally Posted by leigh123linux
[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
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.
|

8th February 2011, 07:28 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Help with gimp 2.6.11
Quote:
Originally Posted by thefedus
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.
|

9th February 2011, 12:35 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 5

|
|
|
Re: Help with gimp 2.6.11
Quote:
Originally Posted by leigh123linux
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
|

9th February 2011, 12:44 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Help with gimp 2.6.11
Quote:
Originally Posted by thefedus
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 19:55 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|