These are old archives. They are kept for historic purposes only.
DJ747
Posts: 16 Joined: Wed May 25, 2005 2:06 am
Post
by DJ747 » Wed May 25, 2005 2:16 am
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
Stealth
Head of Support
Posts: 2085 Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:
Post
by Stealth » Wed May 25, 2005 2:29 am
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.
DJ747
Posts: 16 Joined: Wed May 25, 2005 2:06 am
Post
by DJ747 » Wed May 25, 2005 2:42 am
Actually I do need it, if i didn't need it i wouldn't have come here looking for help
Stealth
Head of Support
Posts: 2085 Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:
Post
by Stealth » Wed May 25, 2005 4:03 am
Did you tell Unreal you wanted it in ./Config?
DJ747
Posts: 16 Joined: Wed May 25, 2005 2:06 am
Post
by DJ747 » Wed May 25, 2005 5:29 am
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.
Stealth
Head of Support
Posts: 2085 Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:
Post
by Stealth » Wed May 25, 2005 5:53 am
Paste the ./Config output.
Matridom
Posts: 296 Joined: Fri Jan 07, 2005 3:28 am
Post
by Matridom » Wed May 25, 2005 12:27 pm
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.
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
DJ747
Posts: 16 Joined: Wed May 25, 2005 2:06 am
Post
by DJ747 » Wed May 25, 2005 1:19 pm
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
Syzop
UnrealIRCd head coder
Posts: 2179 Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:
Post
by Syzop » Wed May 25, 2005 2:11 pm
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'}.
DJ747
Posts: 16 Joined: Wed May 25, 2005 2:06 am
Post
by DJ747 » Wed May 25, 2005 9:37 pm
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
Syzop
UnrealIRCd head coder
Posts: 2179 Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:
Post
by Syzop » Wed May 25, 2005 11:05 pm
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)
DJ747
Posts: 16 Joined: Wed May 25, 2005 2:06 am
Post
by DJ747 » Wed May 25, 2005 11:32 pm
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
Stealth
Head of Support
Posts: 2085 Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:
Post
by Stealth » Wed May 25, 2005 11:40 pm
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.