:: Re: [DNG] How to compile emacs on d…
Kezdőlap
Delete this message
Reply to this message
Szerző: Ludovic Bellière
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] How to compile emacs on devuan stable ?
Hello Klearchos,

Download the sources from https://www.gnu.org/software/emacs/download.html
Unpack somewhere, make sure you have the dependencies necessary to build the
software. Then configure:

           ./configure --with-mailutils --without-gsettings --without-libsystemd \
                     --with-imagemagick --with-x --with-x-toolkit=lucid \
                     --with-json --with-native-compilation --no-create \
                     --no-recursion


Then make and make install:

      make && sudo make install


You can compile faster by telling make to run several jobs in parallel. Use of
the -j flag exists for that purpose.

See: https://www.gnu.org/software/make/manual/html_node/Parallel.html

Cheers,
                 Ludovic


On Sat, 02 Sep 2023, Klearchos-Angelos Gkountras via Dng wrote:

>I followed a guide on emacs wiki [1] and the output was
>
>>sudo apt build-dep emacs
>>[sudo] password for jemadux: Reading package lists... Done
>>Reading package lists... Done
>>Building dependency tree... Done
>>Reading state information... Done
>>Some packages could not be installed. This may mean that you have
>>requested an impossible situation or if you are using the unstable
>>distribution that some required packages have not yet been created
>>or been moved out of Incoming.
>>The following information may help to resolve the situation:
>>
>>The following packages have unmet dependencies:
>> libelogind-compat : Conflicts: libsystemd0
>>E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
>
>can someone tell us how to compile the emacs on devuan ?
>
>[1] https://www.emacswiki.org/emacs/BuildingEmacs
>
>Best Regards