Re: cannot configure GNU emacs master

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 2/21/21 12:18 PM, Uwe Brauer wrote:
> 
> 
> Hi
> 
> I cloned the latest GNU emacs master
> 
> I run
> 
> ./configure --prefix=/opt/emacs28 --with-x-toolkit=athena --without-pop --with-mailutils
> 
> Not sure about athena, in any case  I obtained
> 
> 
> 
> configure: error: The following required libraries were not found:
>       gnutls
> Maybe some development libraries/packages are missing?
> To build anyway, give:
>       --with-gnutls=ifavailable
> as options to configure.
> oub@Uwes-MacBook-Air emacs % fink install gnutls
> Password:
> Information about 11044 packages read in 5 seconds.
> Failed: no package found for specification 'gnutls'!

Use `fink list gnutls` to find the actual name for the gnutls package. 
In this case, you want "gnutls30" for the headers and other development 
files, and "gnutls30-shlibs" for the actual library. Depending on how 
emacs28 searches for libraries, you might also need to set CPPFLAGS to 
"-I/opt/sw/include" and LDFLAGS to "-L/opt/sw/lib" so that ./configure 
works.

See 
<https://www.finkproject.org/faq/usage-general.php?phpLang=en#compile-myself> 
for some other things you might need to set if the above is not 
sufficient (replace /sw in the FAQ to /opt/sw for your install).

Our package gnutls30-shlibs is in a subdirectory to avoid file 
collisions, so you might need to set some extra bits for LDFLAGS (see 
the output from `pkg-config --libs gnutls`)

Hanspeter

-- 
Más ágil que una tortuga... más fuerte que un ratón... más noble que una 
lechuga


_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.