Use automake to prepare for compilation steps mount: RPC: unable to receive; errno = connection refused solution mount: 192.168.70.1

Source: Internet
Author: User
Tags automake sharpdevelop

After automake is installed, Klaus @ Ubuntu:/mnt/HGFS/Lane/lane $ automake configure. in: 14: Version mismatch. this is automake 1.11.3, configure. in: 14: But the definition used by this am_init_automake configure. in: 14: comes from automake 1.9.6. you shoshould recreate configure. in: 14: aclocal. m4 with aclocal and run automake again. which means what we need to do. Step 1: Use autoscan to generate a configure. in prototype. After autoscan is executed, a configure is generated. The. Scan file can be used as the blueprint for the configure. In file. Step 2: Execute aclocal Autoconf to execute aclocal and Autoconf. The aclocal. M4 and configure files will be generated separately and then execute: automake -- add-missing and finally execute:./configure
For more detailed examples, refer to other information on the Internet. Here we only record the basic process.

192.168.70.58 :~ # Mount-O nolock 192.168.70.178:/emrc-ETC/mnt/EMRC-ETC mount: RPC: unable to receive; errno = connection refused mount: mounting 192.168.70.178: /emrc-etc on/mnt/EMRC-ETC failed: Bad file descriptor
Because portamp is not installed, you need apt-Get install nfs-kernel-server and then/etc/init. d/Portmap restart.

Use exportfs-. If not. Edit the content under VI/etc/exports and write it as:/root/* (RW, sync). Note that root is the root directory. * It means all hosts. You can also write www.xxx.com or something like that. If it is an IP address, it will be resolved to the host name. If there is no host name, you will be prompted that you do not have the permission. The best method is *, if necessary. Then you can use the host name.

 

 

Below is my

Mount-O nolock 192.168.70.178:/root/EMRC-ETC/mnt/EMRC-ETC

 

Finally, the most important thing is.

Chmod 777 EMRC-ETC/

Otherwise, files cannot be written or created on the Development Board.

First download to the latest source code in https://nodeload.github.com/ecere/sdk/tarball/master

After decompression, make

Shown as follows:

Bootstrapping EC compiling tools... building ecere... building EC... building ECP... building ecc... building ECs... all done! Building dependencies... building libungif... building 2nd stage ecere... src/sys/eararchive. EC: 4: 18: Fatal error: zlib. h: The file or directory compilation is not interrupted.

Problem started

I. Fatal error: zlib. H: No file or directory

Execute sudo apt-Get install zlib1g-dev

Ii. Fatal error: unzip Lib. h: There is no file or directory to execute sudo apt-Get install libjpeg-Dev

3. Fatal error: PNG. H: No file or directory

Run sudo apt-Get install libpng

4. Curses. h: the file or directory does not exist.

Sudo apt-Get install libncurses5-dev

5. Fatal error: ft2build. H: No file or directory

Sudo apt-Get install libxft2-dev

Six fatal errors: Gl/Glx. H: No file or directory and fatal error: X11/extensions/shape. H: No file or directory

Sudo apt-Get install libgl1-mesa-dev

7. If an ln error is reported, it is because the file system you use is Windows rather than Linux, because the Windows file system does not support ln. Note, you may be using a Windows File System shared by a virtual machine or mounted to it. The solution is to transfer the video to the Linux File System.

8. Fatal error: sqlite3.h: No file or directory

 

Finally, if the compilation content is displayed:

Bootstrapping EC compiling tools... building ecere... building EC... building ECP... building ecc... building ECs... all done! Building dependencies... building libungif... building 2nd stage ecere... building ear command line tool... building vanilla ecere... building ear... building self-extract tool... building ear command line tool... building 2nd stage compiler Building 2nd stage libec... /home/Klaus/ecere-sdk-36e91de/Compiler/libec/obj/release. linux/EC. main. EC: 605: 1: Warning: redefinition of sourcefilestack (defining as char [10] [max_location], already defined as char [max_include_depth] [max_location]) Building 2nd stage ECP... building 2nd stage ecc... building 2nd stage ECs... building EC core runtime... enabling 2nd stage binaries... building ide... building epj2make... building generator entor... building Eda... building ecere data access layer... building edasqlite driver... the ecere SDK is fully built.

 

The description is OK.

 

I. First compilation and adjustment Code 2. I will use this tool to fix the problem of generating codedom code for generics. If you need to modify the code, it will be modified and improved in time. If you are interested, you can participate. Http://codedomassistant.codeplex.com/
Generating codedom code by parsing C # Or VB use C # Or VB to generate codedom code

Introduction
I find writing codedom code kind of like writing assembly. it's like cutting the grass with a pair of scissors or unloading a truck load of sand with a spoon. its long winded, it can be done, but it is tedious. however, there are advantages in using codedom.
Now, it wocould be nice if you cocould whip up a class in VB or C # and generate the codedom code. codedom assistant does this with the help of sharpdevelop's nrefactory library in conjunction with writing our own codedomprovider to generate C # codedom code. the code you get will construct a codedom compileunit, and it will definitely be uugly. but what can you expect CT from a machine?
Background
Code generation can be done using various techniques. In essence, code generation saves time, and enables you to create code using established patterns.
In the world. net, one technique is to use codedom. it allows you create a Document Object Model of the Code. this can by either compiled into an assembly or used to generate code. every. net Language shoshould have an implementation of a codedomprovider to generate code. the problem is that codedom does not implement every syntax construct of every language. in essence, it is a subset, but there are enough operations to emulate most language constructs.
Parsing C # Or VB is going to be the toughest part, but luckily one of sharpdevelop's little libraries is nrefactory. this has the machinerary required to parse C # Or VB code. the key component for us is the codedomvisitor class. sadly, it is only a partial implementation. they implement enough to run sharpdevelop's form generation. I am not saying I have completed the implementation, rather, I have filled most of the holes in the codedomvisitor.
The second part is implementing a codedomcodeprovider. This will take a codedom compile unit and generate C # code that will create a codedom compile unit.
License This article has no explicit license attached to it but may contain in usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
About the old version author
Raygilbert Http://www.codeproject.com/Articles/20597/CodeDom-Assistant Http://www.codeplex.com/Download? Projectname = codedomassistant & downloadid = 381289 Http://download.codeplex.com/Download? Projectname = codedomassistant & downloadid = 381290
About New Version author mysticboy Http://www.mysticboy.cn

 

Original article:

Codedom assistant codedom powerful tool, some bug fixes, sent to codeplex http://www.xjiter.com/forum.php? MoD = viewthread & tid = 86 & fromuid = 1

First, press ALT and then press f2 to open a runtime box and enter gnome-terminal. To install SSH, enter the following content in the command line. The result of sudo apt-Get install OpenSSH-server is as follows:

Klaus @ Ubuntu :~ $ Sudo apt-Get install OpenSSH-server [Sudo] password for Klaus: Reading the package list... the dependency tree of the software package being analyzed is reading status information... the following software packages are automatically installed and are not required now: kde-l10n-de language-pack-KDE-de language-pack-KDE-en language-pack-de-base language-pack-KDE-ZH-Hans language-pack-KDE-en-Base kde-l10n-engb language-pack-KDE-de-base kde-l10n-zhcn Firefox-locale-de language-pack-KDE-ZH-Hans-base use 'apt-Get autoremove' To uninstall them, the following additional software packages will be installed: The software packages recommended for ssh-import-ID installation: rssh Molly-guard openssh-blacklist-extra monkeysphere the following [new] software packages will be installed: OpenSSH-server ssh-import-ID has been upgraded to 0 software packages, two new software packages are installed. 0 software packages are to be uninstalled, and 0 software packages are not upgraded. Download the 348 KB software package. After decompression, 891 KB of extra space will be consumed. Do you want to continue? [Y/n] y get: 1 http://us.archive.ubuntu.com/ubuntu/ precise/main openssh-server i386. 9p1-5ubuntu1 [342 KB] Get: 2 http://us.archive.ubuntu.com/ubuntu/ precise/main ssh-import-Id all 2.10-0ubuntu1 [6,598 B] Download 348 KB, 3 seconds (103 kb/s) configuring the software package... selecting previusly unselected package openssh-server. (Reading database... the system currently has 217832 files and directories installed .) Decompressing openssh-server (from... openssh-server_1 % 3A5. 9p1-5ubuntupolici386.deb )... selecting previusly unselected package ssh-import-id. extracting ssh-import-ID (from... /ssh-import-id_2.10-0ubuntu1_all.deb )... processing the trigger for ureadahead... processing the trigger for UFW... processing the trigger for man-DB... setting openssh-server. 9p1-5ubuntu1 )... creating SSH2 RSA key; this may take some time... creating SSH2 DSA key; this may take som E time... creating SSH2 ECDSA key; this may take some time... SSH start/running, process 17151 is setting ssh-import-ID (2.10-0ubuntu1 )... klaus @ Ubuntu :~ $

 

 

 

Then use securecrt. link. The result is as follows:

 

Welcome to Ubuntu 12.04 lts (GNU/Linux 3.2.0-25-generic-pae i686)

* Documentation: https://help.ubuntu.com/

The programs encoded with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in/usr/share/doc/*/copyright.

Ubuntu comes with absolutely no warranty, to the extent permitted by applicable law.

Klaus @ Ubuntu :~ $

 

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.