Menu

How to build from git

Andrey Zhornyak

First of all check if i2c/smbus is present on your system https://sourceforge.net/p/lfsb/wiki/i2c-SMbus%20availability/

To build git version of lfsb:
1. Install git for your distribution.
2. Create account on sourceforge.
3. Clone repository:
#git clone ssh://USERNAME@git.code.sf.net/p/lfsb/code
For more information see
http://sourceforge.net/p/forge/documentation/Git/#how-to-clone-an-existing-repository
4. Build it with debug option:
#make debug
5. Install it :
#make install
6. Load i2c develop module (root priveleges):
#modprobe i2c-dev
7. If driver is not tested, try it with :
#lfsb driver_name
where driver_name is one of lfsb -s list record.
Create new topic in "Discussion" and post output there.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.