Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module dirs #180

Open
alex-eri opened this issue Apr 2, 2023 · 6 comments
Open

Module dirs #180

alex-eri opened this issue Apr 2, 2023 · 6 comments

Comments

@alex-eri
Copy link

alex-eri commented Apr 2, 2023

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

@alex-eri
Copy link
Author

alex-eri commented Apr 2, 2023

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
Copy link
Contributor

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

@alex-eri
Copy link
Author

alex-eri commented Apr 2, 2023

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
Copy link
Contributor

Please add -DCMAKE_INSTALL_PREFIX=/usr to cmake command

@alex-eri
Copy link
Author

alex-eri commented Apr 2, 2023

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
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants