pkgsrc-Bugs archive

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

Re: pkg/42012 (ejabberd needs expat but is not listed in dependencies)



The following reply was made to PR pkg/42012; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: Julian Fagir <schrank21%q827es.in-berlin.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/42012 (ejabberd needs expat but is not listed in
        dependencies)
Date: Tue, 8 Sep 2009 23:00:36 +0200

 On Tue, Sep 08, 2009 at 07:08:54PM +0200, Julian Fagir wrote:
 > I've been using NetBSD 5.0 (but pkgsrc-current downloaded yesterday) on
 > a sparc64.
 > It's a system without X (it doesn't even have a graphics-chip) and I
 > used the binary-package, compiling ejabberd (so erlang [and perl,
 > dependency of erlang]) would take too long on the old machine.
 > pkg_info also showed me only erlang as a dependency.
 > I know the developers of ejabberd provide a graphical installer for
 > ejabberd, but that's also for binary packages?!
 
 No, the problem is different.
 
 By default, NetBSD ships with X. X includes an expat library.
 Bulk builds are done on default installs, so expat from X is used, not
 from pkgsrc.
 
 Now, if you don't install X, you don't have expat, and you meet the
 problem you see here.
 
 Two possible solutions are:
 a) install expat from the X sets (you don't need to install all files,
 just the expat libraries)
 b) recompile against expat from pkgsrc
 
 I'd recommend a if your machine is too slow to compile its packages
 itself.
  Thomas
 


Home | Main Index | Thread Index | Old Index