Page 1 of 1

User profile not calling setup or envsetup

Posted: Fri Jul 25, 2008 4:02 am
by mercenthus
Hi,

Will it our application have any problems if the .profile of the user that mercator uses to execute does not call the mercator "setup" or bin/envsetup? I discovered we don't have this call in the .profile, but the application has been running fine for about a year now.

Posted: Fri Jul 25, 2008 4:27 am
by ray.wurlod
Welcome aboard. You appear to have answered your own question.

Whether that answer generalizes to all things that you might wish to do with TX is another question entirely.

Posted: Fri Jul 25, 2008 4:31 am
by mercenthus
Hi Ray,

Do you mean that it doesn't really matter that $MERC_HOME_DIR and $MERC_TMP_DIR are not set? We have a value for $LD_LIBRARY_PATH though.

Posted: Fri Jul 25, 2008 4:35 am
by ray.wurlod
Yes, and you have a value for PATH. That and LD_LIBRARY_PATH are fundamental to most applications, not just TX. There will be default values for both MERC_HOME_DIR and MERC_TEMP_DIR if they are not set; you can doubtless find out what they are from the manuals (I am in an airport lounge without access to any manuals at the moment).