Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Digital Photography > Re: GIMP magazine - Issue 3 - Out now!

Reply
Thread Tools

Re: GIMP magazine - Issue 3 - Out now!

 
 
Danny D.
Guest
Posts: n/a
 
      03-06-2013
On Wed, 06 Mar 2013 10:08:07 +0000 p-0'0-h the cat wrote:

> Read all about it!
> http://gimpmagazine.org/issue3/


What did I do wrong?

That very pretty magazine had a great article on GMIC.
So I tried to install GMIC - but failed.

What's the next step in installing the GMIC gimp plugin?

After reading the article, I downloaded GMIC gmic_1.5.4.1.tar.gz from
http://sourceforge.net/projects/gmic/?source=directory

I extracted to create a gmic-1.5.4.0 directory using this sequence:
$ gunzip gmic_1.5.4.0.tar.gz
$ tar xvf gmic_1.5.4.0.tar
$ view gmic-1.5.4.0/README
To install the G'MIC plug-in for GIMP, you have to copy
the file 'gmic_gimp' (Unix) to the plug-in folder of
your GIMP installation.
$ sudo updatedb; locate plug-ins|grep gimp
/home/usr1/.gimp-2.6/plug-ins
/home/usr/lib64/gimp/2.0/plug-ins
$ ls -ld /home/usr1/.gimp-2.6/plug-ins
drwxr-xr-x. 22 usr1 usr1 4096 Mar 6 06:01 /home/usr1/.gimp-2.6/
$ vi ./gmic-1.5.4.0/src/Makefile
CHANGE FROM:
# PLUGINDIR = `gimptool-2.0 --gimpplugindir`/plug-ins
CHANGE TO:
PLUGINDIR = `/home/usr1/.gimp-2.6`/plug-ins
$ cd ./gmic-1.5.4.0/src/
$ make install
mkdir -p `/home/usr1/.gimp-2.6`/plug-ins/
/bin/sh: /home/usr1/.gimp-2.6: is a directory
mkdir: cannot create directory `/plug-ins/': Permission denied
make: *** [install] Error 1
$ vi ./gmic-1.5.4.0/src/Makefile
CHANGE FROM:
PLUGINDIR = `/home/usr1/.gimp-2.6`/plug-ins
CHANGE TO:
PLUGINDIR = `/tmp`/plug-ins
$ make install
mkdir -p `/tmp`/plug-ins/
/bin/sh: /tmp: is a directory
mkdir: cannot create directory `/plug-ins/': Permission denied
make: *** [install] Error 1

Does anyone else see these errors on Linux?

 
Reply With Quote
 
 
 
 
DanP
Guest
Posts: n/a
 
      03-06-2013
On Wed, 06 Mar 2013 16:10:36 +0000, Danny D. wrote:

> PLUGINDIR = `/tmp`/plug-ins
> $ make install
> mkdir -p `/tmp`/plug-ins/
> /bin/sh: /tmp: is a directory mkdir: cannot create directory
> `/plug-ins/': Permission denied make: *** [install] Error 1
>
> Does anyone else see these errors on Linux?


Well the message tells you you need to have permission to create
directories. Type sudo with a space before your command and after that
the root password when prompted.

Or even better get that package through a repository. I can see it in
Ubuntu Software Centre. Search for gmic.


DanP
 
Reply With Quote
 
 
 
 
Danny D.
Guest
Posts: n/a
 
      03-07-2013
On Wed, 06 Mar 2013 17:25:37 +0000 DanP wrote:

> Or even better get that package through a repository.
> I can see it in Ubuntu Software Centre. Search for gmic.


In Centos, it's never simple to install non-enterprise software ...

$ yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,
\*-source,\*debug\* provides "*/gmic"

Reported:
No Matches found

 
Reply With Quote
 
Danny D.
Guest
Posts: n/a
 
      03-07-2013
On Wed, 06 Mar 2013 17:25:37 +0000 DanP wrote:
> you need to have permission to create directories.


On Wed, 06 Mar 2013 17:05:32 +0000, J G Miller wrote:
> You are using backquotes ==>`<==


