Try #2, this time with entire set of instructions:
-----------------

To generate a virtual machine that builds SVN
Download iso: ubuntu-20.04.2-desktop-amd64.iso

<Steps to install Virtualbox 6.1>

Create a new virtual machine in Virtualbox
Name:  SVN Build
OS: Linux / Ubuntu 64bit
4096MB of ram
virtual hard disk
VDI (Virtualbox Disk image)
Dymanic allocated
Max 200g

Select your VM and click settings:

System tab:
Deselect floppy
Set to 4 processors

Display Tab:
Set video memory to 128k

Start
Select ubuntu-20.04.2-desktop-amd64.iso at boot

<basically, go through the install with defaults>

At install complete, let the system reboot

When it comes back up, install guest additions <optional but helps>:

$ sudo add-apt-repository multiverse
$ sudo apt install virtualbox-guest-dkms virtualbox-guest-x11

restart machine

Your VM machine is now setup.  Log in as the user you have setup.

Now to build Subversion

Pull source code:
# cd ~; mkdir src; cd src
# wget http://ftp.cixug.es/apache/subversion/subversion-1.14.1.tar.gz
# tar xvzf subversion-*
# cd subversion-1.14.1

Install some prereqs:

sudo apt-get install build-essential git libtool libtool-bin unzip
sudo apt-get install libapr1 libapr1-dev
sudo apt-get install libaprutil1-dev
sudo apt install zlib1g
sudo apt install zlib1g-dev

Setup SQLLite:

# cd ~/src
# wget https://www.sqlite.org/2021/sqlite-amalgamation-3340100.zip

unzip the zip file.
Rename the unzipped directory to "sqlite-amalgamation"
and move it to subversion-1.14.1

---------------
The tests didn't work, 3 failed, but this "fixed" them:
This is a workaround I had to do for python, however it's probably not
correct:

Problem scenario:  /usr/bin/env: ‘python’: No such file or directory
# whereis python3
Then we create a symlink to it:
# sudo ln -s /usr/bin/python3 /usr/bin/python
---------------


# ./configure --with-lz4=internal --with-utf8proc=internal
# make
# make check

<Should be successful on the tests>

# sudo make install
# svn

(if you get: svn: error while loading shared libraries:
libsvn_ra_svn-1.so.0: cannot open shared object file: No such file or
directory)
fixed forcing ldconfig:

# sudo ldconfig

# svn --version  --quiet
1.14.1

(You should have a completed, functioning SVN server.. however missing some
optional capabilities at this point)


On Fri, Feb 19, 2021 at 2:20 AM Thomas Singer <thomas.sin...@syntevo.com>
wrote:

> Hi Alan,
>
> This reads for me just like setting up Ubuntu 20.04 in Virtualbox, but
> is not related to Subversion. Did you miss some Subversion-relevant
> steps at the end?
>
> BR
> Tom
>
>
> On 2021-02-18 19:47, Alan Fry wrote:
> > On Wed, Feb 17, 2021 at 11:31 AM Nathan Hartman <
> hartman.nat...@gmail.com>
> > wrote:
> >
> >> On Wed, Feb 17, 2021 at 11:12 AM Alan Fry <ttlx0...@gmail.com> wrote:
> >>> For all that helped w/ the Linux build, thank you, I have a set of
> >>> repeatable build instructions for Subversion on linux.  If there is
> >>> value, I'd be happy to post those.  I verified those instructions
> >>> last night, building from ground up a VM that builds and
> >>> successfully runs 'make check'.
> >>
> >> Yes, please do! It will likely help others. Also perhaps others will
> >> chime in and offer suggestions on easier ways to do some things.
> >>
> >
> > Sure.  For anyone who would like them, they are below.  Note that I have
> > not formatted them, so maybe soon I'll write up a nice html/markdown for
> > them.
> >
> > -------------------- start
> >
> > To generate a virtual machine that builds SVN
> > Download iso: ubuntu-20.04.2-desktop-amd64.iso
> >
> > <Steps to install Virtualbox 6.1>
> >
> > Create a new virtual machine in Virtualbox
> > Name:  SVN Build
> > OS: Linux / Ubuntu 64bit
> > 4096MB of ram
> > virtual hard disk
> > VDI (Virtualbox Disk image)
> > Dymanic allocated
> > Max 200g
> >
> > Select your VM and click settings:
> >
> > System tab:
> > Deselect floppy
> > Set to 4 processors
> >
> > Display Tab:
> > Set video memory to 128k
> >
> > Start
> > Select ubuntu-20.04.2-desktop-amd64.iso at boot
> >
> > <basically, go through the install with defaults>
> >
> > At install complete, let the system reboot
> >
> > When it comes back up, install guest additions <optional but helps>:
> >
> > $ sudo add-apt-repository multiverse
> > $ sudo apt install virtualbox-guest-dkms virtualbox-guest-x11
> >
> > restart machine
> >
> > Your VM machine is now setup.  Log in as the user you have setup.
> >
>

Reply via email to