Page 1 of 1
Listen with SSL flag enabled on a non SSL compile
Posted: Wed May 25, 2005 2:16 am
by DJ747
It says that it isn't compile with ssl but I know for a fact i specified the path to it.
Here is the error:
Code: Select all
[warning] unrealircd.conf:269: listen with SSL flag enabled on a non SSL compile
OpenSSL Version
uname -a
Code: Select all
Linux rock 2.6.8.1-5-386 #1 Sat Feb 12 00:19:31 UTC 2005 i686 GNU/Linux
Thanks in advance
Posted: Wed May 25, 2005 2:29 am
by Stealth
You need to compile Unreal with SSL enabled in ./Config. Just having SSL on the box is NOT enough. If you don't know how to compile Unreal with SSL, then you should not need SSL.
Posted: Wed May 25, 2005 2:42 am
by DJ747
Actually I do need it, if i didn't need it i wouldn't have come here looking for help
Posted: Wed May 25, 2005 4:03 am
by Stealth
Did you tell Unreal you wanted it in ./Config?
Posted: Wed May 25, 2005 5:29 am
by DJ747
Yes I did, thats what really confuses me, I compile it, it makes the certificate and then when i go to start it, it says that it isn't compiled for ssl
EDIT: I did this:
make clean (did this when i recompiled a second time)
./Config
make
make install
I also tried removing all the files and redownloading the source again.
Posted: Wed May 25, 2005 5:53 am
by Stealth
Paste the ./Config output.
Posted: Wed May 25, 2005 12:27 pm
by Matridom
I know that on my system, i had to install the development files (libssl-dev) for openssl. just having the openssl package install was not enough.
Posted: Wed May 25, 2005 1:19 pm
by DJ747
I think I have found the problem, but I don't know how to fix it:
Code: Select all
/usr/bin/install -m 0700 src/ircd /home/dj747/ircd/Unreal3.2/src/ircd
/usr/bin/install: `src/ircd' and `/home/dj747/ircd/Unreal3.2/src/ircd' are the same file
make: *** [install] Error 1
here is what ./Config sends to ./configure:
Code: Select all
./configure --with-showlistmodes --enable-hub --enable-ssl=/usr/lib/libssl.so.0.9.7 --enable-ziplinks --enable-prefixaq --with-listen=5 --with-dpath=/home/dj747/ircd/Unreal3.2 --with-spath=/home/dj747/ircd/Unreal3.2/src/ircd --with-nick-history=2000 --with-sendq=3000000 --with-bufferpool=18 --with-hostname=rock --with-permissions=0600 --with-fd-setsize=1024 --enable-dynamic-linking
Also this looks relavent
Code: Select all
checking for openssl... found in /usr/include/openssl
Code: Select all
Configuration summary
=====================
TRE is now configured as follows:
* Compilation environment
CC = gcc
CFLAGS = -O1 -fomit-frame-pointer -Wall
CPP = gcc -E
CPPFLAGS =
LD = /usr/bin/ld
LDFLAGS =
LIBS =
Use alloca(): yes
* TRE options
Development-time debugging: no
System regex ABI compatibility: no
Wide character (wchar_t) support: no (disabled with --disable-wchar)
Multibyte character set support: no (disabled with --disable-multibyte)
Approximate matching support: yes
Build and install agrep: no
Posted: Wed May 25, 2005 2:11 pm
by Syzop
Actually that's something else (and not a problem).
Most likely it's what Matridom says {in which case Config/configure will say something (bad) later on about ssl again, do 'grep -i ssl config.log'}.
Posted: Wed May 25, 2005 9:37 pm
by DJ747
result of grep -i ssl config.log
Code: Select all
$ ./configure --with-showlistmodes --enable-hub --enable-ssl=/usr/lib/libssl.so.0.9.7 --enable-ziplinks --enable-prefixaq --with-listen=5 --with-dpath=/home/dj747/ircd/Unreal3.2 --with-spath=/home/dj747/ircd/Unreal3.2/src/ircd --with-nick-history=2000 --with-sendq=3000000 --with-bufferpool=18 --with-hostname=rock --with-permissions=0600 --with-fd-setsize=1024 --enable-dynamic-linking
configure:2160: checking for openssl
configure:2178: found /usr/bin/openssl
configure:2190: result: /usr/bin/openssl
configure:10134: checking for openssl
configure:10139: result: found in /usr/include/openssl
ac_cv_path_OPENSSLPATH=/usr/bin/openssl
#define USE_SSL 1
Posted: Wed May 25, 2005 11:05 pm
by Syzop
I've no idea then.
Judging from your output SSL should be enabled.
You got the openssl development libraries installed? (common package names: openssl-devel, libssl-dev, etc)
Posted: Wed May 25, 2005 11:32 pm
by DJ747
I have all the libs pertaining to ssl installed. Would this have anything to do with it:
Code: Select all
/usr/bin/install -m 0700 src/ircd /home/dj747/ircd/Unreal3.2/src/ircd
/usr/bin/install: `src/ircd' and `/home/dj747/ircd/Unreal3.2/src/ircd' are the same file
make: *** [install] Error 1
Posted: Wed May 25, 2005 11:40 pm
by Stealth
Syzop already said that didn't have anything to do with it.
You get that error because you are running "make install" when you should not be.