ejabberd - Comments for "xorg libraries installed on headless server?" https://www.ejabberd.im/node/662 en Erlang/OTP does not strictly require Java https://www.ejabberd.im/node/662#comment-1390 <p>Erlang/OTP includes a lot of libraries, some of them require OpenSSL, Java, Tk or ODBC. ejabberd requires some OTP libraries that, in fact, require OpenSSL. ejabberd requires ODBC only if you want to use as database anything different than Mnesia (the default one). But it's for sure that ejabberd does not require any library dependant on Java or Tk. </p> <p>If you look at Erlang/OTP packages for Debian or Ubuntu, they don't require Java at all. Unfortunately, they still require Tk.</p> <p>So yes, all those additional (superfluous) requirements of Java (and Tk) seem a FreeBSD port/Debian package maintainer's problem (it can be considered a bug or misfeature).</p> Sat, 18 Feb 2006 23:33:40 +0000 mfoss comment 1390 at https://www.ejabberd.im well, i added these lines to https://www.ejabberd.im/node/662#comment-1389 <p>well, i added these lines to my /etc/make.conf (freebsd 5.4)<br /> WITHOUT_X11="yes"<br /> NO_GUI="true"<br /> NO_X="true"</p> <p>which should have done the trick for any and all installs, i think. but when i installed the ejabberd port, i see the xorg libraries there anyway.</p> <p>early on in the 'make' portion of the install, the install stopped and said 'because of licensing issues' i needed to download j2sdk-1_4_2-bin-scsl.zip and j2sdk-1_4_2-src-scsl.zip from java.com and upload them to my distfiles dir, then restart 'make'. so i did that. then later, i got another stop error, and was told i needed to upload j2sdk-1_4_2_10-linux-i586.bin to distfiles and restart make again. after that, the install chugged along just fine. perhaps the xorg libs came crawling in with the downloaded stuff?</p> <p>anyway, in the end, i have (i think) waaay more stuff installed on my little server than i really need to run the ejabberd server. i'll try to deinstall and scrape off all the new packages that came with the ejabberd install and try again.</p> <p>next time, i'll try separately installing some of the dependencies that ejabberd requires (erlang, jdk1.4, javavmwrapper) first, to see if i can more carefully instruct them that i don't want the gui stuff. this thread on bsdforums mentions using MINIMAL=yes on the jdk1.4 install. <noindex><a href="http://www.freebsdforums.org/forums/showthread.php?t=28116" title="http://www.freebsdforums.org/forums/showthread.php?t=28116" rel="nofollow" >http://www.freebsdforums.org/forums/showthread.php?t=28116</a></noindex></p> <p>i realize this is an issue with the freebsd port and not a problem with ejabberd itself! i'll keep experimenting and see if i can come up with the clean install i want...then i'll probably be back to ask for help with configuration!</p> <p>if anybody has any suggestions, let me know. thanks for your help!</p> <p>~ anybody has something to share ~</p> Fri, 17 Feb 2006 15:00:58 +0000 jillelaine comment 1389 at https://www.ejabberd.im WITHOUT_X11 https://www.ejabberd.im/node/662#comment-1383 <p>It seems that the erlang port includes a Tk interface by default. Try compiling it with WITHOUT_X11=1.</p> Thu, 16 Feb 2006 08:19:32 +0000 legoscia comment 1383 at https://www.ejabberd.im