Opened 11 years ago
Last modified 2 years ago
#42959 new defect
libjpeg not found when building emacs from source
Reported by: | holtzermann17@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager) | |
Port: | emacs |
Description
Here's what I see when I try to configure the latest bzr Emacs from source:
$ ./configure [...] configure: error: The following required libraries were not found: libjpeg libgif/libungif Maybe some development libraries/packages are missing? If you don't want to link with them give --with-jpeg=no --with-gif=no as options to configure
I have the jpeg
port installed. Any advice?
Change History (2)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 2 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Note: See
TracTickets for help on using
tickets.
As in #42928, I have to ask what happens when you install the emacs port, since it installs fine for me. If that's the case for you as well, but you still want to build emacs from source, then you need to tell the emacs configure script how to locate the libraries that MacPorts installed. You can examine the emacs port's main.log file to see the various environment variables and configure arguments that MacPorts uses to accomplish this.