Find the answer to your Linux question:
Results 1 to 6 of 6
First off the link in the How to Install sticky at top of this forum sends me to the site index not a tutorial? I need help installing a program ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    3

    Program install question


    First off the link in the How to Install sticky at top of this forum sends me to the site index not a tutorial?

    I need help installing a program called Aspell on a hosted red hat Linux server to which I have SSH access. The first issue is that an old version of the program is installed in /usr/bin but I don't want to uninstall that as I would need special authority to do so. So I am wondering if I can install the program in my /home directory and leave the other installation untouched. I know in Windows it depends on the program whether or not you can have two versions running on the same machine.

  2. #2
    Linux Engineer
    Join Date
    Aug 2004
    Posts
    826
    You can install nearly any program into your home directory if you compile and install from source. When you run the configuration script, it would look something like this:
    Code:
    $ configure --prefix=$HOME
    And then go on to compile and install the program as usual with
    Code:
    $ make
    $ make install
    You can have two versions of the program installed. But the issue would be which version would be used - it all depends on how it's executed.

  3. #3
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by jwoker
    First off the link in the How to Install sticky at top of this forum sends me to the site index not a tutorial?
    You're right. Thanks for the heads up. Since we changed forum software not all the links have been updated. Should be fixed now.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  4. #4
    Just Joined!
    Join Date
    Jan 2006
    Posts
    3

    I think something went wrong

    Here is the output from when I did the make install command - /home/n2w3/aspell06.4 is the directory where I unpacked aspell - can some look at this and tell me what happened:

    jailshell-2.05a$ make install
    Making install in .
    make[1]: Entering directory `/home/n2w3/aspell06.4'
    depbase=`echo common/cache.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
    if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ -DLOCALEDIR=\"/share/locale\" -g -O2 -fno-exceptions -MT common/cache.lo -MD -MP -MF "$depbase.Tpo" -c -o common/cache.lo common/cache.cpp; \
    then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ -DLOCALEDIR=\"/share/locale\" -g -O2 -fno-exceptions -MT common/cache.lo -MD -MP -MF common/.deps/cache.Tpo -c common/cache.cpp -fPIC -DPIC -o common/.libs/cache.o
    common/cache.cpp:1:20: assert.h: No such file or directory
    In file included from common/cache.cpp:3:
    common/stack_ptr.hpp:10:20: assert.h: No such file or directory
    In file included from common/posib_err.hpp:10,
    from common/cache.hpp:4,
    from common/cache-t.hpp:5,
    from common/cache.cpp:4:
    common/string.hpp:10:20: string.h: No such file or directory
    common/string.hpp:11:20: stdlib.h: No such file or directory
    common/string.hpp:13:21: algorithm: No such file or directory
    In file included from common/string.hpp:16,
    from common/posib_err.hpp:10,
    from common/cache.hpp:4,
    from common/cache-t.hpp:5,
    from common/cache.cpp:4:
    common/parm_string.hpp:10:20: string.h: No such file or directory
    In file included from common/string.hpp:17,
    from common/posib_err.hpp:10,
    from common/cache.hpp:4,
    from common/cache-t.hpp:5,
    from common/cache.cpp:4:
    common/mutable_string.hpp:10:20: string.h: No such file or directory
    make[1]: *** [common/cache.lo] Error 1
    make[1]: Leaving directory `/home/n2w3/aspell06.4'
    make: *** [install-recursive] Error 1
    jailshell-2.05a$ jailshell-2.05a$ make install
    jailshell: jailshell-2.05a$: command not found
    jailshell-2.05a$ Making install in .
    jailshell: Making: command not found
    jailshell-2.05a$ make[1]: Entering directory `/home/n2w3/aspell06.4'
    > depbase=`echo common/cache.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
    > if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ -DLOCALEDIR=\"/share/locale\" -g -O2 -fno-exceptions -MT common/cache.lo -MD -MP -MF "$depbase.Tpo" -c -o common/cache.lo common/cache.cpp; \
    > then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
    > g++ -DHAVE_CONFIG_H -I. -I. -I./gen -I./gen -I./common -I./interfaces/cc/ -I./modules/speller/default/ -DLOCALEDIR=\"/share/locale\" -g -O2 -fno-exceptions -MT common/cache.lo -MD -MP -MF common/.deps/cache.Tpo -c common/cache.cpp -fPIC -DPIC -o common/.libs/cache.o
    > common/cache.cpp:1:20: assert.h: No such file or directory
    > In file included from common/cache.cpp:3:
    > common/stack_ptr.hpp:10:20: assert.h: No such file or directory
    > In file included from common/posib_err.hpp:10,
    > from common/cache.hpp:4,
    > from common/cache-t.hpp:5,
    > from common/cache.cpp:4:
    > common/string.hpp:10:20: string.h: No such file or directory
    > common/string.hpp:11:20: stdlib.h: No such file or directory
    > common/string.hpp:13:21: algorithm: No such file or directory
    > In file included from common/string.hpp:16,
    > from common/posib_err.hpp:10,
    > from common/cache.hpp:4,
    > from common/cache-t.hpp:5,
    > from common/cache.cpp:4:
    > common/parm_string.hpp:10:20: string.h: No such file or directory
    > In file included from common/string.hpp:17,
    > from common/posib_err.hpp:10,
    > from common/cache.hpp:4,
    > from common/cache-t.hpp:5,
    > from common/cache.cpp:4:
    > common/mutable_string.hpp:10:20: string.h: No such file or directory
    > make[1]: *** [common/cache.lo] Error 1
    > make[1]: Leaving directory `/home/n2w3/aspell06.4'
    > make: *** [install-recursive] Error 1
    > jailshell-2.05a$

  5. #5
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    It's saying that it can't find string.h and assert.h, and other core C++ headers.

    I assume jailshell is a crippled account? My guess is that you'll be needing access to /usr/include in order to access these essential files.

  6. #6
    Just Joined!
    Join Date
    Jan 2006
    Posts
    3
    I can navigate to /usr but there does not seem to be an /usr/include folder. Is it there and I just can't see it b/c I don't have access to it?

    It is very difficult for me to get my web host to do more than they already have by giving me SSH access. Is there any other way to get this program installed? Can the program be compiled on another machine and uploaded to the server?

    Thanks for all the help so far.

Posting Permissions

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