LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2009, 08:34 PM   #1
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
Problem compiling centerim, needs curl with ssl support


Hello,

I didnt see anything about this when I searched, so though I would ask.

I am trying to use the slackbuild for centerim, which stops as it needs curl with SSL support.

Does the slackware suppled curl not include ssl support? Or must I recompile it to include it?

edit:

Actually, I am having problems with libaries for a few other applications as well.

Ettercap needs libnet
rtorrent needs SIGC
smplayer needs qmake (or actually, command not found)
openvas-libaries needs gcrypt.h

How would I find these libraries for slackware, and tell if there is a slackware package availabe or not?

Last edited by Josh000; 12-16-2009 at 09:39 PM.
 
Old 12-16-2009, 09:40 PM   #2
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
AFAIK it's due to that curl itself no longer ships with certificates.

it's that the certs aren't there (Slack non-modified the upstream curl)

Perhaps a guru will step in and supplement and/or condense/reduce what I've offered here if necessary.

Probably not many people have need for it (for 1). And, 2, the old certs were outdated is one reason that the curl people stopped including certs as bundled with curl.

i forget now just how I got mine working. But I think I used a Perl script I downloaded from somewhere to create recent certs. And i think i recall using the slackware slackbuild and source for curl and built my own curl package, whereby I added/used an additional and relevent option to do with this, added said option into the slackbuild.

I Didn't know of the next when I got mine working but now I'm aware of the next.

http://rlworkman.net/pkgs/sources/13.0/ca-certificates/

--
Alan.
 
Old 12-17-2009, 11:51 AM   #3
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
there's more than one way to do this. here's a part of how I once did it (rebuilt curl **with pointer pointing to where my certs are) [those, the certs that *I* had created]. But beware, there may possibly be an easier way (than building curl *with* pointer to certs.).

curl 7_19_4 on Slack 12.2

next from my where I added a one liner into the build script

Code:
CFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --mandir=/usr/man \
  --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
       ^^^ added in that ^^ line at right there
--
Alan.
 
Old 12-17-2009, 01:02 PM   #4
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by Josh000 View Post
Actually, I am having problems with libaries for a few other applications as well.

Ettercap needs libnet
rtorrent needs SIGC
smplayer needs qmake (or actually, command not found)
openvas-libaries needs gcrypt.h

How would I find these libraries for slackware, and tell if there is a slackware package availabe or not?
http://slackbuilds.org
http://sbopkg.org
 
Old 12-17-2009, 06:06 PM   #5
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by zordrak View Post
Sigh.

I tried those sites first, and posted my question after realizing they were not useful for what I am asking.

Next time, try to actually say something rather than providing redundant links.
 
Old 12-17-2009, 09:42 PM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hi acummings,

Quote:
Originally Posted by acummings View Post
i forget now just how I got mine working. But I think I used a Perl script I downloaded from somewhere to create recent certs.
I would be flattered if you found that technique here:

http://www.andrews-corner.org/mutt.html#ssl

Andrew
 
Old 12-17-2009, 10:36 PM   #7
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
Quote:
I would be flattered if you found that technique here:

http://www.andrews-corner.org/mutt.html#ssl
Yes I'd found it there. And also on the curl site there used to be several choices, 1 of which was to make your own certs using a Perl script.

o.p. I just recalled some more: can make use of a command line switch when calling curl -- said switch in curl command in this case is the one that tells curl where the certs are. (no need to re build curl).

But I wasn't advanced enough at C programming to find where curl is called in the

http://esniper.sourceforge.net/

that I was using so I could change in its source code where it calls curl.

So, in my case, it was easier for me to rebuild curl to be with its own pointer to my certs.

What's *not* clear to me is if there exists a default within curl as far as a search path and/or a naming convention for the certs <- thus, that if I got the path and naming convention correct for my certs then curl would just find the certs (without rebuilding curl).

