Comments (4)
Hi Sébastien,
All PAM dependancies have been removed in the new version 1.2 (for reasons
of consistancy and portability)
You should switch to branch v1.2_devel (this version is almost finalized
and tested)
Cheers
2016-04-24 22:41 GMT+02:00 Sébastien PELLÉ [email protected]:
Hi Thierry,
I updated to Ubuntu 16.04. I had to reinstall everything. When compiling
libnavajo, It made me think that maybe you should update README with a
section like Pre-requisite for installing libpam0g-dev (ubuntu)$ sudo apt install libpam0g-dev
Hth.
Cheers,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#6
from libnavajo.
Hi Thierry,
Ok. I am already using the 1.2_devel. Just pulled it.
I removed the libpam0g-dev.
Still having the issue :
[sherpa@sagarmatha libnavajo (v1.2_devel ✗)]$ make
Scanning dependencies of target navajo
[ 4%] Building CXX object CMakeFiles/navajo.dir/src/LocalRepository.cc.o
[ 8%] Building CXX object CMakeFiles/navajo.dir/src/LogRecorder.cc.o
[ 12%] Building CXX object CMakeFiles/navajo.dir/src/LogFile.cc.o
[ 16%] Building CXX object CMakeFiles/navajo.dir/src/LogSyslog.cc.o
[ 20%] Building CXX object CMakeFiles/navajo.dir/src/LogStdOutput.cc.o
[ 25%] Building CXX object CMakeFiles/navajo.dir/src/WebServer.cc.o
[ 29%] Building CXX object CMakeFiles/navajo.dir/src/WebSocketClient.cc.o
[ 33%] Building CXX object CMakeFiles/navajo.dir/src/MPFDParser/Parser.cc.o
[ 37%] Building CXX object CMakeFiles/navajo.dir/src/MPFDParser/Field.cc.o
[ 41%] Building CXX object CMakeFiles/navajo.dir/src/MPFDParser/Exception.cc.o
[ 45%] Linking CXX shared library lib/libnavajo.so
/usr/bin/ld: cannot find -lpam
collect2: error: ld returned 1 exit status
CMakeFiles/navajo.dir/build.make:331: recipe for target 'lib/libnavajo.so.1.2.0' failed
make[2]: *** [lib/libnavajo.so.1.2.0] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/navajo.dir/all' failed
make[1]: *** [CMakeFiles/navajo.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
I removed references to pam
wihtin CMakeLists.txt
.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 058a481..ec8fb74 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -99,7 +99,7 @@ set_target_properties(navajoStatic PROPERTIES OUTPUT_NAME navajo)
include_directories (${PROJECT_SOURCE_DIR}/include)
target_link_libraries(navajo ${OPENSSL_LIBRARIES})
-target_link_libraries(navajo dl pam)
+target_link_libraries(navajo dl)
target_link_libraries(navajo ${ZLIB_LIBRARIES})
############### install the library ###################
@@ -117,7 +117,7 @@ file( GLOB navajoPrecompiler_source ${PROJECT_SOURCE_DIR}/src/navajoPrecompiler
add_executable(navajoPrecompiler ${navajoPrecompiler_source})
target_link_libraries(navajoPrecompiler ${OPENSSL_LIBRARIES})
-target_link_libraries(navajoPrecompiler dl pam)
+target_link_libraries(navajoPrecompiler dl)
target_link_libraries(navajoPrecompiler ${ZLIB_LIBRARIES})
install(TARGETS navajoPrecompiler DESTINATION bin COMPONENT headers)
Hope this helps.
Cheers,
from libnavajo.
I modified dpkBuild.sh
:
diff --git a/dpkgBuild.sh b/dpkgBuild.sh
index 72f7d6b..102474c 100755
--- a/dpkgBuild.sh
+++ b/dpkgBuild.sh
@@ -39,7 +39,7 @@ Section: Developpement
Priority: optional
Maintainer: Thierry DESCOMBES <[email protected]>
Architecture: amd64
-Depends: openssl, zlib1g-dev, libpam-dev
+Depends: openssl, zlib1g-dev
Version: 1.2
Description: an implementation of a complete HTTP(S) server, complete, fast and lightweight.
EOF_CONTROL
Cheers.
from libnavajo.
Hi Sébastien,
I have done some minor changes (like the one you suggest ;-) and I have
merged the branch v1.2_devel a few hours ago.
The final v1.2 is now available in the master branch...
Cheers
2016-04-25 21:28 GMT+02:00 Sébastien PELLÉ [email protected]:
I modified dpkBuild.sh :
diff --git a/dpkgBuild.sh b/dpkgBuild.sh
index 72f7d6b..102474c 100755
--- a/dpkgBuild.sh
+++ b/dpkgBuild.sh
@@ -39,7 +39,7 @@ Section: Developpement
Priority: optional
Maintainer: Thierry DESCOMBES [email protected]
Architecture: amd64
-Depends: openssl, zlib1g-dev, libpam-dev
+Depends: openssl, zlib1g-dev
Version: 1.2
Description: an implementation of a complete HTTP(S) server, complete, fast and lightweight.
EOF_CONTROLCheers.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#6 (comment)
from libnavajo.
Related Issues (20)
- Compilation failing
- Big file on LocalRepository HOT 2
- Two warnings appeared during the compilation of the library HOT 1
- Segmentation fault with Websocket HOT 2
- Crash when access the server through https HOT 1
- Http response error can't be different of 404 HOT 4
- memory leak when using SSL HOT 1
- Valgrind report HOT 1
- Memory Leak in WebSockets HOT 2
- OPTIONS support HOT 4
- setServerPort has no effect HOT 2
- More expansive "Allow" headers for CORS HOT 2
- Dynamic Repos HOT 2
- BPi-R1
- Multiple parameter with the same name
- Can't build on Centos 7.6 HOT 1
- GCC 8.3.1 warnings HOT 1
- File corruption when using localRepository and a slow connection HOT 4
- No multithread support with SSL HOT 1
- memory leaks when http client tries to connect without SSL on a WebServer configured with SSL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libnavajo.