Share

Refocus

Tracker: Bugs

5 Problems with Gimp 2.2 - ID: 1097428
Last Update: Comment added ( wiloyee )

There are compile problems with Gimp 2.2, because in the new
version Gimp has its own gimppreview. Simply pointing to the new
gimppreview.h doesn't work.


Stefan Nobis ( snobis ) - 2005-01-06 19:40

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 7 )




Date: 2007-03-28 04:54
Sender: wiloyee


configure can not find the gimptool
export GIMPTOOL=/usr/bin/gimptool didn't solve the problem
--with-gimp-exec-prefix=/usr/bin didn't solve the problem

gimptool --version 2.3.14
gcc --version gcc (GCC) 4.1.2 (Gentoo 4.1.2)



Date: 2006-01-22 11:44
Sender: doug_bainbridge

Logged In: YES
user_id=1432067

Makefile in ...../refocus-0.9.0_gimp2_rozen/src
seems to be buggy.

Changed @GIMPTOOL@ to ${GIMPTOOL}
then
export GIMPTOOL=/usr/bin/gimptool
and
make install-bin
does install the plug-in


Date: 2006-01-18 15:46
Sender: nobody

Logged In: NO

I've tried to compile for 2.2.4, following all the
suggestions of the previous comments. I needed to edit
gimppreview.h and gimppreview.c to change some GimpPreview's
to GimpPreview_Rozen's.

configure (and make) then went OK apart from some warnings.

However, make install-bin comes up with the following error
"/bin/sh: @GIMPTOOL@: command not found"

although 'gimptool' *is* present in /usr/bin.
putting "export GIMPTOOL=/usr/bin/gimptool" before the make
command doesn't help.

What should I do?
.............................................
output following make install-admin-bin:

"cd src; make install-admin-bin
make[1]: Entering directory
`/home/dougb/downloads/refocus-0.9.0_gimp2_rozen/src'
/bin/sh: @GIMPTOOL@: command not found
make[1]: *** [install-admin-bin] Error 127
make[1]: Leaving directory
`/home/dougb/downloads/refocus-0.9.0_gimp2_rozen/src'make:
*** [install-admin-bin] Error 2"



doug_bainbridge@onetel.com


Date: 2005-07-26 00:02
Sender: fishb8

Logged In: YES
user_id=1231015

if you are having problems with the configure script, running

autoreconf -i --force

*after* automake-1.6 and aclocal-1.6 can fix a lot of things


Date: 2005-07-22 11:14
Sender: nobody

Logged In: NO

I tried to compile for 2.2, but it didnt work.
I applied the patch, and copied
/usr/share/automake-1.9/depcomp, but when i configure and
make i get:

anlib libcblas.a
make[2]: Leaving directory `/Z/downloads/refocus-0.9.0/lib'
gcc -Wall -ansi -pedantic -ggdb -fomit-frame-pointer -O3
-funroll-all-loops -o refocus refocus.o conv.o
gimppreview.o prevman.o util.o matrix.o tilebuf.o
bdclosure.o fwlapack.o -Wl,--export-dynamic -L/opt/gnome/lib
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0 -lgimp -L../lib -llapack
-lcblas -latlas
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld:
cannot find -lgimp
collect2: ld returned 1 exit status
make[1]: *** [refocus] Fehler 1
make[1]: Leaving directory `/Z/downloads/refocus-0.9.0/src'
make: *** [all-recursive] Fehler 1



I have installed gimp-devel and compiled other plugins
sucessfully.
What have i done wrong?



Date: 2005-03-07 12:00
Sender: nobody

Logged In: NO

Make Refocus work with GIMP 2.2.3

Forgot something.

I had to copy /usr/share/automake-1.6/depcomp
to ./refocus-0.9.0/ befor ./configure


Date: 2005-03-07 11:48
Sender: nobody

Logged In: NO

Make Refocus work with GIMP 2.2.3

1. Apply this patch:
http://sourceforge.net/tracker/?atid=535004&group_id=72588&func=browse

2. Delete line 29 "#include <libgimp/gimpui.h>"
in ./refocus-0.9.0/src/gimppreview.h

3. Make sure, that automake-1.6, aclocal-1.6 and
autoconf-2.5 are used.

4. cd ./refocus-0.9.0/ && ./configure && ./make


Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.