Creating a C ++ project on the Linux platform (or, more specifically, building CLIPS on Ubuntu 9.10)

I am switching from XP to Linux. (I'm new to Linux)

I have successfully installed CLIP on Ubuntu using SPM. However, I would like to build CLIPS from sources - as I will extend its current functionality.

I downloaded CLIPS sources (v6.2.4) from http://sourceforge.net/projects/clipsrules/files/CLIPS/

to my / home / morpheous / projects / CLIPS folder, and now I want to create it. However, I am new to gnu creation tools and am doing (I have already done sudo aptitude install build-essential).

Can anyone offer any help / instructions on how I can create CLIPS (I suspect I might need to build an X11 interface as well), but now this is a lower priority)

+3
source share
2 answers

Typically, you use make to create applications from sources, almost all C / C ++ applications provide a make file that describes what and how to create it.

In general, you would have typed

./configure
make
make install

They will:

  • run the configure script shell to set up your build environment by installing things like the processor and OS you are using.
  • use the standard makefile that comes with the project to create the source code.
  • use the special “install” target in the makefile to copy the necessary files to their final resting places.

Edit: Here is a brief description of the process from the Linux Documentation.

, (.. yum apt-get), , . , (, ), - - xxx-devel, . "kernel-devel", yum install kernel-devel , , .

+3

Ubuntu (Debian) :

apt-get source clips
apt-get build-dep clips
cd clips-6.24
dpkg-buildpackage

, , :

./configure
make install
+1

Source: https://habr.com/ru/post/1721693/


All Articles