xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
296 stars 108 forks source link

Module dirs #180

Open alex-eri opened 1 year ago

alex-eri commented 1 year ago

cpack -G DEB version searches modules in /usr/local/lib64/accel-ppp/ , but install it in /usr/lib64/accel-ppp/

alex-eri commented 1 year ago

strace

access("/usr/local/lib64/accel-ppp/pptp", F_OK) = -1 ENOENT (No such file or directory) access("/usr/local/lib64/accel-ppp/libpptp.so", F_OK) = -1 ENOENT (No such file or directory)

svlobanov commented 1 year ago

please provide a full list of the commands you use (from the beginning - git clone, ... , cmake, ... , etc,...)

alex-eri commented 1 year ago
git clone https://github.com/xebd/accel-ppp.git
mkdir accel-ppp-build
cd accel-ppp-build/
cmake ../accel-ppp -DRADIUS=FALSE -DNETSNMP=TRUE -DSHAPER=TRUE  -DCPACK_TYPE=Debian11
cpack -G DEB
svlobanov commented 1 year ago

Please add -DCMAKE_INSTALL_PREFIX=/usr to cmake command

alex-eri commented 1 year ago

with -DCMAKE_INSTALL_PREFIX=/usr works. But i think need to sync source and cmake default values.

now segfaults) but it is another problem)

svlobanov commented 1 year ago

If you have a proposal how to sync, please send a PR (it is better if you send to https://gitub.com/accel-ppp/accel-ppp repo)