Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-02-2009, 03:24 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Needed Make File Steps.....

Hi All,

I have one package and it requires lot of different packages installation
like CRYPT::SSLEay etc.

For that we made the make file and it searches the local directory that if version is found and ok then don't install the package otherwise search for CPAN site and try to locate the package there .

let the package is not found in CPAN site so our installation quits.

Now we needed to bundle all packages in tar file and extract the same tar file in local directory that tar fie consist of all packages required.

If we try to install the make file then it looks at local directory if not already installed then program search in the extracted tar file and install the required package only.

So please tell me steps or any suggestions.

Old 03-03-2009, 03:08 PM   #2
Registered: Mar 2009
Posts: 102

Rep: Reputation: 18
Your posting is a bit confusing. It mixes makefiles (something that is executed by the make tool) with Perl bundles, mostly provided by CPAN. It is certainly possible to use make as a quasi-installer, but it will be much more efficient to use some script file to do the job. Bash is one alternative for this, but since this whole thing seems to be very Perl-centered, you should even more consider a Perl script.

The script basically will uncompress/unpack the tar file to some known location, and then runs the appropriate method of installation. The appropriate method depends on the type of software to be installed. For Perl packages obviously CPAN.


Arch Linux

Last edited by T74marcell; 03-14-2009 at 01:43 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed for using awk to parse a file to make array for bash script tallmtt Programming 12 04-14-2012 02:16 PM
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 03:13 AM
Steps needed to convert multiple text files into one master text file jamtech Programming 5 10-08-2007 12:24 AM
Help needed in make file harish_oty Linux - Newbie 1 10-05-2007 11:03 AM
mrproper deletes file needed by make awolbush Mandriva 2 02-19-2006 01:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration