Results 1 to 15 of 43

Thread: HowTo native compilation ?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #15

    Native compiled dialog, no errors, how to run ?

    Code:
    ...
    
    LEDIR=\"/opt/dialog/share/locale\" -c dialog.c
    gcc -o dialog dialog.o -L. -ldialog  -lncurses  -lm -L/lib
    [admin@oo dialog]$ make install
    making install
    ./mkdirs.sh /opt/dialog/bin
    mkdir /opt/dialog/bin
    /opt/bin/install -c dialog /opt/dialog/bin/`echo dialog |sed s,x,x,`
    ./mkdirs.sh /opt/dialog/man/man1
    mkdir /opt/dialog/man
    mkdir /opt/dialog/man/man1
    /opt/bin/install -c -m 644 ./dialog.1 /opt/dialog/man/man1/`echo dialog |sed s,x,x,`.1
    made install
    [admin@oo dialog]$ dialog
    -sh: dialog: not found
    [admin@oo dialog]$ cd .
    [admin@oo dialog]$ /
    -sh: /: Permission denied
    [admin@oo dialog]$ cd .
    [admin@oo dialog]$ cd ..
    [admin@oo /opt]$ cd ..
    [admin@oo /]$ mc

    [admin@oo /]$ dialog
    -sh: dialog: not found
    [admin@oo /]$ cd opt/dialog
    [admin@oo dialog]$ dialog
    -sh: dialog: not found

    [admin@oo samples]$ editbox
    -sh: editbox: not found
    [admin@oo samples]$ sh editbox
    [admin@oo samples]$ sh dialog .msgbox .Hello from the Linux Blog!. 5 50
    sh: Can't open dialog
    [admin@oo samples]$


    Darius
    Last edited by darius; 26-03-2009 at 13:49.

Similar Threads

  1. [PYTANIE] Asus HOWTO - czy byloby zainteresowanie?
    By kaos in forum Polish Discussion - Polski (PL)
    Replies: 7
    Last Post: 30-11-2008, 15:37

Posting Permissions

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