
You were right I just had to remove the -l.
Now I get a bloody error at make:
Making all in gimp-plugin
if gcc -DLOCALEDIR=\"/opt/local/gimp-plugin/share/locale\" -DDATADIR=\""/opt/local/gimp-plugin/share/"\" -DHAVE_CONFIG_H -I. -I. -I.. -I../gimp_plugin -I../src -DXTHREADS -I/opt/local/include/gimp-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/pixman-1 -g -O2 -Wall -MT main-gimp.o -MD -MP -MF ".deps/main-gimp.Tpo" \
-c -o main-gimp.o `test -f 'main-gimp.c' || echo './'`main-gimp.c; \
then mv -f ".deps/main-gimp.Tpo" ".deps/main-gimp.Po"; \
else rm -f ".deps/main-gimp.Tpo"; exit 1; \
fi
main-gimp.c: In function 'query':
main-gimp.c:365: warning: implicit declaration of function 'setlocale'
main-gimp.c:365: error: 'LC_ALL' undeclared (first use in this function)
main-gimp.c:365: error: (Each undeclared identifier is reported only once
main-gimp.c:365: error: for each function it appears in.)
main-gimp.c: In function 'dialog_parameters_create':
main-gimp.c:489: warning: assignment discards qualifiers from pointer target type
main-gimp.c:490: warning: assignment discards qualifiers from pointer target type
make[2]: *** [main-gimp.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Do I still need gettext from source?




Nevermind.