VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Gimp Plugin Build Problem  (Read 1466 times)

Martin109

  • Vectorite
  • ***
  • Posts: 290
Gimp Plugin Build Problem
« on: July 31, 2011, 03:08:00 am »

I'm trying to build David's Batch Processor for GIMP under VL6.0.

DBP help pages states:

“There is no configure file, use make install to build and install in your local gimp plugins directory. You will need g++ and the gimp development packages for the appropriate Gimp version - if you can compile C++ and can build any other Gimp plugin, you should have no problems. The Makefiles are very primitive and can be edited directly if needed.”

When I run (as root)

Code: [Select]
Vector://home/martin
root:# make install /home/martin/Desktop/dbp-1.1.9
make: *** No rule to make target 'install'. Stop.

Could this because I don't have the gimp development packages?  If so, what are these, and where do I download them?  I know I have gcc and g++ OK, as I've already used them.

The list of files in the dbp-1.1.9 folder are as follows:

Makefile

dbp-fileSelector.png

dbp-main.png

dbp.cc

dbp.html

gimpCall.cc

gimpCall.h

gui.cc

gui.h

messages.po

op.cc

op.h


The content of makefile is:

Code: [Select]
#

# all our Makefiles are lovingly handcrafted by our semi-skilled technicians

#

# GIMPARGS = $(shell gimptool-2.0 --cflags --libs)

GIMPARGS = $(shell pkg-config --cflags --libs gimpui-2.0)

# NODEPS = -DGIMP_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED

# gimp progress api changed in 2.3.something - compiles OK with this though

NODEPS = -DGTK_DISABLE_DEPRECATED



all: dbp



dbp: *.cc *.h

g++ -o dbp -Wall -O2 -I. *.cc $(GIMPARGS) $(NODEPS) $(CPPFLAGS) $(LDFLAGS)



install: dbp

gimptool-2.0 --install-bin dbp



install-admin: dbp

gimptool-2.0 --install-admin-bin dbp



clean:

rm dbp

Logged
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard

Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Martin109

  • Vectorite
  • ***
  • Posts: 290
Re: Gimp Plugin Build Problem
« Reply #1 on: August 04, 2011, 02:34:13 pm »

Sorted with:

Vector://home/martin/Desktop/dbp-1.1.9
root:# LDFLAGS=-Wl,--allow-shlib-undefined make install
Vector://home/martin/Desktop/dbp-1.1.9
root:# cp dbp /home/martin/.gimp-2.6/plug-ins

Logged
Compaq Armada E500, i686 Pentium III, 512Mb RAM, 3.2 Gb HDD, running Vector Linux 5.9 Standard

Fujitsu Lifebook, i686 Pentium M, 1.7 GHz, 1028Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard

Compaq Evo, i686 Pentium M, 1.4 GHz, 512Mb RAM, 40 Gb HDD, running Vector Linux 6.0 Standard