Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Building CTorrent?

Building CTorrent?
Thread Tools
Grizzled Veteran
Join Date: Jun 2002
Status: Offline
Reply With Quote
Jan 18, 2005, 03:09 PM
 
So I want to try and run CTorrent, and hopefully build a GUI wrapper for it, but I am having trouble building the thing.

I read the installation instructions that it needed OpenSSL and realised OS X has it by default, so ignored it. So I did the ./configured as it says and I get a error message back saying OpenSSL is missing. So I download OpenSSL via Fink and restart the configuring, I get the same message back.

I did a bit of Googling and the only thing I could find similar was this blog post:

http://www.chak.org/blog/archives/000325.html

Anyone got any ideas at all?

Thanks,
Oliver
     
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status: Offline
Reply With Quote
Jan 18, 2005, 08:58 PM
 
Originally posted by iOliverC:
I read the installation instructions that it needed OpenSSL and realised OS X has it by default, so ignored it. So I did the ./configured as it says and I get a error message back saying OpenSSL is missing. So I download OpenSSL via Fink and restart the configuring, I get the same message back.

I did a bit of Googling and the only thing I could find similar was this blog post:

http://www.chak.org/blog/archives/000325.html

Anyone got any ideas at all?
Sure, so I don't have any particular experience with CTorrent but if you install openssl via fink you'll have to tell the configure script for CTorrent to look in fink's path for the libraries and includes, right?

It should be something like this right?
Code:
./configure --with-includes="/sw/include" --with-libs="/sw/lib"
"In Nomine Patris, Et Fili, Et Spiritus Sancti"

     
Forum Regular
Join Date: Nov 2004
Location: América
Status: Offline
Reply With Quote
Jan 19, 2005, 05:37 PM
 
You don't need fink to build CTorrent.

Edit the configure script, and change the following lines:

line 2833, from:
LIBS="-lssl $LIBS"
to:
LIBS="-lcrypto -lssl $LIBS"

and line 2887, from:
LIBS="-lssl $LIBS"
to
LIBS="-lcrypto -lssl $LIBS"

(in short, just change the 2 occurrences of '-lssl' into '-lcrypto -lssl')
it should then compile and run (I haven't tested it, but the above solution will at least solve the OpenSSL problem you described).

…somehow we find it hard to sell our values, namely that the rich should plunder the poor. - J. F. Dulles
     
Fresh-Faced Recruit
Join Date: Mar 2002
Status: Offline
Reply With Quote
Jun 19, 2005, 05:46 AM
 
Just wanted to say this still works in 10.4. Thx much for the hint.
     
Baninated
Join Date: Jun 2005
Status: Offline
Reply With Quote
Jun 20, 2005, 05:26 PM
 
Thanks, but no thanks, c3dlc2.

-[APi]TheMan
(Last edited by [APi]TheMan; Jun 22, 2005 at 09:23 AM. )
     
Fresh-Faced Recruit
Join Date: Mar 2006
Status: Offline
Reply With Quote
Mar 17, 2006, 05:19 AM
 
Would someone be kind enough to tell me how to make this thing run? I changed the config as told, by I'm totally lost.

freewaremac.net
     
Fresh-Faced Recruit
Join Date: Mar 2002
Status: Offline
Reply With Quote
Mar 17, 2006, 01:15 PM
 
kioshi,

I wrote about this on my blog, you can check it out at https://i.am.politicallydisturbed.com/drupal/node/31
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2