Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
Hyphy installation fails, curl missing (Read 879 times)
fizban
YaBB Newbies
*
Offline


Curious HyPhy user

Posts: 1
Hyphy installation fails, curl missing
Oct 24th, 2012 at 11:55am
 
Hi!
On Ubuntu 11.10, I get the following error:
hyphyunixutils.cpp:11:23: fatal error: curl/curl.h: No such file or directory
Saw a previous post, tried changing the CMakeLists.txt file by changing to :
add_definitions(-D_SLKP_LFENGINE_REWRITE_ -D__AFYP_REWRITE_BGM__ -D__HYPHY_NO_CURL__)
This did not help, now I get
Linking CXX executable HYPHYMP
/usr/bin/ld: cannot find -lcurl

Any suggestions??
Thanks!!
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Hyphy installation fails, curl missing
Reply #1 - Oct 26th, 2012 at 8:57am
 
Hi there,

In CMakeLists.txt find the line

Code:
set(DEFAULT_LIBRARIES crypto curl dl pthread ssl)
 



and delete the 'curl' part.

Then rerun cmake ./ make MP2

Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged