Page 1 of 1

SSL Compilation Problem

Posted: Sun Sep 07, 2008 2:51 pm
by jok3r
* Loading IRCd configuration ..
[warning] /usr/local/etc/Unreal/unrealircd.conf:255: listen with SSL flag enabled on a non SSL compile
[warning] /usr/local/etc/Unreal/unrealircd.conf:322: link hub.mynet.com with SSL option enabled on a non-SSL compile
[warning] /usr/local/etc/Unreal/unrealircd.conf:322: link hub.mynet.com with ZIP option enabled on a non-ZIP compile
[error] 2 errors encountered
[error] IRCd configuration failed to pass testing

SSL is not compiled.

But i use freeBSD, and when i use ports:

# cd /usr/ports/dns/c-ares
# make install clean

Don't ask me about SSL, just install everything automaticaly.

What i need to do to add SSL to the UnrealIRCD compilation?

Thanks

Re: SSL Compilation Problem

Posted: Sun Sep 07, 2008 6:01 pm
by Casper
You'll have to install something like OpenSSL to get SSL work on your box.

For the ZIP error, remove zip; from listen/link block OR download zlibs.

Re: SSL Compilation Problem

Posted: Sun Sep 07, 2008 9:40 pm
by jok3r
Problem solved.

Type 'make config' and select SSL.

Anyway, i only can start unreal as root.

I want to start as a non-root user, any idea how to make it?

Regards

Re: SSL Compilation Problem

Posted: Sun Sep 07, 2008 10:07 pm
by nate
Erm, common sense would say, create regular user, compile under as that user, run as that user.

: P

Re: SSL Compilation Problem

Posted: Mon Sep 08, 2008 1:04 am
by jok3r
When i make it under a normal user, when i make 'make install clean' says: permission denied.

Re: SSL Compilation Problem

Posted: Mon Sep 08, 2008 12:29 pm
by Jobe
jok3r wrote:When i make it under a normal user, when i make 'make install clean' says: permission denied.
You don't need to run make install, normally, UnrealIRCd runs out of it's source dir.

Re: SSL Compilation Problem

Posted: Mon Sep 08, 2008 6:19 pm
by nate
most likely because you simply copied the files to a regular users folder while its still all owned by root, obviously thats not gonna work ya know?

Either chown them properly or just re-extract the source tarball into the regular users directory and do all the compile steps from there, then just copy the unrealircd.conf file.