servalproject / serval-dna

The Serval Project's core daemon that implements Distributed Numbering Architecture (DNA), MDP, VoMP, Rhizome, MeshMS, etc.
http://servalproject.org
Other
170 stars 81 forks source link

No such file or directory: ./jni/serval-dna/servald #148

Open chandan-isolve opened 3 years ago

chandan-isolve commented 3 years ago

$ ./jni/serval-dna/servald rhizome add file --force-new '' '' I'm trying to create a new rhizome bundle for auto upgrade apk. i'm unable to access servald command. when i'm trying to run the command(servald rhizome add file --force-new '' '') from serval-dna folder, it throws error says command not found: servald Please help me with this. How to create a new rhizome bundle by using servald

lakeman commented 3 years ago

You have to configure / make the binary, as per INSTALL.md

On Thu, 5 Aug 2021 at 19:17, chandan-isolve @.***> wrote:

$ ./jni/serval-dna/servald rhizome add file --force-new '' '' I'm trying to create a new rhizome bundle for auto upgrade apk. i'm unable to access servald command. when i'm trying to run the command(servald rhizome add file --force-new '' '') from serval-dna folder, it throws error says command not found: servald Please help me with this. How to create a new rhizome bundle by using servald

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/servalproject/serval-dna/issues/148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQHXQ7OMKHMUCXU2RPPODT3JM4TANCNFSM5BTPVEPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

chandan-isolve commented 3 years ago

I tried configuring again as per INSTALL.md. I am facing error after make command. make: *** [objs/version.o] Error 1
I tried both make and gmake. I have installed all the required dependencies

chandan-isolve commented 3 years ago

mkdir -p /Users/android_workspace/serval_chat/app/src/main/jni/serval-dna/swift-daemon-api/build && \ cd ./swift-daemon-api && \ --build-path /Users/android_workspace/serval_chat/app/src/main/jni/serval-dna/swift-daemon-api/build -Xswiftc -target -Xswiftc x86_64-apple-darwin20.6.0 -Xswiftc -I/android_workspace/serval_chat/app/src/main/jni/serval-dna -Xswiftc -I/android_workspace/serval_chat/app/src/main/jni/serval-dna -Xcc -DHAVE_CONFIG_H /bin/sh: --build-path: command not found make: *** [swift-daemon-api] Error 127 rm _servalclient.a _monitorclient.a _servald.a

After commenting those pragma lines. I am getting this error. How to resolve this?

lakeman commented 3 years ago

If you don't care about building for iOS, edit the makefile to leave SWIFTC undefined. Though there's probably a better configure switch to remember that decision.

On Thu, 12 Aug 2021 at 20:47, chandan-isolve @.***> wrote:

mkdir -p /Users/isolve/Bytenet/git_workspace/serval_chat/app/src/main/jni/serval-dna/swift-daemon-api/build && cd ./swift-daemon-api && --build-path /Users/isolve/Bytenet/git_workspace/serval_chat/app/src/main/jni/serval-dna/swift-daemon-api/build -Xswiftc -target -Xswiftc x86_64-apple-darwin20.6.0 -Xswiftc -I/Users/isolve/Bytenet/git_workspace/serval_chat/app/src/main/jni/serval-dna -Xswiftc -I/Users/isolve/Bytenet/git_workspace/serval_chat/app/src/main/jni/serval-dna -Xcc -DHAVE_CONFIG_H /bin/sh: --build-path: command not found make: *** [swift-daemon-api] Error 127 rm _servalclient.a _monitorclient.a _servald.a

After commenting those pragma lines. I am getting this error. How to resolve this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/servalproject/serval-dna/issues/148#issuecomment-897554646, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQHXSEECNXCN6H7EBPPJTT4OUVHANCNFSM5BTPVEPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .