Skip to content

Instantly share code, notes, and snippets.

@Manuel4131
Last active November 29, 2024 13:35

Revisions

  1. @mbillard mbillard renamed this gist Jan 20, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @mbillard mbillard renamed this gist Jan 20, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. @mbillard mbillard revised this gist Jan 20, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@

    > Running `configure` takes awhile. While running, it prints some messages telling which features it is checking for.
    > \4. Type `make` to compile the package.
    > 4. Type `make` to compile the package.
    > 5. Optionally, type `make check` to run any self-tests that come with the package.
    > 6. Type `make install` to install the programs and any data files and documentation.
    > 7. You can remove the program binaries and object files from the source code directory by typing `make clean`. To also remove the files that `configure` created (so you can compile the package for a different kind of computer), type `make distclean`. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
  4. @mbillard mbillard revised this gist Jan 20, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@

    > Running `configure` takes awhile. While running, it prints some messages telling which features it is checking for.
    > 4. Type `make` to compile the package.
    > \4. Type `make` to compile the package.
    > 5. Optionally, type `make check` to run any self-tests that come with the package.
    > 6. Type `make install` to install the programs and any data files and documentation.
    > 7. You can remove the program binaries and object files from the source code directory by typing `make clean`. To also remove the files that `configure` created (so you can compile the package for a different kind of computer), type `make distclean`. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
  5. @mbillard mbillard revised this gist Jan 20, 2012. 1 changed file with 11 additions and 14 deletions.
    25 changes: 11 additions & 14 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,17 +1,14 @@
    > 01. Wget ftp://ftp.gnu.org/pub/gnu/gettext/gettext...t-0.12.1.tar.gz
    > 02. Untar file as tar -zxvf gettext-0.12.1.tar.gz
    > 03. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type
    `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself.
    > 1. Wget ftp://ftp.gnu.org/pub/gnu/gettext/gettext...t-0.12.1.tar.gz
    > 2. Untar file as tar -zxvf gettext-0.12.1.tar.gz
    > 3. `cd` to the directory containing the package's source code and type `./configure` to configure the package for your system. If you're using `csh` on an old version of System V, you might need to type
    `sh ./configure` instead to prevent `csh` from trying to execute `configure` itself.

    > Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for.
    > Running `configure` takes awhile. While running, it prints some messages telling which features it is checking for.
    > 04. Type `make' to compile the package.
    > 05. Optionally, type `make check' to run any self-tests that come with the package.
    > 06. Type `make install' to install the programs and any data files and documentation.
    > 07. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
    > 4. Type `make` to compile the package.
    > 5. Optionally, type `make check` to run any self-tests that come with the package.
    > 6. Type `make install` to install the programs and any data files and documentation.
    > 7. You can remove the program binaries and object files from the source code directory by typing `make clean`. To also remove the files that `configure` created (so you can compile the package for a different kind of computer), type `make distclean`. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
    > [source](http://www.bodhost.com/forum/linux-server-hosting/461-install-gettext.html)
    @@ -30,8 +27,8 @@ There might be an issue when running step 4, do the following if you get the err
    > In the 34 line of .//gettext-tools/gnulib-lib/stpncpy.c:
    > Modify
    > __stnpcpy (char *dest, const char *src, size_t n)
    > `__stnpcpy (char *dest, const char *src, size_t n)`
    > to
    > __stpcpy (char *dest, const char *src, size_t n)
    > `__stpcpy (char *dest, const char *src, size_t n)`
    > [source](http://techshow.me/doc/276)
  6. @mbillard mbillard revised this gist Jan 20, 2012. 1 changed file with 2 additions and 5 deletions.
    7 changes: 2 additions & 5 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@
    > 07. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
    > (source)[1]
    > [source](http://www.bodhost.com/forum/linux-server-hosting/461-install-gettext.html)
    There might be an issue when running step 4, do the following if you get the error and restart from step 4:

    @@ -34,7 +34,4 @@ There might be an issue when running step 4, do the following if you get the err
    > to
    > __stpcpy (char *dest, const char *src, size_t n)
    > (source)[2]
    [1]: http://www.bodhost.com/forum/linux-server-hosting/461-install-gettext.html
    [2]: http://techshow.me/doc/276
    > [source](http://techshow.me/doc/276)
  7. @mbillard mbillard renamed this gist Jan 20, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. @mbillard mbillard created this gist Jan 20, 2012.
    40 changes: 40 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    > 01. Wget ftp://ftp.gnu.org/pub/gnu/gettext/gettext...t-0.12.1.tar.gz
    > 02. Untar file as tar -zxvf gettext-0.12.1.tar.gz
    > 03. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type
    `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself.

    > Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for.

    > 04. Type `make' to compile the package.

    > 05. Optionally, type `make check' to run any self-tests that come with the package.

    > 06. Type `make install' to install the programs and any data files and documentation.

    > 07. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.

    > (source)[1]

    There might be an issue when running step 4, do the following if you get the error and restart from step 4:

    > stpncpy.c:34: error: expected declaration specifiers or ‘...’ before numeric constant
    > stpncpy.c:34: error: expected ‘)’ before ‘!=’ token
    > stpncpy.c:34: error: expected ‘)’ before ‘?’ token
    > make[4]: *** [stpncpy.lo] Error 1
    > make[4]: *** Waiting for unfinished jobs....
    > make[3]: *** [all] Error 2
    > make[2]: *** [all-recursive] Error 1
    > make[1]: *** [all] Error 2
    > make: *** [all-recursive] Error 1

    > In the 34 line of .//gettext-tools/gnulib-lib/stpncpy.c:

    > Modify
    > __stnpcpy (char *dest, const char *src, size_t n)
    > to
    > __stpcpy (char *dest, const char *src, size_t n)

    > (source)[2]

    [1]: http://www.bodhost.com/forum/linux-server-hosting/461-install-gettext.html
    [2]: http://techshow.me/doc/276