Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 17:04:36 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Olivier Nicole <Olivier.Nicole@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem in installing textproc/asciidoc
Message-ID:  <20130621170436.0f56fd47.freebsd@edvax.de>
In-Reply-To: <201306210836.r5L8aZhi098047@banyan.cs.ait.ac.th>
References:  <201306210836.r5L8aZhi098047@banyan.cs.ait.ac.th>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 21 Jun 2013 15:36:35 +0700 (ICT), Olivier Nicole wrote:
> Hi,
> 
> On new 9.1 systems, textproc/asciidoc is being installed as dependency
> to many other ports.
> 
> But the make install fails with the error:
> 
> installing Vim files in //usr/local/share/vim/vimfiles
                          ^
Two slashes here?

> cp: /usr/local/ETC/asciidoc.conf.sample: No such file or directory
                 ^^^

Is this correct? In my opinion, the correct path name
should be /usr/local/etc/, _not_ in caps!



> It is consistent on all the machines.

Maybe an error in the port's configuration?



> I can install the 20 or so files xxx.conf.sample by hand, it's
> tedious, but it works.

That step should be completed by the "post-install" target
in /usr/ports/textproc/asciidoc/Makefile. Is there some
variable, like ${ETCDIR}, set wrongly?



> But then, any other port that depend on asciidoc will fail to install,
> saying that asciidoc have not been installed properly.

You could forcedly register the installation of the port that
you have "manually completed".



> I could not find any answer an Google, so I ask the question here:
> what do I do wrong? Or is there something to tweak to make asciidoc
> install and work normally?

Check if you have anything "suspicious" set in /etc/make.conf
or in your environment that might override the logic of the
Makefile. Check the Makefile as well (I've checked 8.6.6's
on my 8.2 home system).

Just to be sure, make clean and re-checkout the port, then
try again.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20130621170436.0f56fd47.freebsd>