i want to install ejabberd but don't need all the gui stuff on the server. this is for freebsd 5.4: there is a port for ejabberd (how nice!)
can i avoid the xorg libraries? i don't see it mentioned in the docs. thank you
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
i want to install ejabberd but don't need all the gui stuff on the server. this is for freebsd 5.4: there is a port for ejabberd (how nice!)
can i avoid the xorg libraries? i don't see it mentioned in the docs. thank you
WITHOUT_X11
It seems that the erlang port includes a Tk interface by default. Try compiling it with WITHOUT_X11=1.
well, i added these lines to
well, i added these lines to my /etc/make.conf (freebsd 5.4)
WITHOUT_X11="yes"
NO_GUI="true"
NO_X="true"
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.
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?
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.
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.http://www.freebsdforums.org/forums/showthread.php?t=28116
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!
if anybody has any suggestions, let me know. thanks for your help!
~ anybody has something to share ~
Erlang/OTP does not strictly require Java
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.
If you look at Erlang/OTP packages for Debian or Ubuntu, they don't require Java at all. Unfortunately, they still require Tk.
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).