LinuxQuestions.org
Review your favorite Linux distribution.
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 08-24-2003, 08:09 PM   #1
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Gentoo
Posts: 1,372

Rep: Reputation: 47
install destination simple question


I am working on a script which I will post later that will automatically take a directory of sources and make packages for each one unattended. it should be able to do it for most standard perl, python, c++ and other types of sources.

I know that when you want to install a source that uses a configure/makefile style to a temp directory to make it into a package you do it this way:
./configure --prefix=prefix
make
make install DESTDIR=tempdir

then you can make a package from that directory and how differs by weather you use rpm, tgz or deb.

I need to know how to do this for python, perl and any others anyone knows about. I will post the script afterwords and it is mostly complete and works well.

also I was going to do it for slack, but if someoen will post what command to issue to make the directory into a deb or rpm package (I know slack already) I will add an option to make everything into that kind of package.

if you are wondering how such a script can be useful imagine this:

if you want mplayer and every possible support feature etc.. you need to download, compile and install around 100 programs, it takes me about 1 hour to install it using a script then going in and compiling the perl and python by hand, with this it will be unattended and you can save the packages for next time you need them.

if anyone has any of this information please post it, and am sure there are similar scripts out there, but I would rather use my own because of the format, I want it to be powerful for high end users, yet newbie safe.
 
  


Reply


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
Ubuntu Fluxbox simple question, simple answer? generallimptoes Linux - Software 3 09-26-2005 03:03 PM
apt-get install - simple question jobano Debian 1 10-12-2004 12:40 PM
Blindlingly simple Question: How do I install ALSA? Krenn Slackware 4 03-30-2004 05:49 PM
Really simple 9.2 install question BrianK Mandriva 4 01-10-2004 08:03 PM
Simple Kde theme install question. wh33t Mandriva 1 11-08-2003 01:05 AM


All times are GMT -5. The time now is 07:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration