Error "Cannot find curl-config" might be appeared, asCurl is a little tricky for its two dev packages for TLS and OpenSSL. To solve this problem, determine which package do you need in your Ubuntu with command:apt-cache search libcurl3-dev, and then install it with command (sudo apt-get install ****).
Error "Cannot find xml2-config" may be occurred for install "XML" package. To install "xml2-config", using the command "sudo apt-get install libxml2-dev".
The "XMLRPC" package can be downloaded from http://www.omegahat.org/XMLRPC/. XMLPRC can be used for communicating between processes on a single machine or for accessing Web services from within R.
2) install Cytoscape (version 2.7 or higher) from here.