hello,
i am attempting to install ejabberd-2.0.3 on opensolaris in the global zone. i am able to compile successfully. however, on install, i repeatedly get the following errors. further information is found below. please advise.
user@host:~/Download/ejabberd-2.0.3/src$ pfexec make install
...
install -d /export/home/user/export/home/user/var/lib/ejabberd/ebin
install -m 644 *.beam /export/home/user/export/home/user/var/lib/ejabberd/ebin
find: cycle detected for /lib/32/
find: cycle detected for /lib/secure/32/
find: cycle detected for /usr/lib/elfedit/32/
find: cycle detected for /usr/lib/secure/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LO_LTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LC_CTYPE/32/
find: cycle detected for /usr/lib/lwp/32/
find: cycle detected for /usr/lib/link_audit/32/
find: cycle detected for /usr/lib/32/
install: acl.beam was not found anywhere!
make: *** [install] Error 2
---------------------------------------------
user@host:~/Desktop$ uname -a
SunOS host 5.11 snv_101b i86pc i386 i86pc Solaris
user@host:~/Desktop$ isainfo -v
64-bit amd64 applications
sse4.1 ssse3 cx16 mon sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
32-bit i386 applications
sse4.1 ssse3 ahf cx16 mon sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu
@host:~/Download/ejabberd-2.0.3/src$ ./configure --prefix=$HOME
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for erlc... /bin/erlc
checking for erl... /bin/erl
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/gnu/bin/grep
checking for egrep... /usr/gnu/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for ANSI C header files... (cached) yes
checking whether build mod_irc... yes
checking whether build mod_muc... yes
checking whether build mod_proxy65... yes
checking whether build mod_pubsub... yes
checking whether build eldap... yes
checking whether build odbc... no
checking whether build tls... yes
checking whether build web... yes
checking whether build ejabberd_zlib... yes
checking for gzgets in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking whether build pam... no
looking for openssl in /usr/local/ssl...
checking for SSL_new in -lssl... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
openssl found in /usr/local/ssl
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mod_irc/Makefile
config.status: creating mod_muc/Makefile
config.status: creating mod_pubsub/Makefile
config.status: creating mod_proxy65/Makefile
config.status: creating eldap/Makefile
config.status: creating web/Makefile
config.status: creating stringprep/Makefile
config.status: creating tls/Makefile
config.status: creating ejabberd_zlib/Makefile
user@host:~/Download/ejabberd-2.0.3/src$
user@host:~/Download/ejabberd-2.0.3/src$ make
user@host:~/Download/ejabberd-2.0.3/src$ pfexec make install
install -d /export/home/user/export/home/user/var/lib/ejabberd/ebin
install -m 644 *.beam /export/home/user/export/home/user/var/lib/ejabberd/ebin
find: cycle detected for /lib/32/
find: cycle detected for /lib/secure/32/
find: cycle detected for /usr/lib/elfedit/32/
find: cycle detected for /usr/lib/secure/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LO_LTYPE/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/32/
find: cycle detected for /usr/lib/locale/en_US.UTF-8/LC_CTYPE/32/
find: cycle detected for /usr/lib/lwp/32/
find: cycle detected for /usr/lib/link_audit/32/
find: cycle detected for /usr/lib/32/
install: acl.beam was not found anywhere!
make: *** [install] Error 2
'make' should compile all the
'make' should compile all the source code and create many *.beam files in the src/ directory.
Try the those OpenSolaris instructions:
http://svn.process-one.net/ejabberd/trunk/doc/guide.html#solaris