3cky / mbusd

Open-source Modbus TCP to Modbus RTU (RS-232/485) gateway.
BSD 3-Clause "New" or "Revised" License
565 stars 216 forks source link

.deb installation for aarch64 #110

Closed rubenvanwanzeele closed 2 months ago

rubenvanwanzeele commented 2 months ago

Hi there,

I would need a .deb installation file for aarch64 for mbusd, but I currently fail to create one. Can you guide me on how this can be done?

zmata commented 2 months ago

Hi, you need to use checkinstall command

rubenvanwanzeele commented 2 months ago

@zmata that worked, thx, but still struggling to resolve the issue on your repo...

3cky commented 2 months ago

Hi there,

I would need a .deb installation file for aarch64 for mbusd, but I currently fail to create one. Can you guide me on how this can be done?

On your aarch64 machine, try to execute the following commands in mbusd sources directory:

mkdir ./build
cd ./build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make all
cpack -G DEB

After that, the generated .deb file should be placed in build directory.