12-18-2014
The idea is more get GCC working even if not the latest, because believe me it is not that obvious to compile from scratch with all the dependencies...
Even with HP depot you will have to solve the dependencies in some cases, like gcc.. that is why I gave you what you need to install first and in that order.. once you have a GCC compiler working ist up to you after if you wish to install from sources but if you never have done such, it it wise to start and have something that works, lest say you managed to install gcc by other means, when you will be trying to compile a new product and see something go wrong when you have typed "configure", wherewill you start searching? could it be you are missing C libraries? some dependencies form other sources? (It happens to me now I have no more HP (shame...) and see copies (yes...) of binaries on AIX where depending what I do, fail, and I have to trace EVERYTHING to see what is missing and spend weeks to get all working, because yes it can work and suddenly you compile using THE library from a dependency you did not need at the beginning and you are done...
So get your environment working first with ALL the needed tools to achieve your goals, then with peace of mind, you know when installing, failures are of other nature than missing a bit of soft ( well could be $PATH etc but you know you have it somewhere...) in most cases after its a question of ENV... ( and very rarely but could happen: kernel parameters...)
This User Gave Thanks to vbe For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have heard that bz2 compression a relatively new compression encoding algorithm, far superior to tar and gz. I also remember that I downloaded a FreeBSD LiveCD a while back that was only a couple hundred megs instead of the usual 650ish using bz2 - big difference, I'd say. But to the point, what... (4 Replies)
Discussion started by: Phobos
4 Replies
2. UNIX for Advanced & Expert Users
hi
could any body tell me how to extract .tar.bz2 files
i tried using tar but in vain.
i found bzip2 in googling but i could not find it on machine unix tru64
please suggest. (1 Reply)
Discussion started by: Raom
1 Replies
3. Shell Programming and Scripting
Hello,
I am using a bash script to archive directories of text files located in ${root}:
tar cf ${root}.tar ${root}*
bzip2 ${root}.tar
I'd like to compare the newly produced archive two.tar.bz2 with the second latest one.tar.bz2.
cmp one.tar.bz2 two.tar.bz2
returns
one.tar.bz2 two.tar.bz2... (2 Replies)
Discussion started by: JCR
2 Replies
4. Solaris
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies
5. Shell Programming and Scripting
Hi,
I am trying to unpack and install .tar.bz2 library.
I was told to cd /
and than tar -jxvf /source-of-library-file?...tar.bz2
to get files unpacked and installed into /
Darius
$ pwd
/
$
$ tar -jxvf /tmp/local/root/ncurses-dev-addon.tar.bz2
ncurses-dev-addon/... (3 Replies)
Discussion started by: jack2
3 Replies
6. Shell Programming and Scripting
How to open a .bz2 file in unix. (1 Reply)
Discussion started by: pritish.sas
1 Replies
7. UNIX for Dummies Questions & Answers
I have a file having name smthing.tar.bz2-00
I am trying to unzip it using
tar -xvjf "name"
But I am not able to unzip it.
PLease advise for the issue. (3 Replies)
Discussion started by: nixhead
3 Replies
8. Shell Programming and Scripting
Hi experts,
I have two tar.bz2 file,:
a.tar.bz2 and b.tar.bz2
I want to put a.tar.bz2 in to b.tar.bz2
eg: b.tar.bz2 only have one file named "b.c" contained
I want it contain "b.c and a.tar.bz2"
I don't want to decompress the b.tar.bz2 to achieve this, I try with "cat a.tar.bz2 >>... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
9. UNIX and Linux Applications
Does anyone know a reliable source to download firefox-19.0.2.tar.bz2 from? I would think you be able to download from firefox or mozilla somewhere. I haven't gotten anything useful from my google searches. (2 Replies)
Discussion started by: cokedude
2 Replies
10. Programming
I am using aria2c to download a .tar.bz2 and trying to extract it in the same command. I can download the file but not extract it. I can also manually extract the tar.bz2., but not in the same command. Thank you :).
aria2c -x8 -l log.txt -c -d /xx/xx/xxx --use-head=true --http-user "<user>" ... (8 Replies)
Discussion started by: cmccabe
8 Replies
LEARN ABOUT DEBIAN
carton-faq
CARTON-FAQ(1p) User Contributed Perl Documentation CARTON-FAQ(1p)
NAME
carton-faq - Frequently Asked Questions
QUESTIONS
It looks useful, but what is the use case of this tool?
The particular problem that carton is trying to address is this:
You develop a Perl web application with dozens of CPAN module dependencies. You install these modules on your development machine, and
describe these dependencies in your Makefile.PL or some other text format.
Now you get a produciton environment on Cloud PaaS provider or some VPS, you install the dependencies using "cpanm --installdeps ." and it
will pull all the latest releases from CPAN as of today and everything just works.
A few weeks later, your application becomes more popular, and you think you need another machine to serve more requests. You set up another
machine with vanilla perl installation and install the dependencies the same way. That will pull the latest releases from CPAN on that
date, rather than the same as what you have today.
And that is the problem. It's not likely that everything just breaks one day, but there's always a chance that one of the dependencies
breaks an API compatibility, or just uploaded a buggy version to CPAN on that particular day.
Carton allows you to lock these dependencies into a version controlled system, so that every time you deploy from a checkout, it is
guaranteed that all the same versions are installed into the local environment.
How is this different from DPAN or CPAN::Mini::Inject?
First of all, if you currently use DPAN, CPAN::Mini::Inject, Shipwright or any other similar tools successfully, then that's totally fine.
You don't need to switch to carton.
If you experience difficulties with these tools, or are interested in what could be better in carton, keep on reading.
carton definitely shares the goal with these private CPAN repository management tool:
o Manage the dependencies tree locally
o Take snapshots/lock the versions
o Inject private modules into the repository
Existing tools are designed to work with existing CPAN clients such as CPAN or CPANPLUS, and have accomplished that by working around the
CPAN mirror structure.
carton internally does the same thing, but its user interface is centerd around the installer, by implementing a wrapper for cpanm, so you
can use the same commands in the development mode and deployment mode.
Carton automatically maintains the carton.lock file, which is meant to be version controlled, inside your application directory. You don't
need a separate database or a directory to maintain tarballs outside your application. The carton.lock file can always be generated out of
the local library path, and carton can reproduce the tree using the lock file on other machines.
I'm already using perlbrew and local::lib. Can I use carton with this?
If you're using local::lib already with perlbrew perl, possibly with the new "perlbrew lib" command, that's great! There are multiple
benefits over using perlbrew and local::lib for development and use Carton for deployment.
The best practice and workflow to get your perl environment as clean as possible with lots of modules installed for quick development would
be this:
o Install fresh perl using perlbrew. The version should be the same against the version you'll run on the production environment (if
any).
o Once the installation is done, use "perlbrew lib" command to create a new local lib environment (let's call it devel) and always use
the library as a default environment. Install as many modules as you would like into the devel library path.
This ensures to have a vanilla "perl" library path as clean as possible.
o When you build a new project that you want to manage dependencies via Carton, turn off the devel local::lib and create a new one, like
carton. Install Carton and all of its dependencies to the carton local::lib path. Then run "carton install" like you normally do.
Because devel and carton are isolated, the modules you installed into devel doesn't affect the process when carton builds the
dependency tree for your new project at all. This could often be critical when you have a conditional dependency in your tree, like
Any::Moose.
perl v5.14.2 2012-05-18 CARTON-FAQ(1p)