all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Paul Eggert <eggert@cs.ucla.edu>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: Unable to find libgif/libungif on RHEL 6
Date: Thu, 10 Sep 2015 15:27:39 +0000	[thread overview]
Message-ID: <CAFyQvY3O_PKmaa_UbWGcdfY_BCGpwfuZZVcCdyOv6Fadz4W3Jw@mail.gmail.com> (raw)
In-Reply-To: <jwvh9n29uik.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1539 bytes --]

I just tried the rpm2cpio+cpio approach but that too didn't work.
One difference I noticed is that if I build giflib from source, it installs
the .so files in lib/.
But if I extract from the cpio, they get installed in lib64/ (Note that I
had to extract from both giflib rpm and giflib-devel rpm because
giflib-devel rpm lib64 simply had symbolic links which are supposed to link
to the .so files extracted from the giflib rpm).

I updated LD_LIBRARY_PATH to include the new lib64/ dir.

That leads me to a question: Just as we have LIBOTF_CFLAGS, LIBOTF_LIBS,
can we not have LIBGIF_CFLAGS and LIBGIF_LIBS?
I tried setting LIBGIF env var to "-L/path/to/the/lib64 -lgif" before doing
./configure.. but that did not help.

Something else is not right in my system.. but at least I am glad I can
still build emacs, be it without gif.

configure finds the gif_lib.h, I find that GifMakeMapObject reference in
that .h but somehow configure thinks that it's not there.

My package building fu is limited to this so I cannot debug why configure
thinks that GifMakeMapObject is not found in -lgif.



On Thu, Sep 10, 2015 at 11:16 AM Stefan Monnier <monnier@iro.umontreal.ca>
wrote:

> > I don't think I can install RPM packages in my $HOME without sudo. Can I?
>
> Depending what you mean by that, yes, it can be done.
> Just unpack the tarball with rpm2cpio+cpio.
>
> This will typically then require playing with LD_LIBRARY_PATH or
> somesuch, tho.
>
> I've done it in the past and I'm glad I don't need to do any more.
>
>
>         Stefan
>

[-- Attachment #2: Type: text/html, Size: 2156 bytes --]

  reply	other threads:[~2015-09-10 15:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10  4:58 Unable to find libgif/libungif on RHEL 6 Kaushal Modi
2015-09-10  5:14 ` Kaushal Modi
2015-09-10 10:06 ` Paul Eggert
2015-09-10 12:15   ` Kaushal Modi
2015-09-10 14:30     ` Paul Eggert
2015-09-10 15:16     ` Stefan Monnier
2015-09-10 15:27       ` Kaushal Modi [this message]
2015-09-10 18:36         ` Paul Eggert
2015-09-10 21:11         ` Wolfgang Jenkner
2015-09-11  2:51           ` Kaushal Modi
2015-09-11 12:23             ` Wolfgang Jenkner
2015-09-11 14:04               ` Kaushal Modi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFyQvY3O_PKmaa_UbWGcdfY_BCGpwfuZZVcCdyOv6Fadz4W3Jw@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.