1832695 Members
2844 Online
110043 Solutions
New Discussion

Compiling Perl

 
Rafael Casero
Regular Advisor

Compiling Perl

We have an issue with Compiling Perl, Application vendor is saying due to the root .profile is the issue.

The difference is that on the root .profile the following lines exist and would like know if this would make the difference on compiling perl.


PS1="`hostname`: \$PWD =>"

alias xme='xterm -fg White -bg Navy -display xxx.xx.x.xx:0.0 &'
alias viblog='vi /var/sam/log/br_log'
alias vislog='vi /var/adm/syslog/syslog.log'
alias vimlog='vi /var/adm/syslog/mail.log'
alias viblog='vi /var/sam/log/br_log/'
alias rtmail='vi /var/mail/root'

#Begin Temporary Warehouse variables - remove after last migration

export WHHOME=/opt/taurus/whii/@
export WHSECLIB=libsec.1
export WHTRUST=1
. /opt/taurus/bin/conv.env
. /usr/local/bin/oracle_setup

#End Temporary Warehouse variables - remove after last migration

Thanks,
4 REPLIES 4
Jonathan Fife
Honored Contributor

Re: Compiling Perl

Nothing in the code snippet you provided should cause an issue in compiling (except maybe the conv.env or oracle_setup scripts -- without seeing their content we can't rule them out).

What problem/error are you getting during compile?

Is there a specific reason you are compiling perl? HP provides a pre-built depot so you don't have to pull your hair out:
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL

Decay is inherent in all compounded things. Strive on with diligence
Rafael Casero
Regular Advisor

Re: Compiling Perl

miaux07: /opt/taurus/bin =>more conv.env

# Warehouse Conversion Environment setup script

export REMOTE_3000=master
export REMOTE_USER="MGR.AMINUM/ORBLIND,DATA"

export CONV_HOME=/opt/taurus
export CONV_VERS=11.01

export SQLPATH=$CONV_HOME/bin

export PATH=$CONV_HOME/bin:$PATH

export AMISYS_USERNAME=amiown
export AMISYS_PASSWORD=advance

export AVMED_USERNAME=dbo
export AVMED_PASSWORD=advance




miaux07: / =>more /usr/local/bin/oracle_setup
# This is a file that is set up by DBA Shannon Liu on Feb. 2000
# to standardize the setup of oracle env vars.
# Please do not change anything without contacting Shannon @20101.
#
# Define Oracle owner
#
ORACLE_OWNER=oracle;export ORACLE_OWNER
#
# Define Oracle Locations
#
ORACLE_BASE=/app/oracle;export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0;export ORACLE_HOME
ORACLE_SID=amisysp;export ORACLE_SID
ORACLE_TERM=vt100;export ORACLE_TERM
#
# Define display to run OUI
#
DISPLAY=xxx.x.x.xx:0.0
# Put all possible library environment variables
#
LD_LIBRARY_PATH=$ORACLE_HOME/lib;export LD_LIBRARY_PATH
LIBPATH=$ORACLE_HOME/lib;export LIBPATH
SHLIB_PATH=$ORACLE_HOME/lib;export SHLIB_PATH
#
# usefull aliases
#
alias oradmin='cd $ORACLE_BASE/admin/$ORACLE_SID/'
alias orahome='cd $ORACLE_HOME'
# set up nls_lang if diff from default
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
if [ $( echo $PATH|grep -c $ORACLE_HOME ) = 0 ];then
PATH=$ORACLE_HOME/bin:$PATH
fi


Thanks.
Jonathan Fife
Honored Contributor

Re: Compiling Perl

Well, these variable assignments *could* screw up compilation:

LD_LIBRARY_PATH=$ORACLE_HOME/lib;export LD_LIBRARY_PATH
LIBPATH=$ORACLE_HOME/lib;export LIBPATH
SHLIB_PATH=$ORACLE_HOME/lib;export SHLIB_PATH

Without knowing the exact error you're getting during compile there's no way of knowing if this is even the right direction, though.

Again, do you NEED to compile perl? Why not just install the depot?
Decay is inherent in all compounded things. Strive on with diligence
Rafael Casero
Regular Advisor

Re: Compiling Perl

It has been already done, we just want to confirm what the Application vendor is saying the cause is.

Thanks,