Skip to content

Building

Uwe Seimet edited this page Dec 11, 2023 · 7 revisions

Building from the sources

Using the binary Debian packages is the fastest way to install SCSI2Pi. In order to compile the sources enter the scsi2pi folder and run

>make
To install the binaries and manpages in the default location /opt/scsi2pi run
>make install
To install elsewhere run
>make install TARGET=YOUR_INSTALLATION_LOCATION

Building customized binaries

If you are interested in somewhat smaller binaries, which only support the device types you need, you can customize the build. Just pass the device types to be built to make:

make BUILD_SCHD=1 BUILD_SCLP=1
Note that the unit tests require all device types to be available, otherwise they will not link.