Gcc seems not to be recognising environment variables for include and lib.

I'm trying to install programs into a non standard location, but GCC does not seem to be checking the paths defined in global profile. All 3rd party dependencies are not found and only the default locations are checked.
The environment variables defined in profile are:
CPLUSINCLUDEPATH="/DVL/include:/GNU/include:/usr/X11/include:/TEST/include"
DYLDLIBRARYPATH="/DVL/lib":/GNU/lib:/usr/x11/lib"
LIBRARY_PATH="/dvl/lib:/gnu/lib:/TEST/lib"
As GCC is a proven technology, I can only assume that my variables are incorrect or something is missing. Has anyone else experienced this or is your configuration recognising non-standard locations?

sorry, wrong forum. I put this topic again in forum "portal applications"

Similar Messages

  • Environment variable for share and etc

    Hi all, first let me say sorry if this is the wrong sub-section, This one is the closest as far as I could tell.
    I've been messing around with building self-contained packages for top level apps like gimp, vlc etc. Ive gotten all the libraries worked out by using LD_LIBRARY_PATH.
    However they still need files in /usr/share and /etc. I know I can change these at compile time, but what im trying to do change some variable to look in the programs root directory not the systems.
    Does anyone know if sysconfdir can be changed at runtime? for example use ~/Progs/Gimp/usr/share instead of /usr/share? Ive been playing around with a command called cde which sandboxes that apps fairly well
    but its very unclean, and is not aware of any files outside the sandbox (think chroot).
    Thanks in advance, and sorry for my bad grammer.

    Prashant,
    Did you check this?
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=670431
    Regards,
    Dpka

  • Environment variables for Java

    Hi,
    I installed jdk1.6.0_02 from Sun, and set the following environment variables:
    export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:*/home/username/jdk1.6.0_02/bin*
    export LD_LIBRARY_PATH=/home/username/jdk1.6.0_02/lib
    export JAVA_HOME=/home/username/jdk1.6.0_0
    I issue the following commands:
    which javac
    */home/username/jdk1.6.0_02/bin/javac*
    which java
    */usr/bin/java*
    why is it referring to */usr/bin/java* instead of */home/username/jdk1.6.0_02/bin/java*
    How can I solve this problem under Ubuntu 8.04.
    Thank you in advance,
    --Blaise
    Edited by: Blaize on Jul 19, 2008 5:49 AM

    Blaize wrote:
    Ok */ust/bin* is needed in the PATH. Why it affected java but not javac then?
    Provide an instructive solution or an instructive comment if you have.I should have thought it would have been fairly obvious that it was because javac was not in /usr/bin (and that it would have been just as easy to be certain, i.e. type "ls /usr/bin/javac"), but I guess not.
    I also would have thought, that it should be fairly obvious that a search path will always be read in a specific order (after all that is one of the reasons to have one, so that command searches aren't random), and, extrapolating from there, that it should be fairly obvious, considering the problem observed, that that search order was from left to right, but again, I guess not.
    Use your head for something other than a paper weight, and maybe you wouldn't need to become either defensive or aggresive, but, once again, that must be something that's beyond you.
    Learn how to type "How to configure path environment variable" into Google, and maybe the same would apply, but, once again, that is probably something that's beyond you.

  • Change the environment variables for sid adm failed

    Hi Experts,
    I have installed ECC HA on AIX/ORACLE
    now i want to change the environment variables for the qr1adm user at the standby node
    i tried to change the /home/qr1adm/.profile with command
    vi  /home/qr1adm/.profile  it is changed  and i saved this changes.
    now I login with qr1adm user and i executed this command
    env |more
    it comes with the old values
    i don't know why?
    and if i oppened the .profile file i'm finding the new values
    So could you please tell me how can i change the environment variable for qr1adm user
    Thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 9:08 AM

    Thanks Sridhar ,
    which hostname?
    for example i have
    .dbenv_R3QASsvc.csh
    .sapenv_KFGKWERPR303.csh
    i want to tell you that R3QASsvc is the virtual hostname
    and KFGKWERPR303 is the name of the primary node A
    and the phiscal host name of node B is KFGKWERPR307
    so which one should i change it?
    thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 11:59 AM

  • My phone number is not coming up as an option for sending and receiving imessages

    My phone number is not coming up as an option for sending and receiving imessages

    You do not have a "phone number".    Your ipad has a cellular access number and can't make phone calls. 
    You must use your apple ID email for imessage and FaceTime on iPad.

  • Virtual environment license for sql and other dependencies of sharepoint in Azure

    We have Microsoft ActionPack. And we use Sharepoit 2013 from ActionPack , which is installed on our server.
    But our on premise server doesn't satisfy the hardware requirement for sharepoint, and thus it is too slow to use.
    So we decided to move sharepoint 2013 to Microsoft azure. 
    But we don't have any idea of virtual environment license for sql and other dependencies of sharepoint in Azure.
    Do we have to purchase separate license for sql server and other dependencies.?

    Hi BabeeshC,
    Before you deploy SharePoint 2013 on the Azure platform, you must ensure that your Azure virtualization solution meets all the licensing requirements.
    Every element of a SharePoint 2013 farm that is installed on Azure virtual machines must comply with the licensing requirements for SharePoint 2013 and related and supporting technologies.
     SharePoint 2010 and SQL Server licenses should be purchased separately.
    More information, please refer to the links:
    https://technet.microsoft.com/en-us/library/jj154957(v=office.15).aspx
    http://www.pointbeyond.com/2012/07/06/building-multi-server-sharepoint-farm-in-windows-azure
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Build error on using  environment variable for  CS5 on Mac

    I have created a sample project using dollyx on Mac for CS5 . I have used an environment variable and defined it in Source tree of XCode preferences.
    I am using snow leapard  and my XCode version is 3.2.2 .
    I have defined variable as IDSDK7  for /idsdk7 (which is my SDK directory). I am creating project outside SDK . While creating project with DollyX  , I am giving  SDK's path as $(IDSDK7) which is absolute path and not relative with respect to the project .
    I am getting many build errors  -----
    /idsdk7/external/afl/includes/AErrors.h:31:0 /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    /idsdk7/source/public/includes/K2Debugging.h:53:0 /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    /idsdk7/source/public/includes/PMString.h:34:0 /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:120:0 /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196:0 /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/WideString.h:322:0 /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751:0 /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/IDFile.h:385:0 /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/InterfacePtr.h:506:0 /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/K2Vector.h:241:0 /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /CS5Test/Prj/../Source/CTActionComponent.cpp:0:0 /CS5Test/Prj/../Source/CTActionComponent.cpp: At global scope:
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than the type of its field 'CTActionComponent::<anonymous>'
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than its base 'CActionComponent'
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o ../Source/CTNoStrip.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTNoStrip.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o ../Source/CTID.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTID.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypoint.o /idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypo int.o
    i686-apple-darwin10-gcc-4.2.1: /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp: No such file or directory
    i686-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
    i686-apple-darwin10-gcc-4.2.1: no input files
    Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
    Without using environment variable everything works fine . (i.e when I give SDK's dir path like ../../  i.e relative to my project)

    There is workaround : http://stackoverflow.com/questions/12629395/weblogic-using-environment-variable-double-quotes-in-arguments-in-server
    Just posting here for reference. Let's see if we get a different answer from anyone else.

  • Environment variables for use with EEM routing trigger?

    I've only recently started looking into EEM, and was hoping a guru here could clear something up for me:
    The docs do not show there to be any environment variables that can be used with EEM's "routing" trigger, to determine which route was added, changed, or modified.
    It seems odd that the trigger would allow you to fire specifically on adds or removes, but then give you no indication of the specific route that was added or removed. Is this info in some non-obvious generic variable?
    Or, is the only available approach to cache the route table, and then parse the whole table when the event fires? I haven't seen any examples that use this trigger; maybe because of this lack of any documented routing-specific variables?
    Thanks in advance!

    Every event detector has its own set of internal variables. These are different than environment variables. Environment variables are those you can modify in the config with "event manager environment". If you have a device which supports the routing event detector, you can run the command, "show event manager detector routing detailed" and that will show you all of the available internal variables.
    I actually did a programmatic applet example using the oruting ED for my Networkers session this past year. This example doesn't use any of the internal variables, but it will give you an idea of how this ED works:
    event manager applet route-watch
    event routing network 10.1.1.0/24 type add protocol ospf
    action 001 cli command "enable"
    action 002 set done 0
    action 003 while $done eq 0
    action 004 wait 5
    action 005 cli command "ping ip 10.1.1.1"
    action 005 regexp "!!!!!" "$_cli_result"
    action 006 if $_regexp_result eq 1
    action 007 cli command "config t"
    action 008 cli command "int Tunnel0"
    action 009 cli command "shut"
    action 010 cli command "end"
    action 011 set done 1
    action 012 end
    action 013 end
    This applet will be triggered when the route 10.1.1.0/24 is learned via OSPF. The applet will then try and ping 10.1.1.1, and when it is 100% successful, it will take down the backup tunnel interface. Because it may take a little while before the ping is 100% successful, the applet will loop until it gets a 100% success (or until the 20 second maxrun timer expires).

  • Unix Environment variable for connect string in SQL*Plus

    I am using some environment variables to connect to a sql*plus session in unix.
    they are exported as part of a file which contains the following and gets executed through the .profile.
    export db_username=xxx
    export db_password=xxx
    export db_name=xxx
    i have created a file abc.sql which contains the following
    connect $db_username/$db_password@$db_name
    Now, I have a shell script which uses this file inside it to connect to a sql*plus session and execute some queries.
    The contents of the shell script :
    API_CONNECT_SQL=abc.sql
    sqlplus /nolog << THEEND
    WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK
    WHENEVER OSERROR EXIT FAILURE ROLLBACK
    set timing on
    @${API_CONNECT_SQL}
    ---- do something
    EXIT
    THEEND
    Now, the sql*plus session is able to get db_username and db_password, but not the db_name. It says "TNS service name not found".
    If I hardcode some database name in place of db_name, it connects properly.
    Please let me know the problem and solution as well.
    Any help appreciated.
    thanks,
    Vijay

    for me this one works
    # =========================================
    # begin of script
    # =========================================
    export db_username=alpha
    export db_password=bravo
    export db_name=charly
    echo "connect $db_username/$db_password@$db_name" > xxx.sql
    API_CONNECT_SQL=/cfs/dummy1/0/appl/dummy2/rev_04/zzz/tst/xxx.sql
    cat ${API_CONNECT_SQL}
    sqlplus /nolog << THEEND
    spool xxx
    WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK
    WHENEVER OSERROR EXIT FAILURE ROLLBACK
    set echo on
    host cat ${API_CONNECT_SQL}
    @${API_CONNECT_SQL}
    select * from dual;
    spool off
    EXIT
    THEEND
    # =========================================
    # end of script
    # =========================================

  • Environment Variables for EBS 12.1

    Hello,
    I'm trying to install the Oracle EBS 12 into my machine and i'm wondering if i need to setup environment variables in the bash_profile. If i should configure this, please tell me what are those.
    Thanks
    AJ

    Hi Aj,
    You do not have to setup any environment variables, But you have to make sue you follow all the pre-requisites befor installing R12
    Depending on you operating system please see
    761566.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64
    761564.1 - Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86
    Thanks

  • Environment variables for j2ee1.4sdk on windows xp home

    Hello,
    I have just installed J2EE 1.4 SDK on Microsoft Windows XP Home, and everything went fine. I can start the Apache Server and run the demos. But I installed it to be able to compile own code!
    So now abaout my problem: The installation guide says I should set some environment variables. But I dont know what paths to set the variables to!
    The installation program has created a directory "C:\Sun". That directory contains only one subdirectory: "C:\Sund\AppServer". In that directory are, among others, a subdirectoy "bin" which includes some ".bat" files like "asant.bat", and a subdirectory "jdk", which also includes an own subdirectory "bin" with the well-known executables "java.exe", "javac.exe" and some more executables.
    What environment variables do I have to set, and to which values??? "http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html" says:
    In order to run the asant scripts, you must configure your environment and properties files as follows:
    * Add <JAVA_HOME>/bin to the front of your path.
    * Add <J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front of your path so that J2EE 1.4 Application Server scripts (asadmin, asant, deploytool, and wscompile) override other installations.
    * Set the j2ee.home property in the file <INSTALL>/j2eetutorial14/examples/common/build.properties to the location of your J2EE Application Server installation. The build process uses the j2ee.home property to include the J2EE library archive, <J2EE_HOME>/lib/j2ee.jar, in the classpath. If you wish to use an IDE or the javac compiler to build J2EE applications, you must add this JAR to your classpath.
    - so do I only have to set the %PATH% variable or also %CLASSPATH% manually?
    - what directories do I have to set the variables to according to my directory structure as described above?
    Thanks in advance! :)
    yours sincerely,
    Stefan

    Instructions you are reading are relevant for J2EE 1.4 tutorial samples - if you want to compile and deploy your own code you don't have to go through all the steps described in tutorial documentation.
    Based on the information you provided about your installation you should do the following in order to compile your own code:
    * add C:\Sun\AppServer\jdk\bin;C:\Sun\AppServer\bin; at the beginning of your existing PATH
    (you don't have to add C:\Sun\AppServer\share\bin for the simple reason that it does not exist anymore in this release and its content got moved into C:\Sun\AppServer\bin)
    * in order to compile your code, you must make sure that C:\Sun\AppServer\lib\j2ee.jar is in your classpath - how are you going to achieve that depends on the development environment you are using
    Hope this helps...

  • Different Environment Variable in OS and Solman

    Hi dear experts,
    I have a weird question here. I set the environment variable in the OS as blew:
    smsp:smpadm 52> echo $PATH
    /sybase/SMP/ASE-15_0/jobscheduler/bin:/sybase/SMP/ASE-15_0/bin:/sybase/SMP/ASE-15_0/install:/sybase/SMP/DBISQL/bin:/sybase/SMP/OCS-15_0/bin:/usr/sap/SMP/DVEBMGS00/exe/sapjvm_4/bin:/home/smpadm/bin:/usr/sap/SMP/hdbclient:/sapdb/programs/bin:/sapdb/clients/SMP/bin:/sapdb/clients/SMP/pgm:/sapdb/programs/pgm:/sapdb/programs:/sapdb/programs/lib:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sap/SMP/SYS/exe/uc/linuxx86_64:/usr/sap/SMP/SYS/exe/run:/home/smpadm:.
    But in solman, I run the same command in RSBDCOS0, get this:
    echo $PATH
    /usr/sap/SMP/DVEBMGS00/exe:/sybase/SMP/ASE-15_0/jobscheduler/bin:/sybase/SMP/ASE-15_0/bin:/sybase/SMP/ASE-15_0/install:/sybase/SMP/DBISQL/bin:/sybase/SMP/OCS-15_0/bin:/usr/sap/SMP/DVEBMGS00/exe/sapjvm_4/bin:/home/smpadm/bin:/usr/local/bin:/bin:/usr/bin:/u
    It's same as what I found in program by debugging. And that's the reason why I failed to install MaxDB.
    I have restarted solman, but the issue persisted. Can you give me any advices? Thank you.
    Regards,
    Pany Pan

    Hi Gaurav,
    There is only bash.bashrc exists, I have never did anything to this file before. As below:
    # /etc/bash.bashrc for SuSE Linux
    # PLEASE DO NOT CHANGE /etc/bash.bashrc There are chances that your changes
    # will be lost during system upgrades.  Instead use /etc/bash.bashrc.local
    # for your local settings, favourite global aliases, VISUAL and EDITOR
    # variables, etc ...
    # Check which shell is reading this file
    if test -z "$is" ; then
    if test -f /proc/mounts ; then
      if ! is=$(readlink /proc/$$/exe 2>/dev/null) ; then
        case "$0" in
        *pcksh) is=ksh ;;
        *) is=sh ;;
        esac
      fi
      case "$is" in
        */bash) is=bash
      case "$0" in
      sh|-sh|*/sh)
      is=sh ;;
      esac ;;
        */ash) is=ash  ;;
        */dash) is=ash  ;;
        */ksh) is=ksh  ;;
        */ksh93) is=ksh  ;;
        */pdksh) is=ksh  ;;
        */*pcksh) is=ksh  ;;
        */zsh) is=zsh  ;;
        */*) is=sh   ;;
      esac
      # `r' in $- occurs *after* system files are parsed
      for a in $SHELL ; do
        case "$a" in
          */r*sh)
            readonly restricted=true ;;
          -r*|-[!-]r*|-[!-][!-]r*)
            readonly restricted=true ;;
          --restricted)
            readonly restricted=true ;;
        esac
      done
      unset a
    else
      is=sh
    fi
    fi
    # Call common progams from /bin or /usr/bin only
    path ()
        if test -x /usr/bin/$1 ; then
      ${1+"/usr/bin/$@"}
        elif test -x   /bin/$1 ; then
      ${1+"/bin/$@"}
        fi
    # ksh/ash sometimes do not know
    test -z "$UID"  && readonly  UID=`path id -ur 2> /dev/null`
    test -z "$EUID" && readonly EUID=`path id -u  2> /dev/null`
    # Colored file listings
    if test -x /usr/bin/dircolors ; then
        # set up the color-ls environment variables:
        if test -f $HOME/.dir_colors ; then
      eval "`/usr/bin/dircolors -b $HOME/.dir_colors`"
        elif test -f /etc/DIR_COLORS ; then
      eval "`/usr/bin/dircolors -b /etc/DIR_COLORS`"
        fi
    fi
    # ls color option depends on the terminal
    # If LS_COLORS is set but empty, the terminal has no colors.
    if test "${LS_COLORS+empty}" = "${LS_COLORS:+empty}" ; then
        LS_OPTIONS=--color=tty
    else
        LS_OPTIONS=--color=none
    fi
    if test "$UID" = 0 ; then
        LS_OPTIONS="-A -N $LS_OPTIONS -T 0"
    else
        LS_OPTIONS="-N $LS_OPTIONS -T 0"
    fi
    # Avoid trouble with Emacs shell mode
    if test "$EMACS" = "t" ; then
        LS_OPTIONS='-N --color=none -T 0';
        path tset -I -Q
        path stty cooked pass8 dec nl -echo
    fi
    export LS_OPTIONS
    # Set prompt and aliases to something useful for an interactive shell
    case "$-" in
    *i*)
        # Some useful functions
        if test -z "$restricted" ; then
      startx  () {
         test -x /usr/bin/startx || {
      echo "No startx installed" 1>&2
      return 1;
         /usr/bin/startx ${1+"$@"} 2>&1 | tee $HOME/.xsession-errors
      remount () { /bin/mount -o remount,${1+"$@"} ; }
        fi
        # Set prompt to something useful
        case "$is" in
        bash)
      # Append history list instead of override
      shopt -s histappend
      # All commands of root will have a time stamp
      if test "$UID" -eq 0  ; then
         HISTTIMEFORMAT=${HISTTIMEFORMAT:-"%F %H:%M:%S "}
      fi
      # Force a reset of the readline library
      unset TERMCAP
      # Returns short path (last two directories)
      spwd () {
       ( IFS=/
         set $PWD
         if test $# -le 3 ; then
      echo "$PWD"
         else
      eval echo \"..\${$(($#-1))}/\${$#}\"
         fi ) ; }
      # Set xterm prompt with short path (last 18 characters)
      ppwd () {
         local _t="$1" _w _x _u="$USER" _h="$HOST"
         test -n "$_t"    || return
         test "${_t#tty}" = $_t && _t=pts/$_t
         test -O /dev/$_t || return
         _w="$(dirs +0)"
         _x=$((${#_w}-18))
         test ${#_w} -le 18 || _w="...${_w#$(printf "%.*s" $_x "$_w")}"
         printf "\e]2;%s@%s:%s\007\e]1;%s\007" "$_u" "$_h" "$_w" "$_h" > /dev/$_t
      # If set: do not follow sym links
      # set -P
      # Other prompting for root
      _t=""
      if test "$UID" -eq 0  ; then
         _u="\h"
         _p=" #"
      else
         _u="\u@\h"
         _p=">"
         if test \( "$TERM" = "xterm" -o "${TERM#screen}" != "$TERM" \) \
         -a -z "$EMACS" -a -z "$MC_SID" -a -n "$DISPLAY" \
         -a ! -r $HOME/.bash.expert
         then
      _t="\$(ppwd \l)"
         fi
         if test -n "$restricted" ; then
      _t=""
         fi
      fi
      case "$(declare -p PS1 2> /dev/null)" in
      *-x*PS1=*)
         # With full path on prompt
         PS1="${_t}${_u}:\w${_p} "
    #    # With short path on prompt
    #    PS1="${_t}${_u}:\$(spwd)${_p} "
    #    # With physical path even if reached over sym link
    #    PS1="${_t}${_u}:\$(pwd -P)${_p} "
      esac
      # Colored root prompt (see bugzilla #144620)
      if test "$UID" -eq 0 -a -t ; then
         _bred="$(path tput bold 2> /dev/null; path tput setaf 1 2> /dev/null)"
         _sgr0="$(path tput sgr0 2> /dev/null)"
         PS1="\[$_bred\]$PS1\[$_sgr0\]"
         unset _bred _sgr0
      fi
      unset _u _p _t
        ash)
      cd () {
         local ret
         command cd "$@"
         ret=$?
         PWD=$(pwd)
         if test "$UID" = 0 ; then
      PS1="${HOST}:${PWD} # "
         else
      PS1="${USER}@${HOST}:${PWD}> "
         fi
         return $ret
      cd .
        ksh)
      # Some users of the ksh are not common with the usage of PS1.
      # This variable should not be exported, because normally only
      # interactive shells set this variable by default to ``$ ''.
      if test "${PS1-\$ }" = '$ ' ; then
         if test "$UID" = 0 ; then
      PS1="${HOST}:"'${PWD}'" # "
         else
      PS1="${USER}@${HOST}:"'${PWD}'"> "
         fi
      fi
        zsh)
    # setopt chaselinks
      if test "$UID" = 0; then
         PS1='%n@%m:%~ # '
      else
         PS1='%n@%m:%~> '
      fi
    # PS1='\u:\w> '
      PS1='\h:\w> '
        esac
        PS2='> '
        if test "$is" = "ash" ; then
      # The ash shell does not have an alias builtin in
      # therefore we use functions here. This is a seperate
      # file because other shells may run into trouble
      # if they parse this even if they do not expand.
      test -s /etc/profile.d/alias.ash && . /etc/profile.d/alias.ash
        else
      unalias ls 2>/dev/null
            case "$is" in
      bash) alias ls='ls $LS_OPTIONS' ;;
      zsh)  alias ls='\ls $=LS_OPTIONS' ;;
      *)    alias ls='/bin/ls $LS_OPTIONS' ;;
      esac
      alias dir='ls -l'
      alias ll='ls -l'
      alias la='ls -la'
      alias l='ls -alF'
      alias ls-l='ls -l'
      # Set some generic aliases
      alias o='less'
      alias ..='cd ..'
      alias ...='cd ../..'
      alias cd..='cd ..'
      if test "$is" != "ksh" ; then
         alias -- +='pushd .'
         alias -- -='popd'
      fi
      alias rd=rmdir
      alias md='mkdir -p'
      if test "$is" = "bash" -a ! -x /bin/which -a ! -x /usr/bin/which ; then
         # Other shells use the which command in path (e.g. ash) or
         # their own builtin for the which command (e.g. ksh and zsh).
         _which () {
      local file=$(type -p ${1+"$@"} 2>/dev/null)
      if test -n "$file" -a -x "$file"; then
         echo "$file"
         return 0
      fi
      hash -r
      type -P ${1+"$@"}
         alias which=_which
      fi
      alias rehash='hash -r'
      alias you='if test "$EUID" = 0 ; then /sbin/yast2 online_update ; else su - -c "/sbin/yast2 online_update" ; fi'
      if test "$is" != "ksh" ; then
         alias beep='echo -en "\007"'
      else
         alias beep='echo -en "\x07"'
      fi
      alias unmount='echo "Error: Try the command: umount" 1>&2; false'
      test -s $HOME/.alias && . $HOME/.alias
        fi
        # Expert mode: if we find $HOME/.bash.expert we skip our settings
        # used for interactive completion and read in the expert file.
        if test "$is" = "bash" -a -r $HOME/.bash.expert ; then
      . $HOME/.bash.expert
        elif test "$is" = "bash" ; then
      # Complete builtin of the bash 2.0 and higher
      case "$BASH_VERSION" in
      [2-9].*)
         if test -e $HOME/.bash_completion ; then
      . $HOME/.bash_completion
         elif test -e /etc/bash_completion ; then
      . /etc/bash_completion
         elif test -s /etc/profile.d/complete.bash ; then
      . /etc/profile.d/complete.bash
         fi
         for s in /etc/bash_completion.d/*.sh ; do
      test -r $s && . $s
         done
         if test -f /etc/bash_command_not_found ; then
      . /etc/bash_command_not_found
         fi
      esac
        fi
        # Do not save dupes and lines starting by space in the bash history file
        HISTCONTROL=ignoreboth
        if test "$is" = "ksh" ; then
      # Use a ksh specific history file and enable
        # emacs line editor
        : ${HISTFILE=$HOME/.kshrc_history}
        : ${VISUAL=emacs}
      case $(set -o) in
      *multiline*) set -o multiline
      esac
        fi
        # command not found handler in zsh version
        if test "$is" = "zsh" ; then
      if test -f /etc/zsh_command_not_found ; then
         . /etc/zsh_command_not_found
      fi
        fi
    esac
    # Just in case the user excutes a command with ssh
    if test -n "$SSH_CONNECTION" -a -z "$PROFILEREAD" ; then
        _SOURCED_FOR_SSH=true
        . /etc/profile > /dev/null 2>&1
        unset _SOURCED_FOR_SSH
    fi
    # And now let us see if there is e.g. a local bash.bashrc
    # (for options defined by your sysadmin, not SuSE Linux)
    case "$is" in
    bash) test -s /etc/bash.bashrc.local && . /etc/bash.bashrc.local ;;
    ksh)  test -s /etc/ksh.kshrc.local   && . /etc/ksh.kshrc.local ;;
    zsh)  test -s /etc/zsh.zshrc.local   && . /etc/zsh.zshrc.local ;;
    ash)  test -s /etc/ash.ashrc.local   && . /etc/ash.ashrc.local
    esac
    test -s /etc/sh.shrc.local && . /etc/sh.shrc.local
    if test -n "$restricted" -a -z "$PROFILEREAD" ; then
        PATH=/usr/lib/restricted/bin
        export PATH
    fi
    # End of /etc/bash.bashrc

  • Environment Variables for Linux

    Hi All
    I am trying to set the Environement Variables on RHEL 5.2(64 Bit) for SM 7.0 Installation
    - I have installed the RPM "IBMJava2-AMD64-142-SDK-1.4.2-11.0.x86_64.rpm"
    - I have set the Environment Variable in .bash_profile file as below:
    export JAVA_HOME=/opt/IBMJava2-amd64-142
    expot PATH=$JAVA_HOME/bin:$PATH
    Logged out of root and logged in, but I am not able to see the correct JAVA -Version
    Its still showing the GNU version.
    Can you please let me know that was correct ?
    Thanks
    Sri

    You can simply use those commands in the shell that is open and in which you want to start the installation. There's no need to make this permanent for user "root".
    Sapinst will configure the new users correctly with the correct PATH.
    Markus

  • Need advice on Environment variables for DAC

    Hi,
    I have made the following changes to DAC_ENV.sh file in DAC folder.
    export PATH=$PATH:c:/Informatica/PowerCenter8.1.1/server/bin:c:/Informatica/PowerCenter8.1.1/server:.
    export PM_HOME=c:/Informatica/PowerCenter8.1.1/server
    export INFA_DOMAINS_FILE=c:/Informatica/PowerCenter8.1.1/domains.infa
    export PM_REPHOME=c:/Informatica/PowerCenter8.1.1/server/bin
    Later executed, . ./config.sh and noticed pmcmd is not getting invoked.
    Once i changed, PM_HOME to c:/Informatica/PowerCenter8.1.1/server/bin, pmcmd is getting invoked properly.
    But, i shouldn't specify 'INFA_HOME/server/bin' for PM_HOME as per the documentation, but somehow i was getting errors when i followed the instructions.
    Please let me know if it causes any issues going forward.
    Our version is, OBI 10.1.3.3.3
    Thanks,
    Raghu
    Message was edited by:
    Raghu K

    Yes. I found the instructions confusing too.
    The docs
    Oracle® Business Intelligence Applications Installation Guide for Informatica PowerCenter Users Version 7.9.5.1 Part Number E13765-01
    Chapter 4 Installing and Setting Up Oracle BI Applications
    Configuring the DAC Server
    Enabling DAC Server Communication with Informatica PowerCenter
    How to Verify the DAC Server Is Able to Use pmrep and pmcmd
    How to Set Environment Variables on UNIX or Linux
    says change from
    export PM_HOME=%INFORMATICA_SERVER_LOCATION%
    to
    export PM_HOME=/home/Informatica/PowerCenter8.1.1/server
    The actual file from the install of BIApps 7.9.5.1 cotains INFA_HOME not PM_HOME
    #Note1: %INFORMATICA_SERVER_LOCATION% denotes location of
    # Informatica PowerCenter Services installation.
    # Example: /home/Informatica/PowerCenter8.1.1/server
    export INFA_HOME=%INFORMATICA_SERVER_LOCATION%
    But, in any case, by following these instructions the environment is not set correctly
    pmrep/pmcmd both throw
    FATAL ERROR during initialization: Error initializing /data/app/oracle/product/10.1.3/bi_2/oraclebi/DAC/pmlocale.bin. Make sure the environment variable INFA_HOME is defined and set to where Informatica products are installed. Application terminated.
    A fix is to set INFA_HOME and not PM_HOME to the root of the home for informatica
    For example
    */home/Informatica/PowerCenter8.1.1*
    - not /home/Informatica/PowerCenter8.1.1/*server*,
    - not /home/Informatica/PowerCenter8.1.1/server/*bin*
    Now when you test pmcmd and pmrep it works :)
    For example,
    $ cat dac_env.sh | grep INFA_HOME
    export INFA_HOME=/data/app/oracle/product/8.1.1/informaticapowercenter_1
    $ . ./config.sh
    $ echo $PM_HOME
    $ echo $INFA_HOME
    /data/app/oracle/product/8.1.1/informaticapowercenter_1
    $ pmcmd
    Informatica(r) PMCMD, version [8.1.1 SP5], build [186.0822], LINUX 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    Invoked at Tue Mar 17 14:18:04 2009
    pmcmd> exit
    $ pmrep
    Informatica(r) PMREP, version [8.1.1 SP5], build [186.0822], LINUX 32-bit
    Copyright (c) Informatica Corporation 1994 - 2008
    All Rights Reserved.
    This Software may be protected by U.S. Patent Numbers 6,208,990; 6,044,374; 6,014,670; 6,032,158; 5,794,246; 6,339,775, 6,850,947; 6,895,471, and other U.S. Patents Pending.
    Invoked at Tue Mar 17 14:18:09 2009
    pmrep>exit

  • How do I use a UNIX environment variable for the path of a file name

    We are running Forms 6i over the web. The forms server runs on a UNIX (HP-UX) machine.
    I want to read the contents of a file, which is simple enough, using the TEXT_IO package. However, I want to reference a UNIX environment variable that specifies the file path i.e
    PROCEDURE get_file IS
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(1800);
    filename VARCHAR2(200);
    BEGIN
    filename:= '$LOG_DIR/RCAS181.log';
    in_file := Text_IO.Fopen(filename, 'r');
    .....other stuff
    Notice the filename string references my unix env variable '$LOG_DIR'. However, this doesnt work. If I put the full pathname it works fine.
    Any suggestions ?

    Have a look at TOOL_ENV.GETVAR()

Maybe you are looking for

  • Converting tdm to lvm/ working with large amount of data

    I use a PCI 6251 card for data aquisition, and labview version 8; to log 5 channels at 100 Khz for approximately 4-5 million samples on each channel (the more the better). I use the express VI for reading and writing data which is strored in .tdm for

  • Video Chat missing

    Hi, Video chat application is missing in my playbook. I checked my OS... it is Blackberry OS 1.0.8. How to download ? any one knows?

  • Dynamic Table Header in WebI

    Hi community I'm currently facing quite a challange with WebI: I have (simplified) the following data structure in my Universe (which ist built upon a BEx Query): - Customer - Calendar Day - Calendar Week - Calendar Month - Turnover Now, the customer

  • Tidal Transporter

    Any one else using transporter to move between non-prod and prod environments?  Any "best practices" you can offer?

  • Language Pack error

    Hi, I recently got CS4 and installed only Photoshop onto my Windows 7 machine. After installing Dreamweaver today, I found that the program was installed with errors. I could not run the program. The language pack is missing or corrupted, The error m