all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 22.1 install on Ubuntu 7.04, 'Feisty Fawn'
@ 2007-09-08 15:49 Dave Pawson
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Pawson @ 2007-09-08 15:49 UTC (permalink / raw)
  To: emac

Thanks to Eli and others from this list who helped me get this list together.


I found the following Ubuntu packages necessary prior to build.
All were found (with deps) using synaptic package manager.


build-essential      Y
libc6-dev	     Y	
 *1   libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtk2.0-dev
libice-dev   	     Y
libice6-dev	     Y
libice6		     Y
libjpeg62-dev	     Y
libjpeg62	     Y
libncurses5-dev	     Y
libpng12-dev	     Y
libpng12-0	     Y
libsm-dev	     Y
libtiff4-dev	     Y
libtiff4	     Y
libx11-dev    	     Y
libxext-dev    	     Y
libxmu-dev	     Y
libxmu-headers	     Y
libxpm-dev	     Y	
libxt-dev	     Y
xlibs-dev   	     Y


Issues.

libfig and libungif seemed to cause some contention.
No idea what they are.

Building, for a graphical interface. As root.


Download, from normal source.
gunzip

./configure --with-x-toolkit=gtk
make
make install.

Seems to put it into /usr/local/bin

HTH others.

regards, A daily emacs user.


-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs 22.1 install on Ubuntu 7.04, 'Feisty Fawn'
       [not found] ` <87ps0sfo9n.fsf@lion.rapttech.com.au>
@ 2007-09-09 10:02   ` Dave Pawson
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Pawson @ 2007-09-09 10:02 UTC (permalink / raw)
  To: tcross; +Cc: help-gnu-emacs

Offlist, I've wasted enough list bandwidth.


On 09/09/2007, Tim X <timx@nospam.dev.null> wrote:

> As a useful tip, you would have been able to identify many of these and the
> correct Debian/Ubuntu package names by having a look at the dependencies
> for emacs21 using something like aptitude, semantic or even dselect.

Caveat? Had I ever heard of any of those applications?
I've used semantic today for the first time. Only when I go to mark a package
for install does it tell me what else it needs to do?
IIRC yum has an option to ask what depends on this package etc.
I guess these are similar tools. I'll have a look, thanks.

 Also,
> when using lets say aptitude, installing a runtime library also usually
> suggests or ecommends the dev version of that library. The other package
> management tools also do this.

I found that the other way round too. I was looking for the -dev
packages and the main package was a dependency on that.


>
> >
> > Issues.
> >
> > libfig and libungif seemed to cause some contention.
> > No idea what they are.
>
> Start aptitude, search for libungif by hitting / and entering the search
> string. When you get the package, hit enter and you will get an explination
> of what the package is, a list of packages it depends on a list of packages
> which depend on it and some recommendations and/or suggestions of other
> packages to install. Package management is probably the greatest advantage
> of Debian based distros over RPM - learn its tools and save yourself lots
> of wasted time.

Its reported that yum, and its gui front end friends, are catching up.
Hey, I haven't used anything like aptitude for years! Fast isn't it.
Seems it provides more info than semantic too! Thanks.


>
>
> > Building, for a graphical interface. As root.
> >
>
> This has nothing to do with building emacs. Learn about X, read about the
> differences between su and su -, read about Xauth and your .Xauthority file
> and all will be clearer.

You a librarian by any chance Time <grin/>
bugger keeps telling me to read stuff!



> > Seems to put it into /usr/local/bin
> >
>
> Your life was made much much more difficult because you missed the most
> important step that would have saved you days.
>
> Inbetween the gunzip and configure steps, you need to add
>
> read the README file in the root of the src tree
> read the INSTALL file in the root of the src tree

Ouch. Yes teach.


>
> Also, note that the only stage which is likely to need root privs is the
> make install. The rest can and should be done as a normal user, not root.

Yes, that was/is sound advice.
(quick search of README and INSTALL, no mention of root privileges)

>
> having done that, you would probably have built emacs on the second attempt
> - the first attempt at running configure wold have alerted you to missing
> libraries.
Had I been able to translate the missing 'stuff'. Any idea what those names
are please? Missing header files, object files... something else?
Clearly they aren't distro X package names.


 Armed with the crucial information form the INSTALL and README
> files, you would have understood what configure was telling you and known
> what you needed to install. As you are new to Debian/Ubuntu, it may have
> taken a bit of time to work out how to use the package management support
> and find the packages you needed, but once you had done that, a re-run of
> configure, followed by make and then make install would have worked fine.

You may have gathered, patience is not one of my virtues.


Many thanks for the advice Tim.
Much appreciated.

regards



-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-09 10:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.529.1189266552.18990.help-gnu-emacs@gnu.org>
     [not found] ` <87ps0sfo9n.fsf@lion.rapttech.com.au>
2007-09-09 10:02   ` emacs 22.1 install on Ubuntu 7.04, 'Feisty Fawn' Dave Pawson
2007-09-08 15:49 Dave Pawson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.