Operating System - HP-UX
1827293 Members
3194 Online
109717 Solutions
New Discussion

Re: Installing gcc 3.4.2 on HPUX 11.11

 
siba
Advisor

Installing gcc 3.4.2 on HPUX 11.11

Hi,
Sorry if this is a silly problem.

I am trying to install gcc 3.4.2 on HPUX using swinstall.
Since it has a dependency with binutils i installed binutils with swinstall.
Once binutils is successfully installed i install the gcc depot.

The error which i get is

---------------------------------------------
The corequisite "binutils.binutils" for fileset
"gcc.gcc,r=3.4.2" cannot be successfully resolved.
ERROR: The dependencies for fileset "gcc.gcc,r=3.4.2" cannot be
resolved (see previous lines).
---------------------------------------------

Note: Although the installation of binutils is a success i am not able to trace the same using "find".
The warning that the binutils installation gives is

=============================================
WARNING: Transition links are not created for the filesets installed
at the target. After booting up from the system using
the alternate root at the target, run tlinstall command to
create transition links.
WARNING: The command "/usr/lbin/sw/install_clean" had warnings.
==============================================

do i need to use swconfig after rebooting the machine. Please guide.

thanks in advance.
2 REPLIES 2
siba
Advisor

Re: Installing gcc 3.4.2 on HPUX 11.11

Hi,
Further to this. The Binutils log file says

========================================
WARNING: Transition links are not created for the filesets installed
at the target. After booting up from the system using
the alternate root at the target, run tlinstall command to
create transition links.
WARNING: The command "/usr/lbin/sw/install_clean" had warnings. The
installation will continue. Check the above output for
details about the warnings.
* Building the software file
"/var/adm/sw/needs_config" to be used for
post-reboot "swconfig" execution. The information in this
file will be used as input to "swconfig" after the system
reboots.
========================================

after rebooting and on executing

swinstall -t "/var/adm/sw/needs_config"

i get the error

======= 02/14/05 14:23:11 JST BEGIN swconfig SESSION
(non-interactive) (jobid=nx01-0362)

* Session started for user "root@nx01".

* Beginning Selection
ERROR: Could not contact host
"binutils.binutils,l=/usr/local,r=2.15a,a=,v=". Make sure the
hostname is correct and an absolute pathname is specified
(beginning with "/").
* Target connection failed for
"binutils.binutils,l=/usr/local,r=2.15a,a=,v=:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is
binutils.binutils,l=/usr/local,r=2.15a,a=,v=:/var/adm/sw/swagentd.log).

* Selection had errors.



======= 02/14/05 14:23:11 JST END swconfig SESSION (non-interactive)


CONTENTs of swagentd.log

NOTE: This system's hardware is capable of running the 64-bit
version of HP-UX, however the firmware needs updating before
this can be allowed. If you want to update to 64-bit HP-UX
you must update your system's firmware first.
NOTE: This system's hardware is capable of running the 64-bit
version of HP-UX, however the firmware needs updating before
this can be allowed. If you want to update to 64-bit HP-UX
you must update your system's firmware first.



getconf KERNEL_BITS yields 32.

Is this because my architecture is a 32 bit architecture.

Please help
siba
Advisor

Re: Installing gcc 3.4.2 on HPUX 11.11

Sorry for the trouble. I found the solution.
the problem creeped in because my machines architecture is 32 bit.

I did a manual build of the binutils source (Because i am not very familiar with swinstall) and it worked. thanks for the help anyway