Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2004
    Location
    Rome, Italy
    Posts
    81

    Unanswered: GNU version of getopt

    Hi everybody,
    I want to install the GNU version of getopt(the option parser for a shell) on AIX. Where can I find it and what should I do?

    thank you in advance,
    ducasio

  2. #2
    Join Date
    Aug 2004
    Location
    Rome, Italy
    Posts
    81
    Hei guys,
    actually I found a package getopt-1.1.3.tar.gz. After extracting all files I tryed compiling with the comand:

    make LIBCGETOPT=0

    so in that way I followed the advices of the file README. It gives me an error during linking:

    gcc -o getopt getopt.o gnu/getopt.o gnu/getopt1.o
    ld: 0711-317 ERROR: Undefined symbol: .libintl_gettext
    ld: 0711-317 ERROR: Undefined symbol: .libintl_bindtextdomain
    ld: 0711-317 ERROR: Undefined symbol: .libintl_textdomain
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
    collect2: ld returned 8 exit status

    So who can give an idea what is happening?

    ducasio

  3. #3
    Join Date
    Apr 2004
    Location
    Boston, MA
    Posts
    325
    with all [??] GNU packages you need to run './configure' script first and THEN run the make.
    vlad
    +-----------------------+
    | #include <disclaimer.h> |
    +-----------------------+

  4. #4
    Join Date
    Aug 2004
    Location
    Rome, Italy
    Posts
    81
    I dont have that script included in my package. All I have in the tar file is:

    getopt-1.1.3/
    getopt-1.1.3/getopt.c
    getopt-1.1.3/Makefile
    getopt-1.1.3/gnu/
    getopt-1.1.3/gnu/getopt.c
    getopt-1.1.3/gnu/getopt1.c
    getopt-1.1.3/gnu/getopt.h
    getopt-1.1.3/getopt-test.bash
    getopt-1.1.3/getopt.1
    getopt-1.1.3/TODO
    getopt-1.1.3/COPYING
    getopt-1.1.3/getopt-1.1.3.lsm
    getopt-1.1.3/README
    getopt-1.1.3/Changelog
    getopt-1.1.3/Makefile.util-linux
    getopt-1.1.3/po/
    getopt-1.1.3/po/cs.po
    getopt-1.1.3/po/de.po
    getopt-1.1.3/po/es.po
    getopt-1.1.3/po/fr.po
    getopt-1.1.3/po/it.po
    getopt-1.1.3/po/ja.po
    getopt-1.1.3/po/nl.po
    getopt-1.1.3/po/pt_BR.po
    getopt-1.1.3/getopt-test.tcsh
    getopt-1.1.3/nls.h
    getopt-1.1.3/getopt-parse.bash
    getopt-1.1.3/getopt-parse.tcsh


    What should i find that file?

    ducasio

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •