Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. How to test whether all types Aleph programs can be compiled

    How to test whether all types Aleph programs can be compiled

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph

    Desired Outcome Goal:
    Verify that all types of Aleph programs (Pro*C, C, COBOL) can be compiled on an Aleph server.

    Procedure:
    (1)
    Check if the Aleph Installation Kit (AIK) is installed in the directory /exlibris/ftp_from_exlibris/AIK22 on the Aleph server.


    (2)
    If AIK is not installed, then download its tar file from the Ex Libris ftp server and extract it in the directory /exlibris/ftp_from_exlibris of the Aleph server.


    (3)
    Extract the tar archive /exlibris/ftp_from_exlibris/AIK22/test_compile.tar.gz in the directory $alephm_scratch (as UNIX user aleph):

    $ cd $alephm_scratch

    $ tar xzf /exlibris/ftp_from_exlibris/AIK22/test_compile.tar.gz


    (4)
    Execute the compilation test script test_compile as UNIX user aleph:


    $ ./test_compile

    Expected screen output:

    --------------------------------------------------------------------------------

    ==============================================
    Creation test_compile directory
    ==============================================
    ==============================================
    Start the compilation check
    ==============================================

    Checking compile_ora...
    compile ora: test_compile_ora.pc

    Pro*C/C++: Release 11.2.0.4.0 - Production on Fri Mar 6 16:59:31 2015

    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

    System default option values taken from: /exlibris/app/oracle/product/11r2/precomp/admin/pcscfg.cfg

    compile_cc: test_compile test_compile_ora

    Checking compile_pc...
    test_compile_pc.pc

    Pro*C/C++: Release 11.2.0.4.0 - Production on Fri Mar 6 16:59:31 2015

    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

    System default option values taken from: /exlibris/app/oracle/product/11r2/precomp/admin/pcscfg.cfg

    test_compile_pc.c: In function 'move_to_buf':
    test_compile_pc.c:553: warning: incompatible implicit declaration of built-in function 'memcpy'
    test_compile_pc.c: In function 'flush_buf':
    test_compile_pc.c:574: warning: incompatible implicit declaration of built-in function 'memcpy'

    Checking compile_cc...
    compile_cc: test_compile test_compile_cc

    Checking Cobol compilation...
    iprou: test_compile test_cobol

    Checking create_rts...
    create rts
    ==============================================
    End of the compilation check
    ==============================================

    Cleaning up...
    --------------------------------------------------------------------------------


    (5)
    Ensure that the screen output of the script test_compile does not include any error messages.

    The warning messages from the script test_compile_pc.c ("In function [...] warning: incompatible implicit declaration [...]") can be ignored.


    • Article last edited: 3/6/2015
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to test the POST method of the X-service (like Update-Bor)?
      • How to to enable the option to change the 008 (00-05 position) of the newly created bib record
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. Prod:Aleph
      3. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved