help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resources for an old newbie ?


From: Emanuel Berg
Subject: Re: Resources for an old newbie ?
Date: Sun, 04 Jun 2023 03:31:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

David Masterson <dsmasterson@gmail.com> writes:

>> # 1. setup directories
>> src_dir=~/src
>> emacs_dir=${src_dir}/emacs
>> mkdir -p $emacs_dir
>>
>> # 2. get dependencies
>> sudo apt-get -qq update
>> sudo apt-get install build-essential debian-goodies libgccjit-10-dev
>> sudo apt-get build-dep emacs
>
> This pulled in a *LOT* of stuff.

Don't know - how much is a lot? It is what you need/want
anyway ...

>> # 3. get source
>> cd $src_dir
>> git clone https://git.savannah.gnu.org/git/emacs.git
>>
>> # 4. refresh source/upgrade
>> cd $emacs_dir
>> git fetch
>> git merge
>
> I modified this to 'git pull' as previously suggested.
> There was nothing to pull.

Immediate after 'git clone' there are probably no changes to
pull, try it again later. It is used to update, in that
situation you only do it (step 4) and then step 5 below.

>> # 5. compile and install
>> autogen.sh
>> configure --with-x-toolkit=no --with-native-compilation
>> make
>> sudo make install
>
> Gave this a try.  Still having problems:
>
> 1. with-x-toolkit=no means no Lucid or GTK -- the process
>    gets much more complex for dependency if you want
>    a toolkit (I think Lucid is easier than GTK)

Those are only my settings, adjust for your purposes obviously.

> 2. autogen.sh and configure need "./" in front of them (you
>    never know what PATH the user is using).

Right, good point. Yes, I have "." first in $PATH.

> 3. The GNUMakefile in the Emacs distribution seems to rerun
>    configure with no options, so your "configure" is NO-OP.
> 
> 4. You can add arguments to the configure in the make step
>    by passing 'configure="--ARG1..."' to make.

Okay, that should mean that --with-native-compilation is on by
default since I know that happens.

> 5. Even so, after doing everything else you listed and using your
>    configure options, I got these libraries missing with configure
>    suggesting how to get around it:
>           libXpm libjpeg libgif/libungif libtiff gnutls
>
> 6. Oops -- missed the build-dep step! Got thru configure and
>    it's building properly, but it's gonna take awhile... ;)

Tell us how it went ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]