ejabberd - Comments for "Binaries for Sun Solaris 5.9" https://www.ejabberd.im/node/954 en ejabberd compilation on solaris https://www.ejabberd.im/node/954#comment-2165 <p>Hello rsonak,</p> <p>I am trying to compile ejabberd-1.1.1 on solaris platform.<br /> I am getting the same error which is submitted by you on<br /> Tue, 2006-07-25 .<br /> bash-2.05# gmake<br /> gcc -Wall -g -O2 -lz -L -lerl_interface -lei \<br /> expat_erl.c \<br /> -lexpat \<br /> -L -lerl_interface -lei -I/usr/local/lib/erlang/lib/erl_interface-3.5.5/include -I/usr/include \<br /> -o expat_erl.so -fpic -shared<br /> expat_erl.c: In function `ei_x_encode_string_len_fixed':<br /> expat_erl.c:81: warning: implicit declaration of function `x_fix_buff'<br /> ld: fatal: library -lei: not found<br /> ld: fatal: library -lei: not found<br /> ld: fatal: File processing errors. No output written to expat_erl.so<br /> collect2: ld returned 1 exit status<br /> gmake: *** [expat_erl.so] Error 1<br /> bash-2.05#</p> <p>Did you find any solution?<br /> I am really tried hard to solve it ,but can not find the solution. Please guide me for this as you seems to be experienced to this problem.</p> <p>Thanks a lot!</p> <p>Regards<br /> Mrunal</p> Thu, 24 Aug 2006 04:36:34 +0000 mrunal comment 2165 at https://www.ejabberd.im You can upload files to https://www.ejabberd.im/node/954#comment-2123 <p>You can upload files to ejabberd's bug tracker.</p> <p>--<br /> sander</p> Sat, 12 Aug 2006 12:28:40 +0000 sander comment 2123 at https://www.ejabberd.im Re: Solaris Binaries https://www.ejabberd.im/node/954#comment-2116 <p>Thanks for the responses. paulc, let me tar and gzip and let u know an online location where you can pick up and test.</p> Thu, 10 Aug 2006 22:49:10 +0000 rsonak comment 2116 at https://www.ejabberd.im Re: ejabberd has started! :-), how do i package binaries ? https://www.ejabberd.im/node/954#comment-2074 <div class="quote-msg"> <div class="quote-author"><em>rsonak</em> wrote:</div> <p>Can someone help me with how i can package the binaries ?</p></div> <p>Maybe <noindex><a href="http://www.blastwave.org/" rel="nofollow" >Blastwave</a></noindex> can help.</p> Wed, 02 Aug 2006 23:37:29 +0000 sander comment 2074 at https://www.ejabberd.im I'd be willing to test this https://www.ejabberd.im/node/954#comment-2049 <p>I'd be willing to test this if you want to tar up those two directories, gzip and email them to me (or put them online for a download since that'd probably be a huge email)</p> Fri, 28 Jul 2006 17:14:51 +0000 paulc comment 2049 at https://www.ejabberd.im Re: Please help!! How can i package binaries ? https://www.ejabberd.im/node/954#comment-2048 <div class="quote-msg"> <div class="quote-author"><em>rsonak</em> wrote:</div> <p>hey guys -</p> <p>How can i package the binaries for erlang and ejabberd from my Solaris 5.9 system ? I have compiled both from source but need to use ejabberd on another such Solaris 5.9 system and don't want to go through compilation again. Can someone tell me which folders the binaries lie (and if any files are referenced where the actual file resides) ?</p> <p>Thanks a lot!</p></div> <p>I don't know about Solaris. But this idea may work:</p> <p>You compiled Erlang on /home/rsonak/erlang, and ejabberd on /home/rsonak/ejabberd, and later you made 'make install' or similar. Right? If so, you could copy those dirs to the other computer, and simply execute 'make install' again there.</p> Fri, 28 Jul 2006 09:46:59 +0000 mfoss comment 2048 at https://www.ejabberd.im Please help!! How can i package binaries ? https://www.ejabberd.im/node/954#comment-2046 <p>hey guys -</p> <p>How can i package the binaries for erlang and ejabberd from my Solaris 5.9 system ? I have compiled both from source but need to use ejabberd on another such Solaris 5.9 system and don't want to go through compilation again. Can someone tell me which folders the binaries lie (and if any files are referenced where the actual file resides) ?</p> <p>Thanks a lot!</p> Thu, 27 Jul 2006 15:56:08 +0000 rsonak comment 2046 at https://www.ejabberd.im ejabberd has started! :-), how do i package binaries ? https://www.ejabberd.im/node/954#comment-2042 <p>Thanks to info given by badlop in the following thread:<br /> <a href="http://www.ejabberd.im/node/260" title="http://www.ejabberd.im/node/260">http://www.ejabberd.im/node/260</a></p> <p>I installed OpenSSL (although i do not plan to use it), recompiled Erlang and voila, ejabberd started up without any issues. I am now going to try connecting to it and do some tests.</p> <p>Can someone help me with how i can package the binaries ? I am assuming i shall also need to package the binaries for Erlang in addition to ejabberd.</p> Thu, 27 Jul 2006 00:20:13 +0000 rsonak comment 2042 at https://www.ejabberd.im ejabberd 0.9.1 start fails https://www.ejabberd.im/node/954#comment-2041 <p>I switched to ejabberd 0.9.1 and got around the make error above, next i got errors doing a make install and so manually did copying over of various folders like what the install does. Now getting the following error:</p> <p>***********<br /> =INFO REPORT==== 26-Jul-2006::15:11:30 ===<br /> application: ejabberd<br /> exited: "invalid return value from ejabberd_app:start(normal,[]) -&gt; {'EXIT',\n {undef,\n<br /> [{crypto,start,[]},\n {ejabberd_app,start,2},\n {application_master,start_it_old,4}]}}"<br /> type: temporary<br /> ************</p> Wed, 26 Jul 2006 22:43:51 +0000 rsonak comment 2041 at https://www.ejabberd.im Error when running make while compiling ejabberd 1.1.1 https://www.ejabberd.im/node/954#comment-2037 <p>Thanks for the above comment. I have gotten around that and was also able to compile Erlang successfully. I tested that installation by running "erl" at the prompt and it shows me the Erlang emulator prompt. Next i started compiling ejabberd-1.1.1. I ran the "./config --disable-tls" command to configure ejabberd and am getting the following error when running "make":</p> <p>*************************<br /> blade# make<br /> gcc -Wall -g -O2 \<br /> expat_erl.c \<br /> -lexpat \<br /> -L -lerl_interface -lei -I/usr/local/lib/erlang/lib/erl_interfac<br /> e-3.4.5/include -I/usr/include \<br /> -o expat_erl.so -fpic -shared<br /> expat_erl.c: In function `ei_x_encode_string_len_fixed':<br /> expat_erl.c:81: warning: implicit declaration of function `x_fix_buff'<br /> ld: fatal: library -lei: not found<br /> ld: fatal: File processing errors. No output written to expat_erl.so<br /> collect2: ld returned 1 exit status<br /> make: *** [expat_erl.so] Error 1<br /> ********************************************</p> Tue, 25 Jul 2006 20:51:00 +0000 rsonak comment 2037 at https://www.ejabberd.im No 'ar' command found https://www.ejabberd.im/node/954#comment-2034 <p>As spelled out, you need <code>ar</code>. On my system, it is in /usr/ccs/bin, so you could try adding that to PATH. Maybe you have to install an additional package.</p> Tue, 25 Jul 2006 07:28:59 +0000 legoscia comment 2034 at https://www.ejabberd.im Getting an error compiling Erlang/OTP R9C-2 https://www.ejabberd.im/node/954#comment-2033 <p>Hi guys,</p> <p>I was unable to find the binaries for Solaris so i have started compiling them but first need to also compile Erlang. I have installed GNU make, GCC, libexpat 1.95 or higher and IConv. I get the following error when trying to compile Erlang:</p> <p>*********<br /> configure: error: No 'ar' command found in PATH<br /> configure: error: /ejabberd/otp_src_R9C-2/lib/erl_interface/./configure failed f<br /> or erl_interface/.<br /> configure: error: /ejabberd/otp_src_R9C-2/lib/configure failed for lib<br /> *********</p> <p>Any idea what i am missing here ? Here's the full log:</p> <p>************<br /> bash-2.05# pwd<br /> bash-2.05# /ejabberd/otp_src_R9C-2<br /> bash-2.05# ./configure<br /> checking host system type... sparc-sun-solaris2.9<br /> checking for GNU make... yes (make)<br /> checking for a BSD compatible install... /ejabberd/otp_src_R9C-2/erts/autoconf/i<br /> nstall-sh -c<br /> checking whether ln -s works... yes<br /> checking for ranlib... :<br /> creating ./config.status<br /> creating Makefile<br /> configuring in lib<br /> running /bin/sh /ejabberd/otp_src_R9C-2/lib/configure --cache-file=.././config.<br /> cache --srcdir=/ejabberd/otp_src_R9C-2/lib<br /> creating ./config.status<br /> configuring in erl_interface/.<br /> running /bin/sh /ejabberd/otp_src_R9C-2/lib/erl_interface/./configure --cache-f<br /> ile=../../.././config.cache --srcdir=/ejabberd/otp_src_R9C-2/lib/erl_interface/.<br /> checking host system type... sparc-sun-solaris2.9<br /> checking for gcc... gcc<br /> checking whether the C compiler (gcc ) works... yes<br /> checking whether the C compiler (gcc ) is a cross-compiler... no<br /> checking whether we are using GNU C... yes<br /> checking whether gcc accepts -g... yes<br /> checking how to run the C preprocessor... gcc -E<br /> checking for ranlib... :<br /> checking size of short... 2<br /> checking size of int... 4<br /> checking size of long... 4<br /> checking size of void *... 4<br /> checking size of long long... 8<br /> checking for ar... false<br /> configure: error: No 'ar' command found in PATH<br /> configure: error: /ejabberd/otp_src_R9C-2/lib/erl_interface/./configure failed f<br /> or erl_interface/.<br /> configure: error: /ejabberd/otp_src_R9C-2/lib/configure failed for lib<br /> bash-2.05#<br /> ************</p> <p>Thanks a ton!</p> Tue, 25 Jul 2006 00:54:21 +0000 rsonak comment 2033 at https://www.ejabberd.im If you find them, tell me https://www.ejabberd.im/node/954#comment-2027 <p>If you find them, please tell me so I add a link to them on the Download page. If you don't find them, you will have to compile it.</p> Fri, 21 Jul 2006 11:14:35 +0000 mfoss comment 2027 at https://www.ejabberd.im