Synchronet v3.17b-Win32 (install) has been released (Jan-2019).

New Synchronet YouTube channel

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:nix [2018/03/01 12:21]
digital man old revision restored
faq:nix [2020/03/22 14:45] (current)
digital man [SDL errors] mention the xhost solution
Line 169: Line 169:
  
 **Answer:​**\\ ​   **Answer:​**\\ ​  
-A fresh install (as of Feb-2009) requires about 70MBytes+A fresh install (as of Mar-2020from source code, requires about 500MBytes of space
-Much of the space consumed is in the form of intermediate build files which +Much of the space consumed is in the form of intermediate build files which may be removed after the build is complete if space is a concern.
-may be removed after the build is complete if space is a concern.+
  
  
Line 191: Line 190:
  
 To elaborate, [[util:​SBBSecho]] uses ''​tempnam''​ for a specific purpose, which ''​mkstemp''​ does not do. Additionally ''​mkstemp''​ is not available in all the C libraries for all the platforms for which Synchronet is built. The //dangers// of ''​tempnam''​ do not apply to SBBSecho'​s use of the function. To elaborate, [[util:​SBBSecho]] uses ''​tempnam''​ for a specific purpose, which ''​mkstemp''​ does not do. Additionally ''​mkstemp''​ is not available in all the C libraries for all the platforms for which Synchronet is built. The //dangers// of ''​tempnam''​ do not apply to SBBSecho'​s use of the function.
 +
 +===== SDL errors =====
 +**Question:​**\\
 +How do I work around SDL_main errors (e.g. ''​No protocol specified''​ followed by a ''​segmentation fault''​) that prevent Synchronet applications (e.g. [[util:​SCFG]],​ [[util:​EchoCFG]],​ [[monitor:​umonitor]],​ etc.) built with SDL 1.2 from running?
 +<​code>​
 +$ /​sbbs/​exec/​scfg
 +No protocol specified
 +No protocol specified
 +No protocol specified
 +Segmentation fault (core dumped)
 +</​code>​
 +
 +**Answer:​**\\
 +Double check that you can run X applications (e.g. ''​xterm'',​ ''​xeyes''​) and if you cannot, you may need to grant X access to other user accounts with a command like:
 +  xhost +SI:​localuser:<​username>​
 +executed before switching to another user account (e.g. with ''​su''​ or ''​sudo''​).
 +
 +Work-arounds:​
 +  - Clean re-build all of Synchronet without SDL support (include ''​WITHOUT_SDL=1''​ on the ''​make''​ command-lines or in your ''​localdefs.mk''​ file)
 +  - Set the ''​SDL_VIDEODRIVER''​ environment variable to the value of ''​dummy''​ (e.g. ''​EXPORT SDL_VIDEODRIVER=dummy''​) before executing the program
  
 ===== See Also ===== ===== See Also =====

In Other Languages