* troubles compiling emacs26.1 on ubuntu18.04
@ 2018-10-28 9:27 Le TeXnicien de Surface
2018-10-28 11:49 ` Javier
0 siblings, 1 reply; 4+ messages in thread
From: Le TeXnicien de Surface @ 2018-10-28 9:27 UTC (permalink / raw)
To: help-gnu-emacs
hello all
I'm trying to compile emacs26.1 on my ubuntu18.04
the configuration stage works well
I've just got a warning about GTK+ and a possible crash
in case of many instances
The make phase stalls with this message:
<end of make message>
CCLD temacs
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 :
référence indéfinie vers « FcWeightToOpenType »
//usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 :
référence indéfinie vers « FcWeightFromOpenType »
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libcairo.so :
référence indéfinie vers « FT_Get_Var_Design_Coordinates »
//usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 :
référence indéfinie vers « FT_Get_Var_Blend_Coordinates »
collect2: error: ld returned 1 exit status
Makefile:600: recipe for target 'temacs' failed
make[1]: *** [temacs] Error 1
make[1] : on quitte le répertoire « /home/pclf/temp/emacs-26.1/src »
Makefile:418: recipe for target 'src' failed
make: *** [src] Error 2
</end of make message>
where "référence indéfinie vers" means "undefined reference to"
any hint would be greatly appreciated
many thanks in advance
--
YH TeXnicien de surface
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: troubles compiling emacs26.1 on ubuntu18.04
2018-10-28 9:27 troubles compiling emacs26.1 on ubuntu18.04 Le TeXnicien de Surface
@ 2018-10-28 11:49 ` Javier
2018-10-28 12:49 ` Le TeXnicien de Surface
0 siblings, 1 reply; 4+ messages in thread
From: Javier @ 2018-10-28 11:49 UTC (permalink / raw)
To: help-gnu-emacs
Le TeXnicien de Surface <le.texnicien.de.surface@orange.fr> wrote:
> hello all
>
> I'm trying to compile emacs26.1 on my ubuntu18.04
> the configuration stage works well
> I've just got a warning about GTK+ and a possible crash
> in case of many instances
> The make phase stalls with this message:
>
> ...
The default build has too many dependencies. If you want to get
something compiled without much hassle just disable dependencies in
the build.
It looks like you are using libcairo, which is experimental.
What options are you using for ./configure?
Look at ./configure --help
./configure --help | grep -i cairo
--with-cairo compile with Cairo drawing (experimental)
CAIRO_CFLAGS
C compiler flags for CAIRO, overriding pkg-config
CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
Also try a lighter toolkit.
--with-x-toolkit=KIT (KIT one of: yes or gtk, gtk2, gtk3, lucid or athena, motif, no)
Try --with-x-toolkit=lucid and if that doesn't work you can still use
--with-x-toolkit=no (terminal only).
--with-sound=no is also worth trying.
wget http://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.xz
tar xJvf emacs-26.1.tar.xz
cd emacs-26.1
./configure --help
./configure --prefix=/usr/local ; make ; make install
You may also want to look at this thread. There libpng was the problem.
https://gnu.emacs.help.narkive.com/XsRHCibV/ubuntu-font-of-wisdom#post1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: troubles compiling emacs26.1 on ubuntu18.04
2018-10-28 11:49 ` Javier
@ 2018-10-28 12:49 ` Le TeXnicien de Surface
2018-10-29 14:08 ` Garreau, Alexandre
0 siblings, 1 reply; 4+ messages in thread
From: Le TeXnicien de Surface @ 2018-10-28 12:49 UTC (permalink / raw)
To: help-gnu-emacs
Le 28/10/2018 à 12:49, Javier a écrit :
> Le TeXnicien de Surface <le.texnicien.de.surface@orange.fr> wrote:
>> hello all
>>
>> I'm trying to compile emacs26.1 on my ubuntu18.04
>> the configuration stage works well
>> I've just got a warning about GTK+ and a possible crash
>> in case of many instances
>> The make phase stalls with this message:
>>
>> ...
>
> The default build has too many dependencies. If you want to get
> something compiled without much hassle just disable dependencies in
> the build.
>
> It looks like you are using libcairo, which is experimental.
> What options are you using for ./configure?
>
> Look at ./configure --help
>
> ./configure --help | grep -i cairo
> --with-cairo compile with Cairo drawing (experimental)
> CAIRO_CFLAGS
> C compiler flags for CAIRO, overriding pkg-config
> CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
It appears that cairo is not used by default with what I've got.
> Also try a lighter toolkit.
>
> --with-x-toolkit=KIT (KIT one of: yes or gtk, gtk2, gtk3, lucid or athena, motif, no)
that did the trick! I've compiled with gtk3 and it worked.
many thanks
--
YH TeXnicien de surface
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: troubles compiling emacs26.1 on ubuntu18.04
2018-10-28 12:49 ` Le TeXnicien de Surface
@ 2018-10-29 14:08 ` Garreau, Alexandre
0 siblings, 0 replies; 4+ messages in thread
From: Garreau, Alexandre @ 2018-10-29 14:08 UTC (permalink / raw)
To: Le TeXnicien de Surface; +Cc: help-gnu-emacs
On 2018-10-28 at 13:49, Le TeXnicien de Surface wrote:
> Le 28/10/2018 à 12:49, Javier a écrit :
>> Le TeXnicien de Surface <le.texnicien.de.surface@orange.fr> wrote:
>>> hello all
>>>
>>> I'm trying to compile emacs26.1 on my ubuntu18.04
>>> the configuration stage works well
>>> I've just got a warning about GTK+ and a possible crash
>>> in case of many instances
>>> The make phase stalls with this message:
>>>
>>> ...
>>
>> Also try a lighter toolkit.
>>
>> --with-x-toolkit=KIT (KIT one of: yes or gtk, gtk2, gtk3, lucid or athena, motif, no)
>
> that did the trick! I've compiled with gtk3 and it worked.
Then what did make it incorrectly guess the toolkit to build with? did
it try to use gtk2? If so why? Other (absent or silent) users might
risk to be bothered by this maybe.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-29 14:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-28 9:27 troubles compiling emacs26.1 on ubuntu18.04 Le TeXnicien de Surface
2018-10-28 11:49 ` Javier
2018-10-28 12:49 ` Le TeXnicien de Surface
2018-10-29 14:08 ` Garreau, Alexandre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).