3cky / mbusd

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

.deb installation for aarch64 #110

Closed rubenvanwanzeele closed 3 months ago

rubenvanwanzeele commented 3 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 3 months ago

Hi, you need to use checkinstall command

rubenvanwanzeele commented 3 months ago

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

3cky commented 3 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.