Results 1 to 15 of 43

Thread: HowTo native compilation ?

Hybrid View

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

    Linux dialog native compilation problems as before

    Hi,

    downloaded, unrarred and installed
    ncurses by wpte

    run
    [admin@oo dialog]$ ./configure --prefix=/opt


    .................
    ...
    checking if we have identified curses headers... none
    configure: error: No curses header-files found

    Any idea how to get Linux dialog finally compiled ?

    Darius

  2. #2
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by darius View Post
    Hi,

    downloaded, unrarred and installed
    ncurses by wpte

    run
    [admin@oo dialog]$ ./configure --prefix=/opt


    .................
    ...
    checking if we have identified curses headers... none
    configure: error: No curses header-files found

    Any idea how to get Linux dialog finally compiled ?

    Darius

    are you sure you placed the files in the correct folder?
    I get this output:
    checking if we have identified curses headers... curses.h
    checking for curses.h... yes
    you can also specify the right dir with:
    ./configure --with-curses-dir=[the dir you installed ncruses in]

  3. #3
    Quote Originally Posted by wpte View Post
    are you sure you placed the files in the correct folder?
    I get this output:


    you can also specify the right dir with:
    ./configure --with-curses-dir=[the dir you installed ncruses in]
    Ok.
    So tell me the right installation procedure and how to start with,
    step by step.
    Where download ncurses-5.7.rar to
    and what commands, switches should I use with
    unrar ... ncurses-5.7.rar

    Mayby I should use an installer for uncurses to chmod for directories ?

    Darius

  4. #4
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    well... I expect people to look inside an archive before just extracting it anywhere

    the archive contains the folder opt, referring as your disk mounted as opt....

    so if you use command line (and it works), you should first cd to home:
    cd /
    now you can unrar it I guess, if it works the same way as tar in commandline.

    you can also extract it simply by winrar to a samba share of your /opt

  5. #5
    Quote Originally Posted by wpte View Post
    well... I expect people to look inside an archive before just extracting it anywhere

    the archive contains the folder opt, referring as your disk mounted as opt....

    so if you use command line (and it works), you should first cd to home:

    now you can unrar it I guess, if it works the same way as tar in commandline.

    you can also extract it simply by winrar to a samba share of your /opt
    Ok.
    I downloaded your .tar twice.
    First into root directory and started to unrar it.
    (/opt as /is read only-system)
    The process was very slow so I terminated it (/opt is low on memory)
    and get it untarred into 3rd partition disc0_3
    than copied /opt directory tree into /opt on the 2nd partition (home).
    I was surprised to see all of archive files chmodded to 644
    as binaries should get 755 mode.

    Slow extracting of archives on /opt
    worked really fast on /tmp/mnt
    seting 644 mode to every extracted file.

    Did your archive come with file attributes some set to 644 and some to 755 ?

    Or should I set attributes manually ?

    Darius

  6. #6
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by darius View Post
    Did your archive come with file attributes some set to 644 and some to 755 ?

    Or should I set attributes manually ?

    Darius
    If you unrar them via samba, the attributes should be allright.
    note that winrar doesnt use any attributes!
    so if you unrar it via command line you probably should.

  7. #7
    Quote Originally Posted by wpte View Post
    If you unrar them via samba, the attributes should be allright.
    note that winrar doesnt use any attributes!
    so if you unrar it via command line you probably should.
    lost my message
    ========
    Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.
    ===========
    rar doesn't preserve attributes (from the net).

    set 755 to /opt/bin unrarred
    what should I next ?

    did you provide install script, as you keep requsting me to install
    your rarred ncurses
    and directory tree has no special install script
    or /opt/ncurses directory

    tried to download and unpack ncurses.ipkg
    I installed from ipkg
    unfortunately can't get it downloaded and saved to disk with wget or lynx .

    (from the net)
    tar can do the job to preserve file/directories attributes

    The only install I can do is to copy your unrarred ncurses /opt tree
    into root /opt tree

    And finally, what is your suggestion for option directory to run
    as I don't have specific directory for your unrarred and copied ncurses

    so run ./configure as below
    [admin@oo dialog]$ ./configure --prefix=/opt



    checking if you want to build libraries with libtool... no
    checking for extra include directories... no
    checking if we have identified curses headers... none
    configure: error: No curses header-files found
    [admin@oo dialog]$


    And the last but not least

    Is your ncurses package not in conflict with ipkg ncurses package I have already installed ?
    as I don't see it named as ncurses-devel

    Darius

  8. #8

    got my previous answer back

    Quote Originally Posted by wpte View Post
    If you unrar them via samba, the attributes should be allright.
    note that winrar doesnt use any attributes!
    so if you unrar it via command line you probably should.
    Hi,
    I got it from cache

    ==================
    Quote Originally Posted by wpte View Post
    If you unrar them via samba, the attributes should be allright.
    note that winrar doesnt use any attributes!
    so if you unrar it via command line you probably should.
    Ok.
    I native downloaded and unrarred your archives.
    Linux file system only no samba.

    (from the net)
    =============
    Tar is an archiver that collects all files and attributes (important on Linux; not so very much on Windows) into one stream.

    Obviously, you didn't read that rar archives do not preserve file attributes and permissions.


    Re: D2X-XL posted by Anonymous @ 71.229.81.55 on Nov 17 2006 7:58 AM
    Another issue with using rar and zip is that they don't allow for the enhanced linux file attributes, such as file ownership and so forth; making a backup of your system using rar will NOT give you a real "backup", but a disaster.
    ===========
    Ok.
    So I chmod 755 bin directory in untarred /opt
    than copied into root /opt


    ------------------
    BTW
    ncurses is ipkg package I installed earlier from ipkg list
    ----------
    ncurses - 5.7-1 - NCurses libraries
    ncursesw - 5.7-1 - NCurses libraries with wide char support.


    Is using ncurses developed by you in /opt not in conflict with the ncurses from ipkg ?


    logfile
    ...
    ...
    checking if we have identified curses headers... none
    configure: error: No curses header-files found
    [admin@oo dialog]$

    So what attributes should I set for each of directories in your ncurses
    (unrarred package).
    /bin set to 755
    is it ok
    as I run compilation as admin ?

    And what place is right for installation of ncurses, you have mentioned earlier,

    "
    you can also specify the right dir with:
    ./configure --with-curses-dir=[the dir you installed ncruses in]
    "

    I set ./configure --prefix=/opt
    as your ncurses comes as /opt directory tree
    so what is your suggestion
    as you keep insisting on me to install unrarred ncurses.
    Did you provide install script ?

    As unrarred ncurses directory tree has not
    /opt/ncurses directory
    already created by me to native compile
    ncurses.c program.



    Tried to download and untar ncurses as ipk package to see
    file /directory attributes
    http://ipkg.nslu2-linux.org/feeds/op.../cross/stable/
    but can't get wget or http lynx to download and save it to disk.


    Darius

    =================

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
  •