Comments (12)
This error message => configure: error: GIMP development libraries not found; please install.
usually means that this package was not installed => libgimp2.0-dev
To clarify the discussion, you seem to be "building" the resynthesizer from the source obtained from this github repository. The resynthesizer is not actually "packaged" on this repository, since a package is usually ready to be installed without building. To build the resynthesizer, you must first install many build tools (compilers etc.), and install the header files for the libraries that the resynthesizer must be built with (compiled and linked with.) Said header files for libraries are usually packaged separately from packages that contain the library. In this case, the library is libgimp (generically, with a version number it is named something like libgimp-2.0). It is not enough to install the package that contains the GIMP application; that installs the library but not the header files needed for development (to build a plugin such as the resynthesizer.) You must also install the so-called "GIMP development package" that includes the header files for the library libgimp. In this case, said development package is usually named "libgimp2.0-dev". So you usually need "apt-get install libgimp2.0-dev" before you start building resynthesizer.
I could be wrong, names and packaging might have changed, that is all off the top of my head and could have typos, and I have not recently built resynthesizer for 18.04.
from resynthesizer.
@bootchk , I've finally been able to install the package, but I can't get GIMP to show the plugin options on the interface.
5 minutes later EDIT
I'll write this as an edit so that people who come here later can learn from my mistake.
The problem is that I'm stupid and I misinterpreted the readme. I thought that this section only applied to pre-built distributions, so I hadn't copied the python files to the plug-ins folder.
Now that I have copied them and given the right permissions, it does show in GIMP :)
END EDIT
I did many things to try to install it, and what I think that fixed my problem was:
Completely remove GIMP and the packages below:
sudo apt-get remove --purge gimp
sudo apt-get remove --purge libgimp2.0-dev libpcre3-dev
sudo apt-get autoremove
I also disabled the otto-kesselgulasch/gimp ppa.
Then:
sudo apt-get update
sudp apt-get upgrade
sudo apt-get install gimp
sudo apt-get install libgimp2.0-dev libpcre3-dev
This time, GIMP 2.10.6 was installed straight from Ubuntu repository. I was surprised to see that Ubuntu is up to date with the latest version of a package, for a change.
After having done that, I was able to run the install commands from the root directory downloaded from this repository:
./autogen.sh
./configure
make
make install
I needed to run make install
as sudo in order to have access to the /usr/local/lib/
folder.
So, everything was installed smoothly, but I still can't access the Enhance>Heal selection (or any other tools) from GIMP.
In my /usr/lib/gimp/2.0/plug-ins
folder I see the following:
...
-rwxr-xr-x 1 root root 165088 Oct 14 15:50 resynthesizer
-rwxr-xr-x 1 root root 82728 Oct 14 15:50 resynthesizer_gui
...
And I have also set the path as per readme:
Installs to the shared Gimp directories. Except on Ubuntu, it installs to /usr/local/lib/gimp/2.0/plug-ins and you may need to set the GIMP Edit>Preferences>Folders>Plugins> to include that path.
After restarting GIMP, I still can't see the filters :/
Any ideas?
from resynthesizer.
After installing libgegl-dev compiling worked here (Ubuntu 18.04.1, Gimp 2.10.8 from otto-kesselgulasch).
from resynthesizer.
This time, GIMP 2.10.6 was installed straight from Ubuntu repository. I was surprised to see that Ubuntu is up to date with the latest version of a package, for a change.
Are you sure? I followed your steps, and after remove Otto ppa, Ubuntu offers to install gimp 2.8
(I have ubuntu 18.04).
from resynthesizer.
Thanks for you quick reply, @bootchk
However, libgimp2.0-dev appears to already be installed. When I run "apt-get install libgimp2.0-dev", I get
libgimp2.0-dev is already the newest version (2.10.6+om-0ubu18.04.2~ppa).
Can you think of any other package that I am missing?
from resynthesizer.
I am still exploring. An update on lack of progress:
I read the configure.ac script. You can see there where the error message is delivered, apparently when libgimp-2.0 or libgimpui-2.0 is not present according to the package manager? I have only limited knowledge of these scripts, the tools they call, and the libraries they are looking for, since the scripts were written by the GIMP project and I just made a few modifications.
I also see that GIMP 2.10.6 was released very recently, so I am wondering whether something has changed by the GIMP org.
It might be that no one else has built resynthesizer for GIMP v2.10.6 yet. This repository is set up to build automatically on Travis CI, but I just looked, it only builds when there is a commit to this repository, so it hasn't built in 4 months. I also don't know which GIMP release Travis builds against.
Also, to answer your question, libglib2.0-dev is another required package (for a library), but that is noted in the readme, and I assume you have checked that.
from resynthesizer.
Also, in my opinion, you have complicated the install process. It might work better if you stick to Ubuntu packages for GIMP and plugins (gimp-plugin-registry), if you don't need the very latest GIMP (I don't know what GIMP version that Ubuntu 18.04 delivers, probably not GIMP 2.10.6.)
You say you have installed a GIMP 2.10.6 from another ppa. I would guess that does not overwrite any GIMP packages installed from Ubuntu releases, and that might be the problem, i.e. some sort of problem where the build of resynthesizer is looking at two different GIMP installations, roughly speaking.
I also see that you have tried snap. At least to me, that also is bleeding edge. I myself am just learning about snap and app image and flatpack: all competing technologies for easing installation, with no consensus in the community, yet. See https://askubuntu.com/questions/866511/what-are-the-differences-between-snaps-appimage-flatpak-and-others
There are other issues reported for resynthesizer and other third party plugins about the flatpack distribution of GIMP. I hope to resolve that issue (create scripts to build the resynthesizer as a flatpack.) But now I see that would only help some users, those who use flatpack instead of snap or app image. So I am waiting for a consensus to build.
from resynthesizer.
Again, thank you for your detailed reasoning about this problem. I haven't had time to try anything else yet, but as soon as possible I'll try a fresh install of GIMP using the Ubuntu packages. I indeed don't necessarily need the very latest GIMP version. I'll let you know if it works, and also if it doesn't.
from resynthesizer.
It appears that the Python plugins were not copied on install. I can't explain why not.
When it installs properly, it copies the two executables resynthesizer and resynthesizer-gui. These are the "engine" and the "control panel" plugin. If properly installed, the control panel appears in GIMP as Filters>Map>Resynthesize... At least that should be visible for you in the GIMP application. If not, then I can only surmise you are inadvertently starting a GIMP app that is not looking in the right place (one of the two directories you mention), e.g. a GIMP from Snap or Flatpack.
When it installs properly, it also copies the Python plugins (suffix .py) to the same place. Filter>Enhance>Heal Selection is courtesy of one of the Python plugins. To remedy the failed install, you can just copy from the repository, all the .py files, into either of the directories you mentioned, and change their permissions to executable. They are just text files, but they do need to be executable.
It surprises me also that Ubuntu 18.04 installed GIMP 2.10.6, as other sources say it does not, and that GIMP 2.10 is only packaged with Ubuntu 18.10. Maybe you are not starting the GIMP that Ubuntu installed?
from resynthesizer.
Sorry for the very late reply. I basically only have time for my (new) photography hobby on the weekends, but it wasn't even the case last weekend.
To remedy the failed install, you can just copy from the repository, all the .py files, into either of the directories you mentioned, and change their permissions to executable.
Yes, that is exactly what worked for me, @bootchk
@lapega and @bootchk , you are correct! I don't know if it was a caching problem or if, somehow, I did something wrong on the steps I described, but indeed my GIMP 2.10.6 came from the Otto ppa.
Since everything that I need works now, I won't touch it anymore until I have to xD
Thank you for the help :)
from resynthesizer.
it is not installing in ubuntu 18.04 with ppa build,
copying py file can not create resynth engine, may only get some interface.
some body need to amend the configure file.
from resynthesizer.
Closing this issue since it might be two problems: 1) building GIMP and resynthesizer from ppa's in advance of a distribution release, and 2) installing resynthesizer into an installed snap of GIMP. The former is often "you are on your own" since too many things can go wrong. The latter problem remains to be fixed.
I recently added vagga scripts, and used those to test that resynthesizer builds on Ubuntu 18.10 and 19.04 with GIMP and GIMP libraries that Ubuntu packaged with those distributions. The documented build process and dependencies appear to remain correct.
from resynthesizer.
Related Issues (20)
- Great tool, but wondering zip file consists of files of 2011 - 2013
- deprecations branch changes HOT 5
- ambiguity in which flatpak package to use HOT 3
- This plug-in didn't work on zorin os 16.1
- Uncrop doesn't work when there is an alpha channel HOT 1
- 404 link to gimp repositry HOT 2
- Nightly releases via GitHub Actions
- Menu strings should use Header Capitalization
- Cannot install in Arch linux HOT 6
- Can't build the deprecations branch on windows. HOT 6
- Not working on Fedora 36 HOT 1
- Most functionality does not appear in GIMP 2.10.30 on Ubuntu 22.04.1 HOT 15
- it doesn't run on ARM64 linux distros HOT 2
- An error occurred running python_fu_heal_selection HOT 2
- Error message HOT 3
- Roadmap for resynthesizer to Gimp 3 HOT 2
- Enhance enlarge by resynthesis
- The input map should be the same size as the input texture image
- resynthesizer_gui plugin crashes Mac OSX Sonoma 14.2 HOT 2
- Misbehaviour on context aware features within folders
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resynthesizer.