Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2010 18:49:21 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Janos Dohanics <web@3dresearch.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: x11/kdelibs4 build fails, can't find docbook
Message-ID:  <20100921014921.GA42015@icarus.home.lan>
In-Reply-To: <20100920182009.91a61590.web@3dresearch.com>
References:  <20100917153118.f5ae90bd.web@3dresearch.com> <20100920013759.c769e845.web@3dresearch.com> <4C97BEF4.8030607@gmx.de> <20100920182009.91a61590.web@3dresearch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 20, 2010 at 06:20:09PM -0400, Janos Dohanics wrote:
> On Mon, 20 Sep 2010 22:07:16 +0200
> olli hauer <ohauer@gmx.de> wrote:
> 
> > On 2010-09-20 07:37, Janos Dohanics wrote:
> > > On Fri, 17 Sep 2010 15:31:18 -0400
> > > Janos Dohanics <web@3dresearch.com> wrote:
> > > 
> > >> While building kde4-4.5.1, I get this error:
> > >>
> > >> # make install clean
> > >> ===>   kde4-4.5.1 depends on
> > >> file: /usr/local/kde4/bin/kdebugdialog - not found ===>
> > >> Verifying install [...]
> > > 
> > > I did some basic troubleshooting, and found that the files do not
> > > get installed in /usr/local/share/xml/docbook/4.2/, except
> > > the /usr/local/share/xml/docbook/4.2/ent directory is created.
> > > 
> > > This seems to be happening because the port uses /usr/bin/unzip
> > > instead of /usr/local/bin/unzip.
> > > 
> > > How can I change this behavior so /usr/local/bin/unzip would be
> > > used?
> > > 
> > 
> > If you haven't redefined UNZIP_CMD or LOCALBASE somewhere
> > ${LOCALBASE}/bin/unzip will be used.
> 
> I have not made any change like that.
> 
> > You can test this with the follwing command in the directory of the
> > port where you think the wrong unzip will be used.
> > 
> > In case of docbook-420/docbook-xml
> >  cd ${PORTSDIR}/textproc/docbook-(420|xml)
> >  make -V UNZIP_CMD
> >  make -V EXTRACT_CMD
> 
> Thank you...
> 
> # make -V UNZIP_CMD
> /usr/local/bin/unzip
> # make -V EXTRACT_CMD
> /usr/local/bin/unzip
> # which unzip
> /usr/bin/unzip
> 
> > But wait, in your previous mail you have only docbook-4.1 and not
> > docbook-4.2 in the "portversion -vF docbook*" listing which is
> > needed to install docbook-xml correct.
> 
> You are right, docbook-4.2 was not installed; I have installed it now.
> However, kde4 is still gets stuck with the "reinstall
> textproc/docbook-xml" message (portversion says docbook-xml-4.2_1 is
> installed, but the files aren't installed
> in /usr/local/share/xml/docbook/4.2/).
> 
> I guess my problem is that while both UNZIP_CMD and EXTRACT_CMD point
> to /usr/local/bin/unzip, the docbook-xml-4.2_1 port still
> uses /usr/bin/unzip.
> 
> How can I fix this?

Where did /usr/bin/unzip come from?  This program isn't part of the base
system on FreeBSD, nor is it on any system I have access to.  I realise
you're complaining that the port finds /usr/bin/unzip instead of
/usr/local/bin/unzip, but your "which" command above indicates you
actually have something in /usr/bin that shouldn't be there.

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100921014921.GA42015>