On 12/6/05, Patrick Shanahan <[EMAIL PROTECTED]> wrote:
> * Myke C. Subs <[EMAIL PROTECTED]> [12-06-05 16:40]:
> > Carol Spears wrote:
> > >
> > >it is easy to build gimp-perl.  get the tarball and open it.
> > >
> > >type "perl Makefile.PL"
> > >soon after type "make"
> > >when that is completed, as root type "make install"
> ...
> > As root:
> > ---------
> > linux:/home/mykec/Downloads/TGZ/Gimp-2.0 # perl Makefile.PL
>
> no, run the 'perl Makefile.PL' as {user} and run 'make' as {user}.
>
> then run as root, checkinstall
>
> checkinstall will run/convert "make install" into an rpm and update
> the rpm database for you.

Since he's already run "perl Makefile.PL" as root, he's probably
messed the permissions here and there - in that case it'd be easiest
to delete/clean and re-unpack it as a normal user to be able to do
this, IIRC.

In any case, my understanding is to do the following:
(prefixed with $: run as normal user, prefixed with #: run as root)
$ tar -xvzf <file>
$ cd <dir>
$ perl Makefile.PL
$ make
# make install

Now, an alternative to the last line is "$ su make install" as a
regular user (you will be prompted for root's password and returned to
a regular user upon command's completion, requires "su" to be
installed) or "$ sudo make install" as a regular user (you will be
prompted for your password and returned to a regular user upon
command's completion, requires "sudo" to be installed and for you to
be configured in /etc/sudoers (by editing with "visudo" as root) to be
allowed to run the program as root). If you get the latter method
(sudo) working, my understanding is that it is preferred to use that.

If you have the "checkinstall" program, you can replace "make install"
in any of the above commands with

"checkinstall make install"

which can make a package for you and automatically install it.  That
said, you may need to know about the metadata in the so-called
"regular" package that would be in your system if anything needs to
depend on it so to avoid having two packages for the same stuff. (That
said, it's probably not as bad as having a local source install and a
package at the same time.)

--
~Mike
 - Just the crazy copy cat.
_______________________________________________
Gimp-user mailing list
[email protected]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to