LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-29-2011, 06:14 AM   #1
zhaozhou
LQ Newbie
 
Registered: Oct 2009
Location: Sweden
Distribution: Gentoo
Posts: 23

Rep: Reputation: 1
Trying to cross compile wvstreams, can't find openssl.


I'm trying to cross compile wvdial to ARM, wvdial needs wvstreams and wvstreams need openssl and zlib. I've managed to cross compile openssl 1.0.0d;

Code:
# export CC=armv5tel-redhat-linux-gnueabi-gcc
# export RANLIB=armv5tel-redhat-linux-gnueabi-ranlib
# export AR=armv5tel-redhat-linux-gnueabi-ar
# export CXX=armv5tel-redhat-linux-gnueabi-c++
# ./Configure linux-armv4 --prefix=/opt/arm
...
Configured for linux-armv4.
# make
...
# make install
...
But, when I try to compile wvstreams, the configure script can't find openssl.

Code:
# export CFLAGS="-I /opt/arm/include/openssl -I /opt/arm/include"
# ./configure --host=arm-linux-gnu --prefix=/opt/arm
...
configure: error: Required dependencies missing: OpenSSL>=0.9.7 zlib
I figure if I can solve the openssl dependency I can solve the zlib dependency.

Thanks for any help!
 
Old 03-29-2011, 06:21 AM   #2
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Can you locate a zlib-devel package? You normally need the *-devel versions of dependencies as well, when you build from source.
 
Old 03-29-2011, 06:42 AM   #3
zhaozhou
LQ Newbie
 
Registered: Oct 2009
Location: Sweden
Distribution: Gentoo
Posts: 23

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by jschiwal View Post
Can you locate a zlib-devel package? You normally need the *-devel versions of dependencies as well, when you build from source.
Well, no, I haven't found any. But I'd like to resolve the OpenSSL issue first, then go about fixing zlib, that way I know what I'm doing wrong.
But since I'm standing still here, I'll try to download zlib and cross compile that, see if that works better.
 
Old 03-29-2011, 06:58 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,608

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Hi,

Looks like you need to add "shared" in the openssl ./Configure script options, so it builds the shared openssl libraries, as they don't build by default.

HTH
 
  


Reply

Tags
arm, compile, openssl, wvdial


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Curl module with openssl spazmatic Linux - Newbie 0 04-07-2009 08:45 PM
How to compile OpenSSL under Solaris 8? johncsl82 Solaris / OpenSolaris 3 02-06-2009 05:55 AM
PostgreSQL and openssl don't compile right zecster Linux - Software 1 04-18-2006 10:48 PM
Apache Openssl compile fails rioguia Linux - Software 2 11-07-2003 08:13 AM
wvstreams & openssl bvc Linux From Scratch 3 03-24-2003 03:10 AM


All times are GMT -5. The time now is 01:35 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration