Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-22-2006, 08:23 PM
|
#1
|
Member
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 91
Rep:
|
GIMP plug-ins failing to compile...?
It has been quite some time since I have posted here.
Recently I upgraded to Fedora Core 5, with some minor troubles (nVidia driver-related) but I figured those out.
Recently I've wanted to add some plugins to The Gimp,
since is there is such a wide variety of interesting types. However, they fail to compile and I am unsure why -- Here is what happens, when I tried to install the plasma2 plugin, as an example.
Code:
[crotalus@netblock-xx-xxx-xxx-xxx plasma2-2.11]$ make
cc `gimptool-2.0 --cflags` -DLOCALEDIR=\"`gimptool-2.0 --prefix`
/share/locale\" -DVERSION=\"2.11\" -Wall -O2 `gimptool-2.0 --l
ibs` -lm `gimptool-2.0 --cflags` -DLOCALEDIR=\"`gimptool-2.0 --p
refix`/share/locale\" -DVERSION=\"2.11\" -Wall -O2 plasma2.c
-o plasma2
plasma2.c:70:26: error: libgimp/gimp.h: No such file or director
y
plasma2.c:71:28: error: libgimp/gimpui.h: No such file or direct
ory
plasma2.c:145: warning: type defaults to int in declaration of
GimpParam
plasma2.c:145: error: expected ;, , or ) before * token
plasma2.c:161: error: expected ) before * token
plasma2.c:165: error: expected ) before * token
plasma2.c:167: error: expected ) before * token
plasma2.c:182: error: expected =, ,, ;, asm or __attrib
ute__ before PLUG_IN_INFO
plasma2.c:218: error: expected =, ,, ;, asm or __attrib
ute__ before * token
plasma2.c:235: warning: return type defaults to int
plasma2.c: In function MAIN:
plasma2.c:237: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:271: warning: type defaults to int in declaration of
GimpParam
plasma2.c:271: error: expected ;, , or ) before * token
plasma2.c:367: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:377: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:394: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:408: error: expected declaration specifiers or ... b
efore GimpDrawable
plasma2.c:409: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:446: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:464: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:653: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:661: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:669: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:686: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:697: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:742: error: expected ) before * token
plasma2.c:820: error: expected ) before * token
plasma2.c:851: error: expected ) before * token
plasma2.c:879: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:905: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:937: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:954: error: expected =, ,, ;, asm or __attrib
ute__ before { token
plasma2.c:983: error: expected =, ,, ;, asm or __attrib ute__ before { token
plasma2.c:995: error: expected =, ,, ;, asm or __attrib ute__ before { token
plasma2.c:1010: error: expected =, ,, ;, asm or __attri bute__ before { token
plasma2.c:1023: error: expected =, ,, ;, asm or __attri bute__ before { token
plasma2.c:1043: error: expected =, ,, ;, asm or __attri bute__ before { token
plasma2.c:1076: error: expected =, ,, ;, asm or __attri bute__ before { token
plasma2.c:1106: error: expected =, ,, ;, asm or __attri bute__ before { token
plasma2.c:1179: error: expected { at end of input
make: *** [plasma2] Error 1
[crotalus@netblock-xx-xxx-xxx-xxx plasma2-2.11]$
Also, I am running a AMD64-based system, if that is relevant (?).
Anyone have any idea as to what is going on here?
Thanks in Advance...
-- Crotalid
|
|
|
04-22-2006, 08:37 PM
|
#2
|
Member
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296
Rep:
|
Quote:
Originally Posted by Crotalid
plasma2.c:70:26: error: libgimp/gimp.h: No such file or directory
plasma2.c:71:28: error: libgimp/gimpui.h: No such file or directory
|
Looks like you don't have the dev package(s) for gimp installed.
|
|
|
04-22-2006, 08:59 PM
|
#3
|
Member
Registered: Jan 2006
Location: Carmichael, California
Distribution: Kubuntu 19.04
Posts: 91
Original Poster
Rep:
|
Quote:
Originally Posted by ataraxia
Looks like you don't have the dev package(s) for gimp installed.
|
Argh. I completely overlooked that possibility.
After installing gimp-devel with Yumex, I tried again.
This time I still have errors, but they are directory-related. I'm not sure what the 'LOCALEDIR' is,
as it shows below.
Code:
[crotalus@netblock-xx-xxx-xxx-xxx plasma2-2.11]$ gimptool --install plasma2.c
/usr/bin/install -c -d /home/crotalus/.gimp-2.2/plug-ins
x86_64-redhat-linux-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fomit-frame-p
ointer -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/incl
ude -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr
/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o /home/crotalus/.gimp-2.2/plu
g-ins/plasma2 plasma2.c -L/usr/lib64 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk -1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -l gmodule-2.0 -ldl -lglib-2.0
plasma2.c: In function run:
plasma2.c:281: error: LOCALEDIR undeclared (first use in this function)
plasma2.c:281: error: (Each undeclared identifier is reported only once
plasma2.c:281: error: for each function it appears in.)
plasma2.c: In function plugin_dialog:
plasma2.c:566: warning: pointer targets in passing argument 1 of gimp_random_s eed_new differ in signedness
Does it refer to the GIMP install dir?
-- Crotalid
|
|
|
04-22-2006, 09:54 PM
|
#4
|
Member
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296
Rep:
|
I think LOCALEDIR is related to libintl and GNU gettext. Probably you're missing another devel package for one of those (libintl-devel or gettext-devel or somesuch).
Also, it might be worth deleting the unpacked source archive and untarring it again - who knows if there are some kind of cache files in there that will screw you up when you change the build environment.
|
|
|
All times are GMT -5. The time now is 12:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|