1
0

FAQ 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. =======================================================================
  2. $Id: FAQ 2921 2007-04-18 15:00:45Z munk $
  3. vim: set comments=fb\:o,fb\:#,fb\:-,fb\:*,fb\:A.,fb\:Q. et tw=72 sw=4:
  4. =======================================================================
  5. /**********************************************************************
  6. Torrentflux-b4rt 1.0 Frequently Asked Questions / FAQ file
  7. **********************************************************************/
  8. This file contains a list of Frequently Asked Questions (FAQ)
  9. together with corresponding Frequently Given Answers (FGA).
  10. The file is split into the following sections:
  11. o Torrentflux-b4rt compatibility with other operating systems
  12. o Fluxd
  13. o Transmission
  14. /**********************************************************************
  15. Torrentflux-b4rt compatibility with other operating systems
  16. **********************************************************************/
  17. Q. Will torrentflux-b4rt run on a Linksys NSLU2 'slug'?
  18. A. There are reports from users that torrentflux-b4rt will run on the
  19. slug with the OpenSlug operating system:
  20. http://www.nslu2-linux.org/wiki/OpenSlug/HomePage
  21. However, a version of 'ps' must be installed that works with
  22. torrentflux-b4rt such as the procps ipkg / package. See this post
  23. for more details:
  24. http://tf-b4rt.berlios.de/forum/index.php/topic,134.msg2262.html#msg2262
  25. /**********************************************************************
  26. Fluxd
  27. **********************************************************************/
  28. Q. I get the following error when trying to start fluxd:
  29. Error : initializing FluxDB : loglevel not defined
  30. What does it mean and how can I solve the problem?
  31. A. This error indicates that your PHP commandline binary (php-cli) is
  32. not built with support for the database you're using. You can check
  33. the supported modules you have built into your php-cli binary by
  34. issuing the command 'php -m' in a shell:
  35. root@users /root# php -m
  36. [PHP Modules]
  37. mysql
  38. pcre
  39. session
  40. sockets
  41. These 3 modules listed above - mysql (or one of the other supported
  42. database types), pcre, session and sockets - are all required to run
  43. Fluxd correctly. If you don't see these, you should reinstall your
  44. php-cli binary with support for the missing options.
  45. Notes:
  46. ======
  47. It may be the case that you have installed php-cli with support for
  48. all the above options but for some reason the php.ini file has not
  49. been modified to actually enable the extensions correctly. Check
  50. that your php.ini file has the following in it:
  51. extension=/path/to/mysql.so
  52. extension=/path/to/pcre.so
  53. extension=/path/to/session.so
  54. extension=/path/to/sockets.so
  55. where '/path/to' is the path to the extension libs.
  56. Another useful troubleshooting tip for this problem is to run
  57. 'php -i' on the commandline and search for 'ini' in the output:
  58. root@users /root# php -i | grep ini
  59. Configuration File (php.ini) Path => /usr/local/etc/php.ini
  60. Scan this dir for additional .ini files => /usr/local/etc/php
  61. additional .ini files parsed => /usr/local/etc/php/extensions.ini
  62. phpini => /usr/local/etc/php.ini
  63. This gives you an idea where all the config files for your php
  64. binary are sourced from so that you can check and confirm everything
  65. is in place.
  66. /**********************************************************************
  67. Transmission
  68. **********************************************************************/
  69. Q. How do I install the modified Torrentflux-b4rt version of
  70. Transmission on BSD (FreeBSD/NetBSD/OpenBSD/etc)?
  71. A. The BSD operating systems use 'make' as part of the base operating
  72. system to perform various operations such as updating the base
  73. system, installing 3rd party software/ports and other stuff. As a
  74. result, running 'make' to build/install the modified transmission
  75. client on BSD will cause problems such as:
  76. [3:58:30] root@users# make
  77. "mk/common.mk", line 9: Missing dependency operator
  78. "mk/common.mk", line 11: Missing dependency operator
  79. "mk/common.mk", line 14: Need an operator
  80. "mk/common.mk", line 16: Need an operator
  81. "mk/common.mk", line 17: Need an operator
  82. "mk/common.mk", line 19: Missing dependency operator
  83. Error expanding embedded variable.
  84. The solution is to use a different version of make such as GNU's
  85. gmake. This utility should be available from the ports tree for
  86. your OS.
  87. Once you have gmake installed, run the following commands to
  88. build and install the modified transmission client for use with
  89. torrentflux-b4rt:
  90. # Change into the dir containing the modified transmission client:
  91. root@users /root# cd ~tfbdev/svn/tf-b4rt/trunk/clients/transmission/
  92. # Set env variables for CXXFLAGS, LDFLAGS and CFLAGS.
  93. # Note: this command should be all on one line, remove '\' below:
  94. root@users /home/tfbdev/svn/tf-b4rt/trunk/clients/transmission# \
  95. setenv CXXFLAGS -I/usr/local/include \
  96. && setenv LDFLAGS "-L/usr/local/lib -lgnugetopt" \
  97. && setenv CFLAGS -I/usr/local/include
  98. root@users /home/tfbdev/svn/tf-b4rt/trunk/clients/transmission# \
  99. # Finally, configure, build and install the client
  100. # Again, note this is on one line, remove the '\':
  101. root@users /home/tfbdev/svn/tf-b4rt/trunk/clients/transmission# \
  102. ./configure && gmake && gmake install
  103. See here for more background and info on the problem:
  104. https://tf-b4rt.berlios.de/forum/index.php/topic,266.0.html