HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> Hyphy installation fails, curl missing
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1351104949

Message started by fizban on Oct 24th, 2012 at 11:55am

Title: Hyphy installation fails, curl missing
Post by fizban on 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!!

Title: Re: Hyphy installation fails, curl missing
Post by Sergei on Oct 26th, 2012 at 8:57am
Hi there,

In CMakeLists.txt find the line

[code]
set(DEFAULT_LIBRARIES crypto curl dl pthread ssl)
[/code]

and delete the 'curl' part.

Then rerun cmake ./ make MP2

Sergei

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.