Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Programs (generally)
Results 1 to 9 of 9

Thread: Programs (generally)

  1. #1
    shaun680
    Guest

    Programs (generally)

    Hi all,

    All of the preinstalled linux programs work fine. It's just that when I download and install other programs, for example AMSN, they wont open when I click on them in the menu, or double-click in Nautilius. I have to open up a terminal, change into the directory and ./filename, which means it works fine, but if I close the terminal down, the program also terminates. I was wondering if this is normal, or am I doing something wrong? The files were in .tar.gz format, and I installed them by:

    tar -xzvf filename.tar.gz
    cd filename
    make
    make install

    while logged in as root. Also the same thing happened when I installed a src.rpm by rpm --rebuild file.rpm. Any help would be much appreciated.

    Shaun

    p.s. I am using RedHat 7.3 Kernel 2.4.18-3 and using GNOME if this is of any help

  2. #2
    JimH
    Guest

    Re:Programs (generally)

    Quote Originally Posted by shaun680
    All of the preinstalled linux programs work fine. It's just that when I download and install other programs, for example AMSN, they wont open when I click on them in the menu, or double-click in Nautilius. I have to open up a terminal, change into the directory and ./filename, which means it works fine, but if I close the terminal down, the program also terminates. I was wondering if this is normal, or am I doing something wrong?
    Are these terminal or GUI programs?
    Are these programs executable only by the root user?
    Did you add the menu entries yourself? Have you tried using the full path to the executable when you add the menu entry. Maybe the programs are not being installed in your path.

    while logged in as root. Also the same thing happened when I installed a src.rpm by rpm --rebuild file.rpm. Any help would be much appreciated.
    This only creates a binary rpm. It does not install it. You still need to install the binary rpm that is created by using rpm --rebuild.

    P.S. rpm --rebuild is depreciated use: rpmbuild --rebuild.

    Jim H

  3. #3
    shaun680
    Guest

    Re:Programs (generally)

    Are these terminal or GUI programs?
    Are these programs executable only by the root user?
    Did you add the menu entries yourself? Have you tried using the full path to the executable when you add the menu entry. Maybe the programs are not being installed in your path.
    They're GUI programs...when I run them from the terminal the GUI pops up and everything runs fine. I installed them as root and tried to run them while logged in as root and as a normal user to no sucess. The menu entries appeared after install, I didn't add them.

    This only creates a binary rpm. It does not install it. You still need to install the binary rpm that is created by using rpm --rebuild.
    I did install the binary, although I couldn't find the actual binary rpm so I installed it with GnoRPM. This also put the menu entry in etc.

    Shaun

  4. #4
    JimH
    Guest

    Re:Programs (generally)

    Quote Originally Posted by shaun680
    The menu entries appeared after install, I didn't add them.
    Check the menu entries and make sure they are correct.

    Strange that you are having problems with both rpm's and tar.gz files.
    Post the output of this:

    echo $PATH

    Jim H

  5. #5
    shaun680
    Guest

    Re:Programs (generally)

    Post the output of this:

    echo $PATH
    #echo $PATH
    /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

    ???

    Oh and I'm not sure if the menu entries are right, I right clicked them and clicked "properties" and in the "Command" box it just had "amsn" which I changed to "/home/msn/aMSN" but this made no difference.

    Shaun

  6. #6
    JimH
    Guest

    Re:Programs (generally)

    You installed it in /home?

    This will show you where the amsn binaries are on your system.

    whereis -b amsn

    Jim H

  7. #7
    shaun680
    Guest

    Re:Programs (generally)

    You installed it in /home?
    i downloaded the tar.gz file to /home, and then extracted which created a directory called /home/msn which i then went into and did make & make install. amsn was a tar, the other file that i tried which was an src.rpm is called everybuddy (same sort of IM thing), which has the same problems.

    Shaun

  8. #8
    JimH
    Guest

    Re:Programs (generally)

    These programs apparently are not in your path.

    What was the output of: whereis -b amsn

    Jim H

  9. #9

    Re:Programs (generally)

    amsn is a tk script
    it needs to run from the current directory.
    the way to get around this is create a bash script
    #!/bin/sh
    cd /home/me/msn
    ./amsn
    save and make exectuable (chmod a+x runmsn)
    then create a launcher to that

    Alastair
    whatdoyougetwhenyoumultiplysixbynine??

Similar Threads

  1. Any GPL FTP programs ?
    By Compunuts in forum Windows - General Topics
    Replies: 9
    Last Post: 12-05-2009, 04:08 PM
  2. What programs do you use?
    By Compunuts in forum Windows - General Topics
    Replies: 31
    Last Post: 09-14-2006, 09:21 AM
  3. win 98 programs
    By lisinda in forum Windows - General Topics
    Replies: 0
    Last Post: 05-31-2005, 02:09 PM
  4. *nix programs on OS X - HELP!
    By praetorian in forum Linux Distros
    Replies: 6
    Last Post: 05-18-2004, 09:58 PM
  5. Programs
    By mugs in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 06-07-2002, 03:53 PM

Bookmarks

Posting Permissions

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