?
Solved

make install

Posted on 2007-04-04
2
Medium Priority
?
264 Views
Last Modified: 2010-04-20
mkdir Test-n.m-build
cd Test-n.m-build
../Test-n.m/configure --prefix=installdir
make
make check
make install

what is those, i have a C++ code and need to make somthing installer above for that C code. how to do that, i have no idea. can anyone pls help me?
0
Comment
Question by:marchent
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 1000 total points
ID: 18849501
man mkdir
man cd
man make
configure is a script that get the appropriate configuration options for your environment to build a makefile
0
 
LVL 6

Assisted Solution

by:_iskywalker_
_iskywalker_ earned 1000 total points
ID: 18849672
there are lots of installation strategies, most common are: Imakefile, configure, SConstruct.
Imakefile is outdated and was used for X
SConstruct is a nice python implementation of configure
configure are the standard of art nowadays.
Configure depends on some files:
autogen.sh
configure.in
Makefile.am
Makefile.in

autogen.sh
from configure.in it creates a script named configure. The exactly syntax from configure.in you can take from tutorials but also from other projects.

configure
configure make some test, like compiling files with libraries or flags, linking packages, etc. it then creates from Makefile.am and Makefile.in a Makefile.

Normally you need just to create MAkefile.am and configure.in, the autogen.sh has normally 3 lines (automake, autoconf and someother normal script). Makefile.am is based normally on the Makefile of your configuration plus some key flags and conditions to adapt it to the target system. in configure.in is the most work to be done. There you must specify which autoconf version is needed, which libraries do you need and include flies, where to install (this can  be also made in Makefile.am) and show some info about the options chossen.
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question