02-02-2005
You can't do that. swinstall must install stuff in the intended directory. The idea of a target is so you can remote mount the entire filesystem of another host and install using, say, /remote/anotherbox/root/ as a target. Then when sign on to anotherbox, gcc would still be in /usr/local/. You need to let swinstall install gcc in /usr/local. You can first make /usr/local a symbolic link or a loopback mount to another place, but these must be permanent. gcc needs to know where it will reside at build time and will try to find stuff in /usr/local. After the install, you can symlink it elsewhere if you really must.
To install gcc elsewhere, you will need to download the gcc source code and install it yourself. This won't work with /usr/bin/cc which is an old pre-ansi K&R C compiler. You will need to obtain HP's Ansi-C compiler.
10 More Discussions You Might Find Interesting
1. HP-UX
I am having trouble installing some HPUX patches on my B1000 11.11. I am a novice
at this so bear with me. I understand how to install depots. Very easy.
Now I'm trying to patch my system so I can get the Oracle client installed.
Oracle says I need these two patches: PHCO_23770, PHCO_23092
I... (4 Replies)
Discussion started by: natter
4 Replies
2. HP-UX
HI
I am new on unix admin. I would like to know, if it is possible to
a. install the patch (like phss_25277) during normal business hours and
b. reboot the server during off peak hours on a production box
c. what is the normal practise for the patch installs on hp-ux (PA-RISC, B.11.11)... (6 Replies)
Discussion started by: schilukuri
6 Replies
3. HP-UX
Our company recently purchased a couple of rp3440 machines. They arrived with HPUX 11.11 installed. The default setup has /lib as a symbolic link to /usr/lib.
I wanted to use some of the enhanced features of GNU softare, so I went to the HP-UX Porting and Archive center and downloaded the Core... (2 Replies)
Discussion started by: SemiOfCol
2 Replies
4. HP-UX
Hi,
I am new to HP-UX. I am attempting some pre-requisites to an Oracle upgrade, part of which requires some OS patching. When I check using show_patches or swlist -l patch the patches do not exist. On visiting ItResource web page I see the patches and later "recommended" patches (that unlike... (2 Replies)
Discussion started by: malcqv
2 Replies
5. HP-UX
hi,
I have prepared a script with contents
/dboracle/orabase/product/9.2.0.6/bin/sqlplus -s rcrp/rcrp<<EOF
CREATE TABLE ADDER_CUG_LIST
(
CUG_ID VARCHAR2(15) NOT NULL,
TEL_NO VARCHAR2(15),
START_DATE DATE,
END_DATE DATE
);
exit;
EOF
... (3 Replies)
Discussion started by: plaban.rout
3 Replies
6. HP-UX
what the heck am I doing wrong? Im trying to install bastille and i keep getting errors.
# cd -
/var/spool/sw
# ls
B6849AA_B.02.01.03.depot catalog swagent.log var
# swinstall -s /var/spool/sw B6849AA
======= 10/04/07 09:47:43 EDT BEGIN swinstall... (4 Replies)
Discussion started by: csaunders
4 Replies
7. HP-UX
can it have any command
that swinstall and swremove without gui
thanks (1 Reply)
Discussion started by: alert0919
1 Replies
8. Solaris
i am having this error when i try to execute
# swinstall -s /cdrom/volume_manager3.5/pkgs
swinstall: not found
anyone know why was it having this error?
Thanks in advance. (2 Replies)
Discussion started by: beginningDBA
2 Replies
9. HP-UX
hi all,
I just want to make a depot package.All steps:
1. make a psf file
# PSF which define the myutil product
depot
layout_version 1.0
tag ddmi_linux_installer
title ddmi_linux_installer
# Product definition
vendor
tag HP
title Hewlett-Packard Company
product
tag... (0 Replies)
Discussion started by: lb1111830
0 Replies
10. HP-UX
Hi,
I have installed a software using the command(swinstall -s /Softwares/Game.pkg AngryDog.nwr-cbin @/z_temp). During installation I didn't find any error, also I can find a folder structure(opt/angrydog...) getting created under "/z_temp" and all files are present. But software is not working.... (1 Reply)
Discussion started by: Thunderbird288
1 Replies
LEARN ABOUT OSX
svk::editor::xd
SVK::Editor::XD(3) User Contributed Perl Documentation SVK::Editor::XD(3)
NAME
SVK::Editor::XD - An editor for modifying svk checkout copies
SYNOPSIS
$editor = SVK::Editor::XD->new
( path => $path,
target => $target,
oldroot => $fs->revision_root ($fromrev),
newroot => $fs->revision_root ($torev),
xd => $xd,
get_copath => sub { ... },
get_path => sub { ... },
);
DESCRIPTION
SVK::Editor::XD modifies existing checkout copies at the paths translated by the get_copath callback, according to the incoming editor
calls. The path in the depot is translated with the get_path callback.
There are two modes, one is for applying changes to checkout copy as external modification, like merging changes. The other is update mode,
which is used for bringing changes from depot to checkout copies.
PARAMETERS
In addition to the paramters to SVK::Editor::Checkout:
target
The target path of the editor calls. Used for deciding if the root's meta data needs to be updated in update mode.
xd SVK::XD object.
oldroot
Old root before the editor calls.
newroot
New root after the editor calls.
update
Working in update mode.
get_path
A callback to translate paths in editor calls to path in depot.
ignore_keywords
Don't do keyword translations (svn:keywords property).
perl v5.10.0 2008-08-04 SVK::Editor::XD(3)