Re: [bug-GNUnet] Can't specify different names for config file in project data

2019-09-04 Thread Christian Grothoff
This shouldn't be the case, as GNUnet picks up the (default) service
contact information from a the share/gnunet/config.d/ directory.

Also, when I change the value, everything still works for me. What is
the error message you are seeing (if any)?

On 9/1/19 11:51 AM, Alessio Vanni wrote:
> The GNUNET_OS_ProjectData struct contains two fields, `config_file' and
> `user_config_file'.  By default they are set to "gnunet.conf" and
> "~/.config/gnunet.conf".
> 
> When these fields are set to a different name, the application refuses
> to start.  It seems the problem is caused by the fact that the
> application is unable to find the required informations to connect with
> GNUnet, i.e. the specified file must be a copy of gnunet.conf instead of
> containing only the application-specific configuration for the
> application to work.
> 
> A.V.
> 
> ___
> Bug-GNUnet mailing list
> Bug-GNUnet@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-gnunet
> 



signature.asc
Description: OpenPGP digital signature
___
Bug-GNUnet mailing list
Bug-GNUnet@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnunet


Re: [bug-GNUnet] trying to install gnunet - error

2019-09-04 Thread Christian Grothoff
You seem to have installed GNUnet to a target directory not covered by
your linker's search path (/etc/ld.so.conf). Hence, you need to either

$ export LD_LIBRARY_PATH=$PREFIX/lib

and/or update ld.so.conf (and maybe re-run ldconfig).

If you followed some particular installation instructions, the "bug"
could be that we should amend those instructions with this. In that
case, please let us know which instructions you followed on which platform.

Happy hacking!

Christian

On 9/4/19 8:55 AM, journeytocoder via Bug-GNUnet wrote:
> 
> 
> gnunet-arm: error while loading shared libraries: libgnunetarm.so.2:
> cannot open shared object file: No such file or directory
> Preparing: Starting service...
> FAIL test_gnunet_statistics.py (exit status: 127)



signature.asc
Description: OpenPGP digital signature
___
Bug-GNUnet mailing list
Bug-GNUnet@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnunet


[bug-GNUnet] trying to install gnunet - error

2019-09-04 Thread journeytocoder via Bug-GNUnet
PASS: test_statistics_api
PASS: test_statistics_api_loop
PASS: test_statistics_api_watch
PASS: test_statistics_api_watch_zero_value
FAIL: test_gnunet_statistics.py

Testsuite summary for gnunet 0.11.6

# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

See src/statistics/test-suite.log
Please report to bug-gnunet@gnu.org

make[4]: *** [Makefile:1109: test-suite.log] Error 1
make[4]: Leaving directory '/home/freedom/Documents/gnunet/src/statistics'
make[3]: *** [Makefile:1217: check-TESTS] Error 2
make[3]: Leaving directory '/home/freedom/Documents/gnunet/src/statistics'
make[2]: *** [Makefile:1319: check-am] Error 2
make[2]: Leaving directory '/home/freedom/Documents/gnunet/src/statistics'
make[1]: *** [Makefile:564: check-recursive] Error 1
make[1]: Leaving directory '/home/freedom/Documents/gnunet/src'
make: *** [Makefile:630: check-recursive] Error 1
freedom@freenode:~/Documents/gnunet$ export PATH=$PATH:$PREFIX/bin
freedom@freenode:~/Documents/gnunet$ echo export PATH=$PREFIX/bin:\\$PATH >> 
~/.bashrc
freedom@freenode:~/Documents/gnunet$
freedom@freenode:~/Documents/gnunet$ mkdir ~/.config/
mkdir: cannot create directory ‘/home/freedom/.config/’: File exists
freedom@freenode:~/Documents/gnunet$ touch ~/.config/gnunet.conf
freedom@freenode:~/Documents/gnunet$ which gnunet-arm
/usr/local/bin/gnunet-arm
freedom@freenode:~/Documents/gnunet$ make check
Making check in m4
make[1]: Entering directory '/home/freedom/Documents/gnunet/m4'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/freedom/Documents/gnunet/m4'
Making check in src
make[1]: Entering directory '/home/freedom/Documents/gnunet/src'
Making check in include
make[2]: Entering directory '/home/freedom/Documents/gnunet/src/include'
Making check in .
make[3]: Entering directory '/home/freedom/Documents/gnunet/src/include'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/home/freedom/Documents/gnunet/src/include'
make[2]: Leaving directory '/home/freedom/Documents/gnunet/src/include'
Making check in util
make[2]: Entering directory '/home/freedom/Documents/gnunet/src/util'
make  test_bio test_client.nc test_client_unix.nc test_common_allocation 
test_common_endian test_common_logging test_configuration 
test_container_bloomfilter test_container_dll test_container_meta_data 
test_container_multihashmap test_container_multihashmap32 
test_container_multipeermap test_container_heap test_crypto_symmetric 
test_crypto_crc test_crypto_ecdsa test_crypto_eddsa test_crypto_ecdhe 
test_crypto_ecdh_eddsa test_crypto_ecc_dlog test_crypto_hash 
test_crypto_hash_context test_crypto_hkdf test_crypto_kdf test_crypto_paillier 
test_crypto_random test_crypto_rsa test_disk test_getopt test_hexcoder test_mq 
test_os_network test_peer test_plugin test_program test_regex 
test_resolver_api.nc test_scheduler test_scheduler_delay test_service 
test_strings test_strings_to_data test_speedup test_time test_tun  
test_os_start_process test_common_logging_runtime_loglevels
make[3]: Entering directory '/home/freedom/Documents/gnunet/src/util'
make[3]: 'test_bio' is up to date.
make[3]: 'test_client.nc' is up to date.
make[3]: 'test_client_unix.nc' is up to date.
make[3]: 'test_common_allocation' is up to date.
make[3]: 'test_common_endian' is up to date.
make[3]: 'test_common_logging' is up to date.
make[3]: 'test_configuration' is up to date.
make[3]: 'test_container_bloomfilter' is up to date.
make[3]: 'test_container_dll' is up to date.
make[3]: 'test_container_meta_data' is up to date.
make[3]: 'test_container_multihashmap' is up to date.
make[3]: 'test_container_multihashmap32' is up to date.
make[3]: 'test_container_multipeermap' is up to date.
make[3]: 'test_container_heap' is up to date.
make[3]: 'test_crypto_symmetric' is up to date.
make[3]: 'test_crypto_crc' is up to date.
make[3]: 'test_crypto_ecdsa' is up to date.
make[3]: 'test_crypto_eddsa' is up to date.
make[3]: 'test_crypto_ecdhe' is up to date.
make[3]: 'test_crypto_ecdh_eddsa' is up to date.
make[3]: 'test_crypto_ecc_dlog' is up to date.
make[3]: 'test_crypto_hash' is up to date.
make[3]: 'test_crypto_hash_context' is up to date.
make[3]: 'test_crypto_hkdf' is up to date.
make[3]: 'test_crypto_kdf' is up to date.
make[3]: 'test_crypto_paillier' is up to date.
make[3]: 'test_crypto_random' is up to date.
make[3]: 'test_crypto_rsa' is up to date.
make[3]: 'test_disk' is up to date.
make[3]: 'test_getopt' is up to date.
make[3]: 'test_hexcoder' is up to date.
make[3]: 'test_mq' is up to date.
make[3]: 'test_os_network' is up to date.
make[3]: 'test_peer' is up to date.
make[3]: 'test_plugin' is up to date.
make[3]: 'test_program' is up to d