Re: Using gnuTLS
"Tony Baldarelli" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <017d01cbf7b9$b6676170$23362450$@com> |
Well, I have tried "./configure --with-openssl", "./configure --with-openssl=/usr/local/ssl", and "./configure --with-openssl=/usr/local" with freetds-0.92.dev.20110409, and none of them have even compiled on my system. Please note that prior versions do compile with openssl ( they just don't work with SQL Server using SSL ). As such, my system is setup so that it should compile. This leaves 2 options: 1. A new required was added to 0.92 ( the one I downloaded the other night ) that prevents me from compiling it. If this is the case, then it is not obvious what I need to install to fix it. 2. This version has not been tested or compiled on enough systems. Since this is not the stable release, I am not really surprised I am having problems. Note that the one I downloaded is almost certainly not the one you refer to below as it is version 0.92, and you refer to version 0.91RC1. As such, I bet I need to poke around and find the same version you refer to below. And I think I found it at http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable/release_candidates/. So I am going to try it and see if I get better results. Thanks so much for telling me the version, Ken. That really helped a lot. Side issue, but I don't even have /opt/local. So if it seems like I am ignoring that small point, I am not. Thanks again. Hopefully this will work. Tony -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ken Collins Sent: Saturday, April 09, 2011 10:52 PM To: FreeTDS Development Group Subject: Re: [freetds] Using gnuTLS Tony, I just tested the 0.91RC1 and it compiles fine for me --with-openssl=/opt/local just fine for me. - Ken On Apr 9, 2011, at 9:35 PM, Tony Baldarelli wrote: > Ken, > It occurred to me that you are probably using a different snapshot > then I am, which is why you had no problems. I am currently using one I > just downloaded, called "freetds-0.92.dev.20110409", and whether I configure > it with "./configure --with-openssl" or "./configure > --with-openssl=/usr/local/ssl", it will not compile. As such, since we know > the snapshot you used compiled and works for you, per chance can you put it > someplace where I can download it? That is assuming you still have it, of > course. Because the last 2 "current" snapshots I have tried have not even > compiled on my system when I use "openssl". Thanks for your time. I > appreciate it. > > > Tony > > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Ken Collins > Sent: Friday, April 08, 2011 1:54 PM > To: FreeTDS Development Group > Subject: Re: [freetds] Using gnuTLS > > > I think you have the config option format wrong. It should include a dir. My > port file includes my port prefix, in this case /op/local. Change that to > your needs. > > --with-openssl=/opt/local > > > On Apr 8, 2011, at 1:46 PM, Tony Baldarelli wrote: > >> Doesn't compile, but I will keep playing with it to see if I can get it to >> work. I did the following steps: >> 1. Ran "./configure --with-openssl" >> 2. Ran "make" >> 3. Ran "make install" >> >> I then ran "make clean" and "make distclean" to start from scratch. Then > I >> reran steps 1 and 2. I think these two errors are the root cause of the >> compile failure. I guess the older version does not have this problem >> because it compiled fine. >> challenge.c: In function `generate_random_buffer': >> challenge.c:152: warning: implicit declaration of function `RAND_bytes' >> challenge.c:154: warning: implicit declaration of function >> `RAND_pseudo_bytes' >> >> Anyway, I guess I will wait to see if the new patch for 0.82 fixes my SSL >> issue. >> >> >> Tony >> >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Ken Collins >> Sent: Friday, April 08, 2011 1:07 PM >> To: FreeTDS Development Group >> Subject: Re: [freetds] Using gnuTLS >> >> >> I used this. >> http://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-current.tgz >> >> On Apr 8, 2011, at 1:03 PM, Tony Baldarelli wrote: >> >>> Thanks for the information. The latest version I see is 0.82 ( at >>> http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/ ). So where did you >> get >>> a later version? There is a patch in that directory, but it is for >> version >>> 0.82 ( I know this because I downloaded it today and last night and tried >> it >>> with openssl ). Currently Freddy is helping me with that patch and >>> hopefully it will be fixed soon, but I was just a little surprised I > could >>> not see any version later than 0.82 when you refer to version 0.83. >> Thanks >>> for your time. >>> >>> >>> Tony >>> >>> >>> -----Original Message----- >>> From: [email protected] >>> [mailto:[email protected]] On Behalf Of Ken Collins >>> Sent: Friday, April 08, 2011 12:56 PM >>> To: FreeTDS Development Group >>> Subject: Re: [freetds] Using gnuTLS >>> >>> >>> I can share that the latest 0.83.dev (0.91) works with OpenSSL 1.0.0c for >> me >>> just find. It was necessary to connect to Azure and it just worked. >>> >>> - Ken >>> _______________________________________________ >>> FreeTDS mailing list >>> [email protected] >>> http://lists.ibiblio.org/mailman/listinfo/freetds >>> >>> _______________________________________________ >>> FreeTDS mailing list >>> [email protected] >>> http://lists.ibiblio.org/mailman/listinfo/freetds >> >> _______________________________________________ >> FreeTDS mailing list >> [email protected] >> http://lists.ibiblio.org/mailman/listinfo/freetds >> >> _______________________________________________ >> FreeTDS mailing list >> [email protected] >> http://lists.ibiblio.org/mailman/listinfo/freetds > > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds > > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds