VirtualBox won't build from ports
Li-Wen Hsu
lwhsu at freebsd.org
Sat Feb 11 11:00:57 UTC 2017
On Thu, Feb 9, 2017 at 12:13 PM, Li-Wen Hsu <lwhsu at freebsd.org> wrote:
> On Fri, Jan 27, 2017 at 11:28 AM, John Klos <john at ziaspace.com> wrote:
> > Hi,
> >
> > I find it a little odd that a clean install of FreeBSD 11.0 on amd64
> > followed by:
> >
> > portsnap fetch ; portsnap extract
> > echo "DISABLE_LICENSES=yes" > /etc/make.conf
> > echo "BATCH=yes" >> /etc/make.conf
> > cd /usr/ports/emulators/virtualbox-ose
> > make install clean
> >
> > fails. What's the recommended (and non-embarrassing) way to set up a
> clean
> > FreeBSD installation with VirtualBox?
> >
> > Here's the error:
> >
> > ...
> > /bin/ln -sf python-2.7.pc
> > /usr/ports/lang/python3/work/stage/usr/local/libdata/
> pkgconfig/python2.pc
> > ====> Compressing man pages (compress-man)
> > ===> Installing for python3-2_3
> > ===> Checking if python3 already installed
> > ===> Registering installation for python3-2_3 as automatic
> > Installing python3-2_3...
> > pkg-static: python3-2_3 conflicts with python2-2_3 (installs files into
> the
> > same place). Problematic file: /usr/local/bin/2to3-2
> > *** Error code 70
> >
> > Stop.
> > make[6]: stopped in /usr/ports/lang/python3
> > *** Error code 1
> >
> > Stop.
> > ...
> >
>
> (Add freebsd-python@, move freebsd-virtualization@ to BCC)
>
> This is not emulators/virtualbox-ose's fault. It's because it needs
> python2 to build, but it conflictes with python3 which is installed on
> your system.
>
> We might need to check why both python2 and python3 install
> /usr/local/bin/2to3-2, this should be suffixed.
>
I just checked, python2 and python3 install /usr/local/bin/2to3-2 and
/usr/local/bin/2to3-3 by default.
Do you make any special configurations locally?
Best,
Li-Wen
--
Li-Wen Hsu <lwhsu at FreeBSD.org>
https://lwhsu.org
More information about the freebsd-python
mailing list