It is currently Sat Jul 06, 2024 1:57 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Gimp-Gap for Linux.
PostPosted: Sat Sep 07, 2013 2:33 pm  (#1) 
Offline
GimpChat Member

Joined: Dec 27, 2012
Posts: 393
Location: England
GIMP Version: 2.8.6
Operating System: Linux
GIMP Experience: Intermediate Level



I was just wondering if anyone knows where I can get a version of Gap that will work with Gimp 2.8.6 running on Linux Mint 15. I've already installed the version that's available through synaptic, Gap version 2.6.0, but it's a no show when I restart Gimp.
From what I've read Gimp 2.8.6 needs a Gap version that's 2.8 as well but I can't seem to find that anywhere, not even sure if it exists for my system. Still, just thought I'd ask in case anyone knows of a way to get Gap up and running.
btw, using a 64-bit system.

_________________
Image

DeviantArt gallery


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sat Sep 07, 2013 2:44 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
GAP 2.6.0 will work with GIMP 2.8; you just have to recompile it. (Synaptic's version of GAP should work with Synaptic's version of GIMP. If not, it should be reported.)

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sat Sep 07, 2013 3:49 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I haven't got GAP yet on my Linux Fedora19 yet either, Nor do I have MathMap.

_________________
Image


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 8:31 am  (#4) 
Offline
GimpChat Member

Joined: Dec 27, 2012
Posts: 393
Location: England
Thanks for the info.
I haven't reported this yet as the version of Gimp I have is 2.8.6 which I compiled myself. The version that is installed with Mint 15 is 2.8.4 and can't be updated via synaptic, I guess the latest version of Gimp will be included with Mint 16.
Having said that 2.8.6 was added to synaptic's list when I compiled it so I'm not sure if it should work with the version of Gap that's in synaptic, but it doesn't.

So, I started to follow this thread viewtopic.php?f=9&t=4532 Ran ./autogen.sh and everything appears fine, no mention of any missing files or the like, but when I run make I end up with this message

/usr/bin/ld: ../libgapbase/libgapbase.a(gap_base.o): undefined reference to symbol 'exp@@GLIBC_2.2.5'
/usr/bin/ld: note: 'exp@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libm.so.6 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [gap_blend_fill] Error 1
make[2]: Leaving directory `/home/caz/Desktop/gimp-gap-master/gap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/caz/Desktop/gimp-gap-master'
make: *** [all] Error 2

Looks to me like there's a problem with the linker command line, but I've spent hours looking around on-line for an answer and most of the threads I've come across talk about stuff that's way beyond my knowledge. So if anyone knows of a way to fix the linker command line that would be good.

I also tried changing the line in the makefile.in just to see if it would make any difference, but it didn't

_________________
Image

DeviantArt gallery


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 9:20 am  (#5) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Try setting LDFLAGS with
export LDFLAGS="$LDFLAGS -lm"

before running autogen.sh

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 10:08 am  (#6) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2439
AFAIK the most recent gimp-gap is 2.6 from 2009 ie. pre-dates Gimp 2.8.x, it does not really matter which version of Gimp you have installed yourself.

Since Mint is based on Ubuntu -> Debian, why not try a Debian 64bit GAP package.

Maybe start at the cutting edge, SID
http://packages.debian.org/sid/gimp-gap

If that is no good work your way back JESSIE or WHEEZY
http://packages.debian.org/wheezy/gimp-gap

just check the dependencies that are listed on the way down to the platform versions are there on your installation.

_________________
Image


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 11:46 am  (#7) 
Offline
GimpChat Member

Joined: Dec 27, 2012
Posts: 393
Location: England
Thanks for the help guys, it's not going too well though.

saulgoode wrote:
Try setting LDFLAGS with
export LDFLAGS="$LDFLAGS -lm"

before running autogen.sh


Tried that but it still won't work, I even downloaded the gimp-gap-master package again to see if that would make a difference but no change.

rich2005 wrote:
AFAIK the most recent gimp-gap is 2.6 from 2009 ie. pre-dates Gimp 2.8.x, it does not really matter which version of Gimp you have installed yourself.

Since Mint is based on Ubuntu -> Debian, why not try a Debian 64bit GAP package.

Maybe start at the cutting edge, SID
http://packages.debian.org/sid/gimp-gap

If that is no good work your way back JESSIE or WHEEZY
http://packages.debian.org/wheezy/gimp-gap

just check the dependencies that are listed on the way down to the platform versions are there on your installation.


No joy with these either. I tried running ./autogen.sh on the SID and WHEEZY packages but terminal said something like there's no such command or file, can't quite remember which one or the exact wording though. So I looked for the autogen.sh file in each of the packages and it's not there, and now I have no idea how to compile the packages as the readme file for both sid and wheezy says to run the autogen.sh command. It's all rather confusing.

_________________
Image

DeviantArt gallery


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 11:57 am  (#8) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2439
err..no

The thought was rather than compile GAP go and get a precompiled debian package and see if it would install with (I think for mint) gdebi.

So from the link url down to the bottom for a 64 bit package (amd64)

http://packages.debian.org/sid/amd64/gimp-gap/download
then to the nearest mirror and download, say
http://ftp.uk.debian.org/debian/pool/ma ... _amd64.deb

IMHO worth a try.

_________________
Image


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 12:07 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
Don't use Gap but just for you tried installing it via synaptic, all seems to working Ok as far as I can tell.

I'm using Ubuntu 64bit 12.04 but got my copy of gimp 2.8.6 from noobslab.com

_________________
Image


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 12:19 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
Hi Caz.
In which version of Ubuntu is based Mint 15? Where you have installed GIMP? (from terminal: whereis gimp-2.8)
I have Kubuntu 12.04 64bit, and installing the package from the repositories then I can see the GAP tab "video" in GIMP 2.8.

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 1:21 pm  (#11) 
Offline
GimpChat Member

Joined: Dec 27, 2012
Posts: 393
Location: England
@ Rich 2005. Thanks for the link. I downloaded the amd64 package and now have no idea what to do with it, there's no readme and I just don't know enough about this stuff to figure out where the files should go or how to install them. I tried make install but terminal said something about no target specified. Totally lost here.

@ He4rty. Thanks for running the test for me. I don't know why I can't install via synaptic, it's all a bit of a mystery really.

@ YAFU. Apparently Mint 15 is based on Ubuntu 13.04. Gimp was installed after I compiled my own version, I got the source files from wherever they were posted when 2.8.6 was first released, probably Gimp.org. This is the problem with Mint 15, it's a great OS but it won't allow installing of packages that are newer than the ones listed in synaptic.

_________________
Image

DeviantArt gallery


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 3:08 pm  (#12) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2439
Quote:
@ Rich 2005. Thanks for the link. I downloaded the amd64 package and now have no idea what to do with it, there's no readme and I just don't know enough about this stuff to figure out where the files should go or how to install them. I tried make install but terminal said something about no target specified. Totally lost here..


It is a debian package, there are several ways to install
dpkg -i 'packagename'.deb
is one but since you are very uncertain ...

...try clicking on it, it should be associated with the package manager (gdebi I think) or right-click -> open with -> gdebi

edit: don't forget you have to be root to install a package.

_________________
Image


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 5:43 pm  (#13) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
just click on it

you will be prompted to confirm as sudo, typing again your PW

and if the package is compatible (there is a sort of automatic check, also for integrity ) should be installed straight away
If not, that is more rare, a error message would pop up , usually listing missing libraries or whatever was wrong

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Sun Sep 08, 2013 8:37 pm  (#14) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
I posted a thread describing the process of compiling GAP under Fedora Linux, but it should be useful for other distributions, as well.

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


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Mon Sep 09, 2013 6:04 am  (#15) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I have been trying to install GAP since I got up and I am confused as where I place the folders etc.
#1, I installed all the files above with terminal.
#2, I downloaded the patched tar.b2z.
Where do I place this folder after it is extracted?
in the File manger folder, or the .gimp-2.8 folder
What do I open to do the make command? and how do I get there.
Thank you for anyone that can steer me in the right direction.

_________________
Image


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Mon Sep 09, 2013 8:26 am  (#16) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Here is a compiled version of this morning, I hope it will work on your computer ...

This version of GAP is tested under:
- Debian Linux 64-bit
- Linux Mint 64-bit

Installation:
Unzip "gimp-gap-64bit-20130909.zip" into the root /
Declare /gimp-gap-64bit-20130909/plug-ins in Gimp preferences as directory plug-ins.


http://www.aljacom.com/~gmic/gimp-gap-6 ... 130909.zip
(238 498 768 bytes)

Decompressed size, about 630 Mbytes.

*****

Edit 20130606 : Add 2 script-fu for GAP


Attachments:
scripts-fu_gap.zip [2.98 KiB]
Downloaded 64 times


Last edited by samj on Mon Sep 09, 2013 9:40 pm, edited 1 time in total.
Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Mon Sep 09, 2013 12:09 pm  (#17) 
Offline
GimpChat Member

Joined: Dec 27, 2012
Posts: 393
Location: England
Thanks everyone for all the advice and thanks samj for the compiled version. I've downloaded it and will install it later but there was something I got curious about so would be interested to know what others think about this.

I reinstalled Gap via Synaptic and as usual it's a no show in Gimp. So I went hunting and found that the gap plugins had been installed in usr/lib/gimp/2.0/plug-ins

Image

I'm not sure if there's something wrong with the permissions and that's why Gap won't work or if there could be some other problem.
Thought this might be worth having a look at before I go any further.

_________________
Image

DeviantArt gallery


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Mon Sep 09, 2013 1:28 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
So you first had installed compiling GIMP, and then installed from repository?.
When you compile without specify a prefix, GIMP is installed by default in /usr/local. The package Installed from repository is installed in /usr.
So this is why I asked what is your "whereis gimp-2.8" output.
If I remember correctly, had happened to me incorrectly uninstall my compiled version in /usr/local, and then I had problems with the version from repositories. I had solved it cleaning everything related to GIMP (babl and gegl too) in "/usr/local" "/usr/local/share/" "/usr/local/bin " "/usr/local/lib" "/usr/local/include".

Edit: I think I misunderstood. You have installed your own compiled version, right?
You see with the command I have given where you have installed GIMP.
If you have GIMP installed in /usr/local, you must move the GIMP binary plugins to "/usr/local/lib/gimp/2.0/plug-ins/" (that folder should exist).

Edit 2: I had said something about symbolic links. But I think it's a bad idea if there are repeated files.

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Mon Sep 09, 2013 2:04 pm  (#19) 
Offline
GimpChat Member

Joined: Dec 27, 2012
Posts: 393
Location: England
Thanks YAFU.
I did install my own compiled version of Gimp, that's the one I'm still using. The output from the whereis gimp-2.8 command is
$ whereis gimp-2.8
gimp-2: /usr/local/bin/gimp-2.8 /usr/include/gimp-2.0

I'm not sure if Gimp is in the right place as the location for my install is different to the ones you have suggested. I should be able to move the plugins to a different location but I'm not sure where they should go. Also, I've read about making a symbolic link but haven't worked out how to do it yet as I'm still trying to learn how all this Linux stuff works, so any advice on how the links are made will be appreciated.
Cheers.

_________________
Image

DeviantArt gallery


Top
 Post subject: Re: Gimp-Gap for Linux.
PostPosted: Mon Sep 09, 2013 2:29 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 726
I do not know why you have GIMP installed on /usr/local, and libraries on /usr.
I think better you copy those files manually from the terminal with "sudo", or from your file browser with "gksudo" or "gksu".

From the terminal this would be (Assuming you have installed the package gimp-gap):
sudo cp /usr/lib/gimp/2.0/plug-ins/* /usr/local/lib/gimp/2.0/plug-ins/


Edit:
Or better you first try with GnuTux said, because in this way you not need touch system files/folders as root.

_________________
Image
Be patient, English is not my language.


Top
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) I am looking for a UserFilter 64 bit plugin for Linux

3

No new posts Attachment(s) Gimp on Linux with OpenCL

11

No new posts Attachment(s) Installing SCM in Fedora Linux

2

No new posts Attachment(s) New Gimp 2.10.19 appimage 2020402 (Linux)

6

No new posts Attachment(s) Cartonizer 0.8.5 for Linux Ubuntu 64bit

1



* Login  



Powered by phpBB3 © phpBB Group