It is currently Fri Sep 25, 2026 10:51 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: installing GAP into Gimp using Fedora 16
PostPosted: Sun Mar 11, 2012 3:06 pm  (#21) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5241
Location: Gimpville
Hmmm, well that's an unexpected error. :roll: Looks like a change has been made to Fedora since I last compiled GAP. I'm gonna have to research this issue a little and get back with you with a tweak to the makefile or an additional parm to ./configure command. I'll be out of pocket for the rest of the afternoon but I'll research this issue when I get back.

molly wrote:
I don't understand this one. As root (su -) (had to change back into the gimp-gap-2.6.0 folder)
Step 3) make install <enter>

Do I go back to " su -" for this and type yum install make OR make install?
As to your questions, once we get Step(2) make to compile+link without error, you can proceed to Step(3) and run make install to actually install the plug-in. You will need to execute Step(3) make install as superuser (su -) because it actually installs several files into system folders. When you login as superuser, it defaults to the root file system folder so you have to change directories back to the gimp-gap-2.6.0 folder before running make install.

yum is only used to install pre-packaged binaries (RPMs). Since we are compiling and installing manually, yum is not relevant to the make install process.

We're almost there. :mrgreen:

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: installing GAP into Gimp using Fedora 16
PostPosted: Sun Mar 11, 2012 3:36 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
:pengy Thank You Tux, I really appreciate it. :tuxy

_________________
Image


Top
 Post subject: Re: installing GAP into Gimp using Fedora 16
PostPosted: Mon Mar 12, 2012 12:30 am  (#23) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5241
Location: Gimpville
Yvw, Molly.

Thanks to a hint from a thread over at Fedora forums, indeed there is a tweak that you need to make to the one of the files before your begin your 3 step compile & install process in Fedora 16. It's best to just delete the old gimp-gap-2.6.0 folder and extract the files from the gimp-gap-2.6.0.tar.bz2 archive so we can start clean.

After you've dumped the old gimp-gap-2.6.0 folder, extract the files from gimp-gap-2.6.0.tar.bz2 and navigate to the /gimp-gap-2.6.0/gap/ folder. Open the file Makefile.in using gedit. (make sure you open Makefile.in located in the gap folder, not the Makefile.in located the gimp-gap-2.6.0 folder)

Add -lm to the end of line 313 (that's a lower case L in -lm, not an I or a 1), changing it from..
GIMP_LIBS = @GIMP_LIBS@
to
GIMP_LIBS = @GIMP_LIBS@ -lm
Save the changes to Makefile.in.

If you don't want to mess with those manual edits, you can just use this archive that I've already patched for Fedora 16

Attachment:
File comment: Gimp Gap 2.6.0 source patched for Fedora 16
gimp-gap-2.6.0-patched-for-F16.tar.bz2 [8.27 MiB]
Downloaded 77 times

Then, start your 3 step process again, beginning with (1) ./configure. then (2) make, as you have done previously. Gap should compile clean, with the last few lines displaying this (assuming you've located the folder at: /home/Molly/gimp-gap-2.6.0).
make[2]: Entering directory `/home/Molly/gimp-gap-2.6.0'
make[2]: Leaving directory `/home/Molly/gimp-gap-2.6.0'
make[1]: Leaving directory `/home/Molly/gimp-gap-2.6.0'
You then need to login as superuser (su -), change back over to: cd /home/Molly/gimp-gap-2.6.0 and proceed to step (3) (make sure GIMP is not running).
make install
That will install the plug-in and you should see GIMP Gap's video menu. :bigthup

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: installing GAP into Gimp using Fedora 16
PostPosted: Mon Mar 12, 2012 5:12 am  (#24) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Wow, When I got up and saw this I almost freaked out. Anyway, when I got near the bottom with the one, two, three steps, it was a piece of cake.
I just used your patched edition and it went like clock work. woo hoo. :yes

Thank you so much, you are a marvel... :hi5

I will keep those instrucs handy for the next person that has Fedora 16 and wants GAP

attachments below of the terminal and the GAP dropdown thang.


Attachments:
video-gap.png.tar.gz [24.14 KiB]
Downloaded 64 times
Tux-compiled gap.tar.gz [3.67 KiB]
Downloaded 61 times

_________________
Image
Top
 Post subject: Re: installing GAP into Gimp using Fedora 16 [SOLVED] thanx Tux
PostPosted: Mon Mar 12, 2012 12:18 pm  (#25) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5241
Location: Gimpville
That's good news! :yes

Now that you have all the development stuff installed, future compiling should be snap. :smiley2

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: installing GAP into Gimp using Fedora 16 [SOLVED] thanx Tux
PostPosted: Mon Mar 12, 2012 12:32 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
:roll: right

_________________
Image


Top
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group