install: ELDAPv3.beam was not found anywhere!

ejabberd compiles ok - I tried to then run a make install, which fails with:

make[1]: Leaving directory `/home/mhale/src/ejabberd/ejabberd/src/tls'
install -d /var/lib/ejabberd/ebin
install -m 644 *.beam /var/lib/ejabberd/ebin
install: ELDAPv3.beam was not found anywhere!
make: *** [install] Error 2

however ELDAPv3.beam is in the src directory where I'm invoking make install.

Any ideas?

ELDAPv3.beam was not found anywhere

just got the same thing compiling ejabberd-1.1.4 on Solaris 10

./configure --prefix=/opt/ejabberd-1.1.4 CFLAGS="-I/usr/local/lib/erlang/usr/include -I/usr/local/ssl/include" LDFLAGS="-L/usr/local/lib/erlang/lib/erl_interface-3.5.5.3/lib -L/usr/local/ssl/lib"

make install says:

install -d /opt/ejabberd-1.1.4/var/lib/ejabberd/ebin
directory /opt/ejabberd-1.1.4/var/lib/ejabberd/ebin created
install -m 644 *.beam /opt/ejabberd-1.1.4/var/lib/ejabberd/ebin
find: cannot follow symbolic link /usr/lib/dns/libdns.so.16: No such file or directory
find: cannot follow symbolic link /usr/lib/dns/libisc.so.7: No such file or directory
find: cannot follow symbolic link /usr/lib/dns/libisccfg.so.0: No such file or directory
find: cannot follow symbolic link /usr/lib/dns/liblwres.so.1: No such file or directory
install: ELDAPv3.beam was not found anywhere!
make: *** [install] Error 2

The Solaris install command

The Solaris install command isn't copying files to the destination directory.
You need to have GNU install in your path before the solaris one.

You can work around this if your GNU install is called ginstall (from blastwave, perhaps?) by editing the makefile:

cat Makefile | sed s/install/ginstall/ > Makefile.gi
gmake -f Makefile.gi ginstall

Thanks, the problem is now

Thanks, the problem is now tracked here: Solaris Makefile install: should use ginstall

Syndicate content