On Wed, 06 Mar 2013 16:22:59 +0000, p-0'0-h the cat wrote:
> at a guess there's a space


I appreciate the suggestions.

This is the unedited original command in the Makefile:
PLUGINDIR = `gimptool-2.0 --gimpplugindir`/plug-ins

That backquoted command won't work because there is no gimptool:
$ gimp --version
REPORTED: GNU Image Manipulation Program version 2.6.9
$ gimptool --gimpplugindir
REPORTED: bash: gimptool: command not found
$ gimp --gimpplugindir
REPORTED: Unknown option --gimpplugindir
$ sudo updatedb; locate gimptool
REPORTED: nothing

So, I tried putting all three suggestions together in the Makefile,
and, that result worked (thanks) - but it failed a bit later:

$ vi Makefile
CHANGE FROM: PLUGINDIR = `gimptool-2.0 --gimpplugindir`/plug-ins
CHANGE TO: PLUGINDIR = /tmp/plug-ins
$ make install
REPORTED:
mkdir -p /tmp/plug-ins/
cp -f gmic_gimp /tmp/plug-ins/
cp: cannot stat `gmic_gimp': No such file or directory
make: *** [install] Error 1

However, it still fails. So, I think I'll give up, for now as I just
wanted to test it out but it's becoming too hard for me to compile it.

$ make clean
(works fine)
$ make <=== Fails with numerous errors, the first of which is:
In file included from gmic.h:71,
from gmic.cpp:884:
./CImg.h:259:17: error: png.h: No such file or directory
./CImg.h:272:21: error: jpeglib.h: No such file or directory
./CImg.h:286:20: error: tiffio.h: No such file or directory
... and so on ...

Thanks for the help. This is one that will have to wait until Centos
gets it in a repository (which is likely never, given Centos' mission).
 
Reply With Quote
 
Whisky-dave
Guest
Posts: n/a
 
      03-07-2013
On Wednesday, March 6, 2013 4:10:36 PM UTC, Danny D. wrote:
> On Wed, 06 Mar 2013 10:08:07 +0000 p-0'0-h the cat wrote:
>
>
>
> > Read all about it!

>
> > http://gimpmagazine.org/issue3/

>
>
>
> What did I do wrong?


No the right sort of gimp, I was looking for a mask
 
Reply With Quote
 
DanP
Guest
Posts: n/a
 
      03-07-2013
On Thursday, March 7, 2013 5:44:54 AM UTC, Danny D. wrote:

> Thanks for the help. This is one that will have to wait until Centos
> gets it in a repository (which is likely never, given Centos' mission).


Just run Ubuntu or Mint off an USB stick or SD card. Use UNetbootin to create the bootable USB media and reserve space for OS use. If you like it and suits your needs create a partition and have a dual boot.


DanP
 
Reply With Quote
 
Danny D.
Guest
Posts: n/a
 
      03-07-2013
On Thu, 07 Mar 2013 14:00:37 +0000 J G Miller wrote:

> Did you not first run configure which should have warned you

Hmmm... I'm not all that experienced in using Makefiles, but,
there is no "configure" in the src directory.

$ cd /tmp/gmic-1.5.4.0/src
$ ls *ls configure*
No such file or directory.

> So for each missing header file png.h, jpeglib.h, tiffio.h etc,
> you need to use your package management too to tell you the exact name
> of the package which you need to install.


$ yum --noplugins --showduplicates --enablerepo \* --disablerepo c6-media,
\*-source,\*debug\* provides "*/png.h"

Reports (among others):
xulrunner-devel-1.9.2.9-1.el6.centos.x86_64: Development files for Gecko
Repo : C6.0-base
Filename : /usr/include/xulrunner-sdk-1.9.2/png.h

$ !-1:gs/png/jpeglib
Reports (among others):
libjpeg-devel-6b-46.el6.x86_64 : Development tools for programs
which will use the libjpeg library
Repo : base
Filename : /usr/include/jpeglib.h

$ !-1:gs/jpeglib/tiffio
Reports (among others):
libtiff-devel-3.9.4-6.el6_3.x86_64 : Development tools for programs
which will use the libtiff library
Repo : updates
Filename : /usr/include/tiffio.h

Wow. That will be tedious. I think I'm going to have to just give up,
as this would just be the start of the cascade. This tool unfortunately,
wasn't built for the average user (at least on Centos) to employ.

> Sometimes the README or INSTALL file supplied with a software package
> will tell you all the names


Not this one. There is a very short README file, which says nothing
about how to compile. There is no INSTALL file.

Thanks for the advice. I appreciate it. Every time I try to install
anything on Centos, it drives me crazy. Half the time I win; the
other half I give up (which is going to be the case this time).

Thanks!

 
Reply With Quote
 
Danny D.
Guest
Posts: n/a
 
      03-07-2013
On Thu, 07 Mar 2013 16:08:45 +0000 Danny D. wrote:

> Hmmm... I'm not all that experienced in using Makefiles, but,
> there is no "configure" in the src directory.
>
> $ cd /tmp/gmic-1.5.4.0/src
> $ ls *ls configure*
> No such file or directory.


Ooops., That was "ls configure", but, even an ls -alsF or ls .??* doesn't
find a configure. And there is no "make configure" either.

Here's what 'is' in the src directory:
$ ls -l
total 9408
-rw-rw-r--. 1 usr1 usr1 2269513 Jan 28 03:10 CImg.h
-rwxr-xr-x. 1 usr1 usr1 99504 Jan 28 03:10 gmic_bashcompletion.sh
-rw-rw-r--. 1 usr1 usr1 550661 Jan 28 03:10 gmic.cpp
-rw-rw-r--. 1 usr1 usr1 1013116 Jan 28 03:10 gmic_def.gmic
-rw-rw-r--. 1 usr1 usr1 5484741 Jan 28 03:10 gmic_def.h
-rw-rw-r--. 1 usr1 usr1 149893 Jan 28 03:10 gmic_gimp.cpp
-rw-rw-r--. 1 usr1 usr1 15869 Jan 28 03:10 gmic.h
-rw-rw-r--. 1 usr1 usr1 3628 Jan 28 03:10 gmic_in_script.scm
-rw-rw-r--. 1 usr1 usr1 4887 Jan 28 03:10 gmic_use_lib.cpp
-rw-rw-r--. 1 usr1 usr1 18132 Mar 6 21:38 Makefile

 
Reply With Quote
 
sid
Guest
Posts: n/a
 
      03-07-2013
Danny D. wrote:

> On Wed, 06 Mar 2013 10:08:07 +0000 p-0'0-h the cat wrote:
>
>> Read all about it!
>> http://gimpmagazine.org/issue3/

>
> What did I do wrong?
>
> That very pretty magazine had a great article on GMIC.
> So I tried to install GMIC - but failed.
>
> What's the next step in installing the GMIC gimp plugin?


going here

http://gmic.sourceforge.net/gimp.shtml


--
sid
RLU 300284
2
 
Reply With Quote
 
Mike Easter
Guest
Posts: n/a
 
      03-07-2013
f/ups to acf

Danny D. wrote:

> This is one that will have to wait until Centos gets it in a
> repository (which is likely never, given Centos' mission).


gmic in this centos repo

http://foss.kemenkumham.go.id/centos/pool/universe/g/



--
Mike Easter
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Magazine: Issue 1 Free! Bruno Desthuilliers Python 17 10-11-2007 02:37 AM
Outdoor Photographer/Shutterbug Magazine back issue article question QX Digital Photography 1 10-03-2006 08:45 AM
Florida Photo Magazine November issue out Mark Van Doren Digital Photography 0 11-17-2005 07:13 AM
Output contrast issue: monitor to magazine CMYK Jytzel Digital Photography 11 12-08-2004 02:52 PM
Re: GIMP is on the NZ PC world magazine Mainlander NZ Computing 32 10-11-2003 04:28 AM



Advertisments