Git Product home page Git Product logo

Comments (4)

titi38 avatar titi38 commented on July 17, 2024

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.

spelle avatar spelle commented on July 17, 2024

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 pamwihtin 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.

spelle avatar spelle commented on July 17, 2024

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.

titi38 avatar titi38 commented on July 17, 2024

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_CONTROL

Cheers.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#6 (comment)

from libnavajo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.