Compiling MySQL with SSL support
Hi, I am attempting to install mySQL with SSL support but keep getting build errors. I have openSSL 0.9.7c install into /usr/local/ssl I am attempting to install mySQL 4.0.16 I am using the following configure options CFLAGS=-O3 -mcpu=pentiumpro -I/usr/local/ssl/include CXX=gcc CXXFLAGS=-O3 -mcpu=pentiumpro -felide-constructors ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable -thread-safe-client --enable-local-infile --enable-assembler --disable-share d --with-vio --with-openssl --with-openssl-includes=/usr/local/ssl/include - -with-openssl-libs=/usr/local/ssl/lib and I am getting this error ../include/my_global.h:271: warning: this is the location of the previous definition In file included from bfill.c:32: ../include/my_global.h:1109: openssl/opensslv.h: No such file or directory The file openssl/opensslv.h does exist. Does anyone have any ideas how to fix this problem? Thanks, Adam --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.543 / Virus Database: 337 - Release Date: 21/11/2003 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: RE: Compiling MySQL with SSL support
Well, I have been playing around some, partly in the files, other times with other ccommands see what happens. Well I decided to delete the entire directory, and try again. As I was watching the configure to go through it's thing, I got a interesting error at 21985 - unknown command and at 21988 in the configure file. Well, I decided to find out what was causing this error, and noticed at 21985, is a test to see if it should use libedit or not. I never did define anything in the command line for it, and on it's false statement it puts a variable for with_libedit to undefined. Well just happens at 21988, theres a test to see if it should use both libedit and libread together. Just playing around I decided to try compiling with the libedit, and I get 4 new errors at 21988 - test: =: unary operator expected; at 21985 - command not found; at 21981 - command not found; and lastly at 21986 - command not found. Just looking above and below, I find it is right at the openssl section. What I am thinking, is that either the test expressions are incorrectly done, or the value of with_libedit that is being defined for tue isn't what is needed. I will post more when I find more out. Chris - Original Message - From: Fortuno, Adam [EMAIL PROTECTED] To: 'Chris Torske' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:59 AM Subject: [spam] RE: Compiling MySQL with SSL support I don't have an answer for you, but Hong might. He's compiled MySQL with SSL support. Perhaps he could answer your question. Regards, Adam -Original Message- From: Chris Torske [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:36 AM To: [EMAIL PROTECTED] Subject: Compiling MySQL with SSL support Hopefuly someone will be able to save me, before I destroy my system too bad. I am trying to compile mysql 4.1.0 alpha with openssl support. I know I have everything needed installed on my system, gcc 3.2.2, and two copies of openssl. I originaly tried installing with the rpm, to hopefuly be less of a head ache, but ended up being more of one. So I am going through and just compile from source code. From what I found out the hard way, this version only wants 0.9.6, won't accept 0.9.7 shared files. So I installed 0.9.6 in a different location and made the shared files, but I am unable to get the compiler to use the correct location for openssl. It always goes back to the default location which has 0.9.7 and fails. Right now 0.9.7 is installed in it's default location, and I installed 0.9.6 in /usr/local/openssl096. Is there a command or some commands that will tell the compiler use the new location over default? Thanks, Chris -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Re: RE: Compiling MySQL with SSL support
Updating on my progress on getting it to work. I did get the errors fixed, there were 3 in the end that needed to be fixed. Pretty much I had to remove a space in 2 spots, I think at 21985 and 21986 if I am correct, more of there was a space on the lines assigning a value to a varable. The other error at I think 21988, I just need to give the function/statement something to use. I am not using my linux machine to write these, so I been having to switch back and forth a lot of the time. I haven't got it to make yet, but I know what the problem on that it, I just need to find a way to either get the library it wants, or find a way to install the new gcc 3.3.1. How I am going to do that, I have no idea, but I will work on that tomorrow, after I get home from work. If you haven't noticed, I am not one who cares for waiting if I don't need to. I may not be the best in linux, or even know half of what I am doing, but I will figure it out one way or another. Chris - Original Message - From: Chris Torske [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 10, 2003 2:58 PM Subject: [mysql] Re: RE: Compiling MySQL with SSL support Well, I have been playing around some, partly in the files, other times with other ccommands see what happens. Well I decided to delete the entire directory, and try again. As I was watching the configure to go through it's thing, I got a interesting error at 21985 - unknown command and at 21988 in the configure file. Well, I decided to find out what was causing this error, and noticed at 21985, is a test to see if it should use libedit or not. I never did define anything in the command line for it, and on it's false statement it puts a variable for with_libedit to undefined. Well just happens at 21988, theres a test to see if it should use both libedit and libread together. Just playing around I decided to try compiling with the libedit, and I get 4 new errors at 21988 - test: =: unary operator expected; at 21985 - command not found; at 21981 - command not found; and lastly at 21986 - command not found. Just looking above and below, I find it is right at the openssl section. What I am thinking, is that either the test expressions are incorrectly done, or the value of with_libedit that is being defined for tue isn't what is needed. I will post more when I find more out. Chris - Original Message - From: Fortuno, Adam [EMAIL PROTECTED] To: 'Chris Torske' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 10:59 AM Subject: [spam] RE: Compiling MySQL with SSL support I don't have an answer for you, but Hong might. He's compiled MySQL with SSL support. Perhaps he could answer your question. Regards, Adam -Original Message- From: Chris Torske [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:36 AM To: [EMAIL PROTECTED] Subject: Compiling MySQL with SSL support Hopefuly someone will be able to save me, before I destroy my system too bad. I am trying to compile mysql 4.1.0 alpha with openssl support. I know I have everything needed installed on my system, gcc 3.2.2, and two copies of openssl. I originaly tried installing with the rpm, to hopefuly be less of a head ache, but ended up being more of one. So I am going through and just compile from source code. From what I found out the hard way, this version only wants 0.9.6, won't accept 0.9.7 shared files. So I installed 0.9.6 in a different location and made the shared files, but I am unable to get the compiler to use the correct location for openssl. It always goes back to the default location which has 0.9.7 and fails. Right now 0.9.7 is installed in it's default location, and I installed 0.9.6 in /usr/local/openssl096. Is there a command or some commands that will tell the compiler use the new location over default? Thanks, Chris -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Compiling MySQL with SSL support
Hopefuly someone will be able to save me, before I destroy my system too bad. I am trying to compile mysql 4.1.0 alpha with openssl support. I know I have everything needed installed on my system, gcc 3.2.2, and two copies of openssl. I originaly tried installing with the rpm, to hopefuly be less of a head ache, but ended up being more of one. So I am going through and just compile from source code. From what I found out the hard way, this version only wants 0.9.6, won't accept 0.9.7 shared files. So I installed 0.9.6 in a different location and made the shared files, but I am unable to get the compiler to use the correct location for openssl. It always goes back to the default location which has 0.9.7 and fails. Right now 0.9.7 is installed in it's default location, and I installed 0.9.6 in /usr/local/openssl096. Is there a command or some commands that will tell the compiler use the new location over default? Thanks, Chris