*BSD News Article 90052


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!worldnet.att.net!news.maxwell.syr.edu!news-feed.inet.tele.dk!cph-1.news.DK.net!dkuug!dknet!ic.dk!jblhome.ping.dk!usenet
From: jacob@jblhome.ping.dk (Jacob Bohn Lorensen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: emacs: ld.so failed (970205-GAMMA)
Date: 24 Feb 1997 08:36:01 +0100
Organization: Jacobs home computer.
Lines: 50
Sender: jacob@pippin.jblhome.ping.dk
Message-ID: <8720a67j1a.fsf@pippin.jblhome.ping.dk>
References: <5ehv8e$1pl@news1.panix.com> <330C4F71.2ADD@visigenic.com>
NNTP-Posting-Host: pippin.jblhome.ping.dk
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
In-reply-to: Tim O'Neil's message of Thu, 20 Feb 1997 13:19:45 +0000
X-Newsreader: Gnus v5.1
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36046

>>>>> "Tim" == Tim O'Neil <toneil@visigenic.com> writes:

    Tim> doesn't work go for another.  Not only is there an emacs in
    Tim> the packages, the ports collection comes with a copy. Before
    Tim> you do anything add the gnu make package (I didn't have a
    Tim> problem with gmake anyway...)  Remove the pkg_add'd emacs,
    Tim> and untar the port. su to root and in my case, I have a
    Tim> home-brewed i386 machine using an amd 486dx4 processor. So
    Tim> *my* configure line looks like:

    Tim> # configure freebsd --with-gcc
    Tim> then
    Tim> # gmake install

    Tim> I agree, installing emacs is no cakewalk, but it can be done.

Using the FreeBSD ports collection it can be done even easier; each
port contains (usually) a few small patch files, some readme's and a
BSD makefile which will untar, configure, build, and install the port
in such a way that pkg_manage later may delete the package properly.

Just insert the CD-ROM with the ports collection into your
CD-ROM-drive. Then do something like: (assuming your cdrom is mounted
on /mnt/cdrom)

  $ su
  # cd /usr
  # lndir /mnt/cdrom/ports ports/
     (this creates a directory tree where all files are really symlinks
      pointing to files on the CD-ROM)
  # cd /usr/ports/editors/emacs
  # make install
     (wait a bit, drink some coffee. After a while Emacs is installed)
  # pkg_manage
     (you should be able to find/delete/etc. your newly installed emacs)

In the future, if you whish to build a port for yourself, just

  # cd /usr/ports/<wherever>
  # make install

and that's it. There's no real need to fiddle with GNU
configure-options yourself. There's no real need to re-solve and
re-invent every little compatibility patch yourself.

Hope this helps,
Jacob
-- 
Jacob Lorensen; Mosebuen 33, 1.; DK-2820 Gentofte, Denmark; +45-31560401
PGP ID = E596F0B5; PGP Fingerprint = 1E8726467436DC4A 723B6678C5AD9E71