VectorLinux
December 22, 2014, 04:22:21 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Gimp Plugin Build Problem  (Read 1357 times)
Martin109
Vectorite
***
Posts: 290


« on: July 31, 2011, 02: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:
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:
#

# 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


« Reply #1 on: August 04, 2011, 01: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!