LinuxQuestions.org
Visit Jeremy's Blog.
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 09-13-2004, 01:52 PM   #1
Raptor Ramjet
Member
 
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)


Hello,

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 Net_SSLeay.pm-1.25.tar.gz
cd Net_SSLeay.pm-1.25
make clean
perl Makefile.pl
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, 01:58 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
Try install Net::SSLeay with cpan tool :
(as root)
# cd /root
# cpan
cpan > install Net::SSLeay
 
Old 09-13-2004, 02:24 PM   #3
Raptor Ramjet
Member
 
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
 
  


Reply


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 08:16 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
How to "Search & Replace" in html files using Perl? rebel Red Hat 8 04-09-2005 12:58 PM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM
Perl & "printer" setup joshb Linux - General 1 12-13-2002 04:50 PM

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

All times are GMT -5. The time now is 03:10 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