Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    v23 AIK step 6.2: "compile_ora compilation is not successful"

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    In AIK Step 6, Post-Installation Tasks, menu option 2 'run test compilation',  for version 23. We are getting errors on the compile_ora and compile_pc in the ./AIK23/log/aleph_installation_kit.log:

    Run test compilation 

    Execute master cshrc
    put_ora_passwd: creat: No such file or directory
    put_ora_passwd: creat: No such file or directory
    put_ora_passwd: creat: No such file or directory
    put_ora_passwd: creat: No such file or directory
    compile_cbl_files/
    compile_cbl_files/test_cobol.cbl
    compile_cc_files/
    compile_cc_files/test_compile_ora.c
    compile_cc_files/test_compile_cc.c
    test_cobol.cbl
    test_compile
    test_compile_cc.c
    test_compile_ora.pc
    test_compile_pc.pc
    ==============================================
          Creation test_compile directory   
    ==============================================
    ==============================================
                Start the compilation check
    ==============================================

    Checking compile_ora...
    Error: compile_ora compilation is not successful

    Checking compile_pc...
    Error: test_compile_pc compilation is not successful

    Checking compile_cc...
    OK

    <etc.>
     

    Resolution

    Short answer:

    These errors occurred because AIK steps 2.5 and 2.6 had not been run.  Running them -- and rerunning all the steps after them -- corrected the problem.


    Long answer:

    In the $TMPDIR/test_compile.log we see: 

    compile ora: test_compile_ora.pc 
    /exlibris/app/oracle/product/12r1/bin/proc: Command not found. 
    mv: test_compile_ora.pc failed to compile 
    test_compile_pc.pc 
    proc: Command not found. 
    mv: test_compile_pc.pc failed to compile 

    The test_compile_cc and test_cobol are OK. 

    As you can see above, compile ora is expecting to find test_compile_ora.pc in the /exlibris/app/oracle/product/12r1/bin/ directory. But there is no /exlibris/app/oracle directory and, in fact, the /exlibris/app directory is empty. 

    Looking in the /exlibris/ftp_from_exlibris/AIK23/log/aleph_installation_kit.log, we find eight 

     put_ora_passwd: creat: No such file or directory 

    messages: four in Step ikit_5_3 and four in Step ikit_6_2 (immediately preceding the compile_ora and compile_pc error messages). 

    Resolution:  The previous steps 2.5 and 2.6, which populate /exlibris/app/ and /exlibris/app/oracle, were not run. Running them -- and rerunning all the steps after them -- corrected the problem.  

    NOTE:  This occurred on the application server in a TWO_TASK installation where the customer was avoiding steps pertaining to the Oracle server and thought (incorrectly) that steps 2.5 and 2.6 did not need to be run on the application server.


     

     

     


    • Article last edited: 8-May-2018
    //Feedback