BTW the find command is very powerful:
Code:
root@P5Q:~# find / -iname '*libnet*'
/usr/man/man3/Net::libnetFAQ.3.gz
/usr/man/man3/libnetpbm.3.gz
/usr/man/man3/libnetlink.3.gz
/usr/man/man1/libnetcfg.1.gz
/usr/lib/libnetsnmpmibs.so.15
/usr/lib/libnetsnmp.so
/usr/lib/libnetapi.so.0
/usr/lib/libnetpbm.so.10.35
/usr/lib/java/lib/i386/libnet.so
/usr/lib/libnetsnmptrapd.so
/usr/lib/libnetsnmptrapd.la
/usr/lib/libnetsnmphelpers.la
/usr/lib/libnetsnmphelpers.so.15.1.2
/usr/lib/libnetpbm.so.10
/usr/lib/libnetsnmp.so.15.1.2
/usr/lib/python2.5/test/test_urllibnet.pyc
/usr/lib/python2.5/test/test_urllibnet.pyo
/usr/lib/python2.5/test/test_urllibnet.py
/usr/lib/libnetpbm.so
/usr/lib/libnetsnmp.la
/usr/lib/libnetsnmptrapd.so.15.1.2
/usr/lib/libnetapi.so
/usr/lib/libnetsnmpagent.so.15
/usr/lib/libnetsnmpmibs.so.15.1.2
/usr/lib/libnetsnmpmibs.la
/usr/lib/libnetsnmptrapd.so.15
/usr/lib/libnetsnmpmibs.so
/usr/lib/libnetsnmphelpers.so
/usr/lib/libnetsnmp.so.15
/usr/lib/libnetsnmphelpers.so.15
/usr/lib/libnetsnmpagent.so
/usr/lib/perl5/5.10.0/Net/libnetFAQ.pod
/usr/lib/libnetsnmpagent.so.15.1.2
/usr/lib/libnetsnmpagent.la
/usr/bin/libnetcfg
/usr/include/xfce4/libxfcegui4/libnetk.h
/opt/openoffice.org/basis3.1/program/python-core-2.6.1/lib/test/test_urllibnet.py
/root/.cpan/build/perl-5.8.9-8LRFGg/utils/libnetcfg.PL
/root/.cpan/build/perl-5.8.9-8LRFGg/lib/Net/t/libnet_t.pl
/root/.cpan/build/perl-5.8.9-8LRFGg/lib/Net/libnetFAQ.pod
/root/.cpan/build/CPAN-1.9301-ND6rT7/distroprefs/GBARR.libnet.yml
/root/.cpan/build/CPAN-1.9301-ND6rT7/distroprefs/GBARR.libnet.dd
root@P5Q:~#
--
Alan.
 
Old 12-18-2009, 04:25 AM   #8
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by Josh000 View Post
Sigh.

I tried those sites first, and posted my question after realizing they were not useful for what I am asking.

Next time, try to actually say something rather than providing redundant links.
Wow, way to be aggressive.

Let's step through this, mmk?

Quote:
Originally Posted by Josh000 View Post
Actually, I am having problems with libraries for a few other applications as well.
<cut>
How would I find these libraries for Slackware, and tell if there is a slackware package availabe or not?
You ^find these libraries for Slackware^ via http://slackbuilds.org. A package will be available when you build one using the SlackBuilds which takes very little time.

The time is further reduced with the use of sbopkg which will build AND install them for you in any order you desire.

Anything that's already *in* Slackware can be found with a simple "slackpkg info" command.

Quote:
Originally Posted by Josh000 View Post
Ettercap needs libnet
http://slackbuilds.org/repository/13...k/ettercap-NG/
http://slackbuilds.org/repository/13...raries/libnet/

Quote:
Originally Posted by Josh000 View Post
rtorrent needs SIGC
http://slackbuilds.org/repository/13...work/rtorrent/
http://slackbuilds.org/repository/13...es/libtorrent/
http://slackbuilds.org/repository/13...ies/libsigc++/

Quote:
Originally Posted by Josh000 View Post
smplayer needs qmake (or actually, command not found)
http://slackbuilds.org/repository/13...edia/smplayer/
qmake is part of qt which is part of Slackware:
Code:
$ slackpkg info qt
PACKAGE NAME:  qt-r1008952-i486-1.txz
PACKAGE LOCATION:  ./slackware/l
PACKAGE SIZE (compressed):  41172 K
PACKAGE SIZE (uncompressed):  102480 K
PACKAGE DESCRIPTION:
qt: Qt (a multi-platform C++ graphical user interface toolkit)
qt:
qt: Qt is a complete and well-developed object-oriented framework for
qt: developing graphical user interface (GUI) applications using C++.
qt:
ftp://ftp.slackware.com/pub/slackwar...952-i486-1.txz

Quote:
Originally Posted by Josh000 View Post
openvas-libaries needs gcrypt.h
http://slackbuilds.org/repository/13...vas-libraries/
gcrypt is part of libgcrypt which is part of Slackware:
Code:
$ slackpkg info libgcrypt
PACKAGE NAME:  libgcrypt-1.4.4-i486-1.txz
PACKAGE LOCATION:  ./slackware/n
PACKAGE SIZE (compressed):  396 K
PACKAGE SIZE (uncompressed):  1520 K
PACKAGE DESCRIPTION:
libgcrypt: libgcrypt (General purpose crypto library)
libgcrypt:
libgcrypt: Libgcrypt is a general purpose crypto library based on the code
libgcrypt: used in GnuPG.
libgcrypt:
ftp://ftp.slackware.com/pub/slackwar...4.4-i486-1.txz
 
Old 12-18-2009, 04:32 AM   #9
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Hey thanks zordrak.

I did actually figure it, I just didn't post yet.

I got centerim working by adding disable-yahoo as a configure option, which may be useful for others.

Also, I did not mean to be agresive, so I am sorry for that.

Cheers
 
Old 12-18-2009, 04:42 AM   #10
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by Josh000 View Post
Hey thanks zordrak.

I did actually figure it, I just didn't post yet.

I got centerim working by adding disable-yahoo as a configure option, which may be useful for others.
The SlackBuild for CenterIM on SlackBuilds.Org by nyRednek seems to work fine as it is for me on Slackware64-13.0.

As built by sbopkg:

Code:
+++++++++++++++++++++++++++++++++++++++++++
PACKAGE BUILDING/INSTALLATION SUMMARY LOG
Using the SBo repository for Slackware 13.0
Queue Process:  Build only

centerim:
  MD5SUM check for centerim-4.22.8.tar.gz ... OK
  Building package centerim-4.22.8-x86_64-1_SBo.tgz ... OK

+++++++++++++++++++++++++++++++++++++++++++
Nonetheless, thank you for posting the solution to your problem so that others may find it.

Quote:
Originally Posted by Josh000 View Post
Also, I did not mean to be agresive, so I am sorry for that.
That's ok.
 
Old 12-18-2009, 05:12 AM   #11
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by zordrak View Post
The SlackBuild for CenterIM on SlackBuilds.Org by nyRednek seems to work fine as it is for me on Slackware64-13.0.

Hmm, why do you think it failed on mine? I had curl installed...is there some supplementary package that relates to curl and ssl certificates?

Very strange.
 
Old 12-18-2009, 05:15 AM   #12
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
Difficult to say. Would at least need to see the config log.
 
Old 12-19-2009, 12:09 AM   #13
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
OK, this is the strangest thing.

I downloaded the slackbuild and source again to replicate the error so I could post the config.log, and now it works fine. Without having to --disable-yahoo

I installed 4 extra packages in total, libsigc++, libnet, pygobject and python-dbus, the last 2 from the slackware dvd.

centerim uses none of these packages, so I am surprised and confused as to why this is now working. I would really like to work out how this is possible :S

edit: I wonder if this would have anything to do with logging out and then in again, but as it was checking for files I should think not...

Last edited by Josh000; 12-19-2009 at 12:38 AM.
 
  


Reply



Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cURL FTP SSL oneilldavidj Linux - Newbie 2 11-04-2009 11:59 AM
Compiling psyBNC with SSL support 321 Debian 2 04-13-2008 08:41 PM
stuck with php/curl and SSL certificates chr15t0 Programming 2 05-20-2005 06:10 AM
Problem getting ssl support with links 2 SBGLinux Linux - Software 1 09-05-2004 01:54 PM
Problems compiling php with imap, ssl... support tveiga Linux - Software 1 01-16-2004 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration