Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-13-2004, 02:52 PM   #1
Raptor Ramjet
Registered: Apr 2003
Location: Under a rock
Distribution: Slackware "current" - Praise "Bob" !!!!
Posts: 92

Rep: Reputation: 15
"perl Makefile.PL" complains about cc & gcc (self solved tip)


I've been playing around installing webmin and setting it up to use SSL. In doing so I was getting the following error message when I tried to install Net::SSLeay.

You have OpenSSL-0.9.7d installed in /usr/local/ssl
*** /usr/local/ssl/bin/openssl appears to be compiled with gcc (gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
) while perl is compiled with cc. Both must be compiled with the same compiler and flags. Mixing and matching compilers is not supported. at Makefile.PL line 137

So following a lot of Googling (which only yields 4 results.. 2 of which are questions as to how to get round the problem) I had a play and discovered that I could fix things simply by issuing a "make clean" in the Net:SSLeay source folder.

So in the interests of helping anyone else who finds this problem (not to mention the fact that I'll probably lose my notes at some point) I thought I'd just document the process I used.

This being the case the steps I took were:

download the tar.gz package to /tmp
cd /tmp
tar zxvf
make clean
make install

The end result of this being that I've not got SSL encryption working and I've learnt a bit about make clean.
Old 09-13-2004, 02:58 PM   #2
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Try install Net::SSLeay with cpan tool :
(as root)
# cd /root
# cpan
cpan > install Net::SSLeay
Old 09-13-2004, 03:24 PM   #3
Raptor Ramjet
Registered: Apr 2003
Location: Under a rock
Distribution: Slackware "current" - Praise "Bob" !!!!
Posts: 92

Original Poster
Rep: Reputation: 15
Thanks for the tip but I'd already tried that. Well I actually tried getting it from cpan via webmin but I was still getting the same error. But as I didn't previously know about cpan this is something else to find out about.

That's what I like about Slackware/Linux... there's always something new for me to foul up


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
About SElinux: enter "setenforce 0",system complains bad command aladin Linux - Software 3 08-21-2005 09:16 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
How to "Search & Replace" in html files using Perl? rebel Red Hat 8 04-09-2005 01:58 PM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 04:31 PM
Perl & "printer" setup joshb Linux - General 1 12-13-2002 05:50 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:47 PM.

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