Install gsoap in Ubuntu 10.4

Source: Internet
Author: User
Tags install openssl openssl library
In this article, all programs are developed in Linux and can run normally after testing.
In the development process, we need to use gsoap, which can be downloaded from the following URL:
What I download is gsoap_2.7.12.tar.gz http://www.cs.fsu.edu /~ Download Engelen/soap.html, decompress it, and compile and install it according to the normal installation process. # Tar zxvf gsozp_2.7.12.tar.gz
# Cd gsoap_2.7.12
#./Configure -- prefix =/usr/local/gsoap (specify the installation path)
# Make
# Make install

Install the following compilation tools

Install the compilation tool:

$ Sudo apt-Get install build-essential

To successfully compile gsoap, you must install the GTK + Development file and the glib Library (Libraries ).

$ Sudo apt-Get install libgtk2.0-dev libglib2.0-Dev

Install checkinstall to manage software that is directly compiled and installed by source code in your system.

$ Sudo apt-Get install checkinstall

Gsoap source code: http://gsoap2.sourceforge.net/(download in the page)

 

The problems and solutions are as follows:

Problem 1:
Make [4]: Entering directory '/home/Titus/opencomponent/gsoap-2.8/gsoap/src'
/Bin/bash http://www.cnblogs.com/ylwrap soapcpp2_yacc.y. Tab. c soapcpp2_yacc.c Y. Tab. h soapcpp2_yacc.h Y. Output soapcpp2_yacc.output -- YACC-D-V
Http://www.cnblogs.com/ylwrap: line 111: YACC: Command not found
Make [4]: *** [soapcpp2_yacc.c] Error 1

Cause:
Not Installed: YACC (yet another compiler) is a compiler (compiler code generator) used to generate the compiler on Unix/Linux ).

Solution:
Sudo apt-Get install flex bison

Problem 2:
Http://www.cnblogs.com/gsoap/stdsoap2.h:695: fatal error: OpenSSL/Bio. H: No file or directory
Compilation terminated.
Make [5]: *** [wsdl2h] Error 1

Cause: the header file of OpenSSL is missing.

Solution:
Sudo apt-Get install OpenSSL
To install the common OpenSSL library files, run the following command to determine the application version of the library files available in the Ubuntu system:
Sudo apt-cache search libssl | grep SSL
Sudo apt-Get install libssl-Dev

 

Note that the Chinese path cannot be installed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.