LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-02-2009, 02:24 AM   #1
Navdeep
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.


Regards,
 
Old 03-03-2009, 02:08 PM   #2
T74marcell
Member
 
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.

----------
T74marcell

Arch Linux

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


Reply



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 01:16 PM
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 02:13 AM
Steps needed to convert multiple text files into one master text file jamtech Programming 5 10-07-2007 11:24 PM
Help needed in make file harish_oty Linux - Newbie 1 10-05-2007 10:03 AM
mrproper deletes file needed by make awolbush Mandriva 2 02-19-2006 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:06 PM.

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