Page 1 of 1

Make Install not Working

Posted: Fri Nov 03, 2017 8:30 am
by java
When I tried to run the make install command in terminal I got this error. Does anyone have any ideas on what is happening.

Code: Select all

/usr/bin/install -m 0700 -d /home/java/bin
/usr/bin/install -m 0700 src/ircd /home/java/bin/unrealircd
/usr/bin/install -m 0700 -d /home/java/doc
/usr/bin/install -m 0600 doc/Authors doc/coding-guidelines doc/tao.of.irc /home/java/doc
/usr/bin/install -m 0700 -d /home/java/conf
/usr/bin/install -m 0600 doc/conf/*.default.conf /home/java/conf
/usr/bin/install -m 0600 doc/conf/*.optional.conf /home/java/conf
/usr/bin/install -m 0700 -d /home/java/conf/aliases
/usr/bin/install -m 0600 doc/conf/aliases/*.conf /home/java/conf/aliases
/usr/bin/install -m 0700 -d /home/java/conf/help
/usr/bin/install -m 0600 doc/conf/help/*.conf /home/java/conf/help
/usr/bin/install -m 0700 -d /home/java/conf/examples
/usr/bin/install -m 0600 doc/conf/examples/*.conf /home/java/conf/examples
/usr/bin/install -m 0700 -d /home/java/conf/ssl
/usr/bin/install -m 0600 doc/conf/ssl/curl-ca-bundle.crt /home/java/conf/ssl
/usr/bin/install -m 0700 unrealircd /home/java
/usr/bin/install: cannot overwrite directory '/home/java/unrealircd' with non-directory
Makefile:180: recipe for target 'install' failed
make: *** [install] Error 1

Re: Make Install not Working

Posted: Sun Nov 05, 2017 6:38 pm
by Syzop
Apparently during ./Config you told UnrealIRCd to install to /home/java
This is unusual, you should install it to something like /home/java/unrealircd

Run this (and answer the second question correctly during ./Config):

Code: Select all

make clean
make install
Once that works, remove the mess you previously created in your home directory (such as /home/java/bin, /home/java/conf, and so on).