unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sharon Kimble <boudiccas@talktalk.net>
To: Harry Putnam <reader@newsguy.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Build emacs on debian
Date: Sun, 06 Apr 2014 22:04:16 +0100	[thread overview]
Message-ID: <87mwfykw4v.fsf@talktalk.net> (raw)
In-Reply-To: <87sipq2ny0.fsf@newsguy.com> (Harry Putnam's message of "Sun, 06 Apr 2014 16:38:31 -0400")

[-- Attachment #1: Type: text/plain, Size: 2940 bytes --]

Harry Putnam <reader@newsguy.com> writes:

> Running debian (jesse/testing)
>
> I've built emacs for yrs but have not done so for a good while now.
>
> I'm running into errors I've hit before and recognize but do not
> recall which pkgs were necessary to make configure work.
>
> There must have been some devel pkgs removed in the interm.
>
> My ./configure cmd
>
>   ./configure --with-xft --with-x-toolkit=lucid
>                 --prefix=/usr/local/src/vcs/bzr/test  
>
> A few lines of output containing the error below:
>
>   [...]
>   checking for long file names... yes
>   checking for X... no
>   checking for X... true
>   configure: error: You seem to be running X, but no X development libraries
>   were found.  You should install the relevant development files for X
>   and for the toolkit you want, such as Gtk+ or Motif.  Also make
>   sure you have development files for image handling, i.e.
>   tiff, gif, jpeg, png and xpm.
>
> [...]
>
> Any debian people here who know what I'm missing?
>
Like you I'm running 'jessie' and have today built the latest available emacs
From savannah. This is my script for it -
,----
| #!/bin/bash
| set -e
| #set -x
| #: Title		    	: ebuild
| #: Date		    	: 1 April 2014
| #: Version			: 1.0
| #: Description		: To download and build the development build of emacs. 
| #: Requirements		: none known
| # Copyright (C) 2014  Sharon Kimble 
| #
| # This program is free software; you can redistribute it and/or modify
| # it under the terms of the GNU General Public License as published by
| # the Free Software Foundation; either version 2 of the License, or
| # (at your option) any later version.
| #
| # This program is distributed in the hope that it will be useful,
| # but WITHOUT ANY WARRANTY; without even the implied warranty of
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
| # GNU General Public License for more details.
| #
| # You should have received a copy of the GNU General Public License along
| # with this program; if not, write to the Free Software Foundation, Inc.,
| # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
| ####################################################
| log=~/logs/emacsbuild.txt
| exec > >(tee -a $log) 2>&1
| echo "$(date +%Y-%m-%d\ %H:%M:%S)" >> $log
| trap "kill -- -$BASHPID" EXIT
| 
| cd ~
| #cd ~/git
| cd ~/git/trunk
| #bzr pull http://bzr.savannah.gnu.org/r/emacs/trunk
| bzr pull
| ./autogen.sh
| ./configure
| export emacs_prefix="/usr/local"
| make
| sudo make install
| cd ~ 
`----

Obviously comment/uncomment lines as required, but that will build emacs
24.4.50.2, which is the most up-to-date available.

Hope it helps?
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.3.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2014-04-06 21:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-06 20:38 Build emacs on debian Harry Putnam
2014-04-06 21:04 ` Sharon Kimble [this message]
2014-04-06 23:39   ` Harry Putnam
2014-04-06 21:11 ` Bob Proulx
2014-04-06 21:17   ` Harry Putnam
2014-04-06 23:49     ` Harry Putnam
2014-04-07  0:22       ` Bob Proulx
2014-04-07  0:37       ` hubert
2014-04-07  1:14         ` Harry Putnam
2014-04-07  1:28         ` Harry Putnam
2014-04-07  1:52           ` hubert
2014-04-07 15:41           ` Bob Proulx
2014-04-07  7:48       ` Sharon Kimble
2014-04-06 21:24 ` Glyn Millington

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwfykw4v.fsf@talktalk.net \
    --to=boudiccas@talktalk.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=reader@newsguy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).