Problem in installing textproc/asciidoc

Polytropon freebsd at edvax.de
Fri Jun 21 15:04:37 UTC 2013


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, ...


More information about the freebsd-questions mailing list