Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 43

Thread: HowTo native compilation ?

  1. #16

    Native compilation of dialog sources problems

    Hi,

    please follow this logfile and tell me what can be done
    with the last error notice

    configure: error: No curses header-files found

    Darius
    ===============================================

    [admin@oo dialog]$ ./configure --prefix=/opt/dialog
    checking for package version... 1.1
    checking for package patch date... 20080819
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for executable suffix...
    checking for object suffix... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking how to run the C preprocessor... ./configure: ./configure: 1898: egrep: not found
    ./configure: ./configure: 1898: egrep: not found
    gcc -E
    ./configure: ./configure: 1975: egrep: not found
    ./configure: ./configure: 1975: egrep: not found
    checking whether gcc needs -traditional... no
    checking whether make sets ${MAKE}... yes
    checking for ranlib... ranlib
    checking for a BSD compatible install... /opt/bin/install -c
    checking for ar... ar
    checking for POSIXized ISC... no
    checking for gcc option to accept ANSI C... none needed
    checking for an ANSI C-conforming const... yes
    checking for makeflags variable...
    checking if filesystem supports mixed-case filenames... yes
    checking for ctags... no
    checking for etags... no
    checking if you want to see long compiling messages... yes
    checking build system type... mipsel-unknown-linux-gnu
    checking host system type... mipsel-unknown-linux-gnu
    Configuring for linux-gnu
    checking if gcc -U and -D options work together... yes
    checking if we must define _GNU_SOURCE... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for _LARGE_FILES value needed for large files... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for fseeko... yes
    checking whether to use struct dirent64... no
    checking version of gcc... 4.1.1
    checking if you want to check for gcc warnings... no
    checking for ANSI C header files... ./configure: ./configure: 4126: egrep: not f ound
    no
    checking for inline... inline
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for off_t... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking whether we are using the GNU C Library 2.1 or newer... no
    checking for argz.h... ./configure: ./configure: 1: egrep: not found
    no
    checking for limits.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for locale.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for nl_types.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for malloc.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for stddef.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for feof_unlocked... yes
    checking for fgets_unlocked... yes
    checking for getcwd... yes
    checking for getegid... yes
    checking for geteuid... yes
    checking for getgid... yes
    checking for getuid... yes
    checking for mempcpy... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for stpcpy... yes
    checking for strchr... yes
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for tsearch... yes
    checking for __argz_count... no
    checking for __argz_stringify... no
    checking for __argz_next... no
    checking for iconv... yes
    checking for iconv declaration...
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, ch ar * *outbuf, size_t *outbytesleft);
    checking for nl_langinfo and CODESET... yes
    checking for LC_MESSAGES... yes
    checking whether NLS is requested... no
    checking if -lm needed for math functions... yes
    checking if you want to use dmalloc for testing... no
    checking if you want to use dbmalloc for testing... no
    checking if you want to use purify for testing... no
    checking if you want to use valgrind for testing... no
    checking if you want to perform memory-leak testing...
    checking if you want --trace option... yes
    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]$

  2. #17

    another compilation example - ncurses is the issue

    ncurses installed

    --------------------------

    Makefile

    all:: ncurses

    ncurses: ncurses.c
    gcc -o $@ $? -lncurses

    clean::
    rm -f ncurses

    .PHONY: clean

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


    source file .c

    #include <time.h>
    #include <curses.h>

    int current_getch;
    int doloop = 1;
    static WINDOW *mainwnd;
    static WINDOW *screen;
    WINDOW *my_win;

    int now_sec, now_min, now_hour, now_day, now_wday, now_month, now_year;
    time_t now;
    struct tm *now_tm;

    void screen_init(void) {
    mainwnd = initscr();
    noecho();
    cbreak();
    nodelay(mainwnd, TRUE);
    refresh(); // 1)
    wrefresh(mainwnd);
    screen = newwin(13, 27, 1, 1);
    box(screen, ACS_VLINE, ACS_HLINE);
    }

    static void update_display(void) {
    curs_set(0);
    mvwprintw(screen,1,1,"-------- HEADER --------");
    mvwprintw(screen,3,6,"TIME: %d:%d:%d", now_hour, now_min, now_sec);
    mvwprintw(screen,5,6,"DATE: %d-%d-%d", now_day, now_month, now_year);
    mvwprintw(screen,7,6,"PRESS q TO END");
    mvwprintw(screen,10,1,"-------- FOOTER --------");
    wrefresh(screen);
    refresh();
    }

    void screen_end(void) {
    endwin();
    }

    void maketime(void) {
    // Get the current date/time
    now = time (NULL);
    now_tm = localtime (&now);
    now_sec = now_tm->tm_sec;
    now_min = now_tm->tm_min;
    now_hour = now_tm->tm_hour;
    now_day = now_tm->tm_mday;
    now_wday = now_tm->tm_wday;
    now_month = now_tm->tm_mon + 1;
    now_year = now_tm->tm_year + 1900;
    }

    int main(void) {
    screen_init();
    while (doloop) {
    current_getch = getch();
    if (current_getch == 113) {
    doloop = 0;
    }
    maketime();
    update_display();
    sleep(1);
    }
    screen_end();
    printf("TEST ENDS\n");
    return 0;
    }

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


    [admin@oo ncurses]$ make
    gcc -o ncurses ncurses.c -lncurses
    ncurses.c:2:20: error: curses.h: No such file or directory
    ncurses.c:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    ncurses.c:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    ncurses.c:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    ncurses.c: In function 'screen_init':
    ncurses.c:15: error: 'mainwnd' undeclared (first use in this function)
    ncurses.c:15: error: (Each undeclared identifier is reported only once
    ncurses.c:15: error: for each function it appears in.)
    ncurses.c:18: error: 'TRUE' undeclared (first use in this function)
    ncurses.c:21: error: 'screen' undeclared (first use in this function)
    ncurses.c:22: error: 'ACS_VLINE' undeclared (first use in this function)
    ncurses.c:22: error: 'ACS_HLINE' undeclared (first use in this function)
    ncurses.c: In function 'update_display':
    ncurses.c:27: error: 'screen' undeclared (first use in this function)
    ncurses.c: In function 'main':
    ncurses.c:65: warning: incompatible implicit declaration of built-in function 'printf'
    make: *** [ncurses] Error 1

  3. #18

    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

  4. #19
    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]

  5. #20
    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

  6. #21
    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

  7. #22
    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

  8. #23
    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.

  9. #24
    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

  10. #25

    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

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

  11. #26
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    I don't understand what you want now...

    if you just unrar it, ncurses should be installed. (so no extra script available now, maybe there should be linking, but as far as I know, it runs without any linking the headers)
    you should see my build as a patch for the ipkg install.

  12. #27
    Quote Originally Posted by wpte View Post
    I don't understand what you want now...

    read my post once again.

    Your rarred ncurses come with mode set to 644 (so no execution rights)
    So I unrarred your ncurses to temporary directory to see files modes
    set to 644 for ever file, binaries either.
    Changed mode for binaries to 755 and still nothing.

    if you just unrar it, ncurses should be installed. (so no extra script available now, maybe there should be linking, but as far as I know, it runs without any linking the headers)

    Ok.
    Just have a look what Linux modes are respectively set to files in your ncurses and let me them know, especially binaries


    you should see my build as a patch for the ipkg install.
    ok.
    don't you have tarzipped archives for download ?

    I will try again.


    =========
    unrarred your ncurses from /opt directory
    run
    [admin@oo dialog]$ ./configure --prefix=/opt

    and again

    ....
    ...

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


    Could you c&p your logfile showing
    your
    [admin@oo dialog]$ ./configure --prefix=/opt

    Did you installed ipkg ncurses first ,
    than your patch ?

    Have so successfully and finally compiled
    Linux dialog and could you attach binaries to your post ?


    Darius

  13. #28
    follow-up

    installed patch as advised

    cd /
    untar /source/of/archives.tar.gz

    run
    [admin@oo dialog]$ ./configure --prefix=/opt
    from Linux dialog sources directory



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

    tried to compile ncurses based example c code from the net

    [admin@oo ncurses]$ make
    gcc -o ncurses ncurses.c -lncurses
    ncurses.c:2:20: error: curses.h: No such file or directory
    ncurses.c:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    ncurses.c:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    ncurses.c:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    ncurses.c: In function 'screen_init':
    ncurses.c:15: error: 'mainwnd' undeclared (first use in this function)
    ncurses.c:15: error: (Each undeclared identifier is reported only once
    ncurses.c:15: error: for each function it appears in.)
    ncurses.c:18: error: 'TRUE' undeclared (first use in this function)
    ncurses.c:21: error: 'screen' undeclared (first use in this function)
    ncurses.c:22: error: 'ACS_VLINE' undeclared (first use in this function)
    ncurses.c:22: error: 'ACS_HLINE' undeclared (first use in this function)
    ncurses.c: In function 'update_display':
    ncurses.c:27: error: 'screen' undeclared (first use in this function)
    ncurses.c: In function 'main':
    ncurses.c:65: warning: incompatible implicit declaration of built-in function 'printf'
    make: *** [ncurses] Error 1
    [admin@oo ncurses]$

    Any idea.
    Example ncurses.c c code comes from net , Makefile either

    Darius

  14. #29
    Hi,

    tried to native compile Debian Dialog today as ncurses-dev is available.

    What's wrong ?

    Darius

    run
    ./configure --prefix=/opt/dialog

    [code]

    [admin@oo dialog]$ ./configure --prefix=/opt/dialog
    checking for package version... 1.1
    checking for package patch date... 20080819
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for executable suffix...
    checking for object suffix... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking how to run the C preprocessor... ./configure: ./configure: 1898: egrep: not found
    ./configure: ./configure: 1898: egrep: not found
    gcc -E
    ./configure: ./configure: 1975: egrep: not found
    ./configure: ./configure: 1975: egrep: not found
    checking whether gcc needs -traditional... no
    checking whether make sets ${MAKE}... yes
    checking for ranlib... ranlib
    checking for a BSD compatible install... /opt/bin/install -c
    checking for ar... ar
    checking for POSIXized ISC... no
    checking for gcc option to accept ANSI C... none needed
    checking for an ANSI C-conforming const... yes
    checking for makeflags variable...
    checking if filesystem supports mixed-case filenames... yes
    checking for ctags... no
    checking for etags... no
    checking if you want to see long compiling messages... yes
    checking build system type... mipsel-unknown-linux-gnu
    checking host system type... mipsel-unknown-linux-gnu
    Configuring for linux-gnu
    checking if gcc -U and -D options work together... yes
    checking if we must define _GNU_SOURCE... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for _LARGE_FILES value needed for large files... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for fseeko... yes
    checking whether to use struct dirent64... no
    checking version of gcc... 4.1.1
    checking if you want to check for gcc warnings... no
    checking for ANSI C header files... ./configure: ./configure: 4126: egrep: not found
    no
    checking for inline... inline
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for off_t... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking whether we are using the GNU C Library 2.1 or newer... no
    checking for argz.h... ./configure: ./configure: 1: egrep: not found
    no
    checking for limits.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for locale.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for nl_types.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for malloc.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for stddef.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for feof_unlocked... yes
    checking for fgets_unlocked... yes
    checking for getcwd... yes
    checking for getegid... yes
    checking for geteuid... yes
    checking for getgid... yes
    checking for getuid... yes
    checking for mempcpy... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for stpcpy... yes
    checking for strchr... yes
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for tsearch... yes
    checking for __argz_count... no
    checking for __argz_stringify... no
    checking for __argz_next... no
    checking for iconv... yes
    checking for iconv declaration...
    extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for nl_langinfo and CODESET... yes
    checking for LC_MESSAGES... yes
    checking whether NLS is requested... no
    checking if -lm needed for math functions... yes
    checking if you want to use dmalloc for testing... no
    checking if you want to use dbmalloc for testing... no
    checking if you want to use purify for testing... no
    checking if you want to use valgrind for testing... no
    checking if you want to perform memory-leak testing...
    checking if you want --trace option... yes
    checking if you want to build libraries with libtool... no
    checking for extra include directories... no
    checking if we have identified curses headers... curses.h
    checking for curses.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for terminfo header... term.h
    checking for ncurses version... 5.7.20081102
    checking if we have identified curses libraries... no
    checking for tgoto... no
    checking for tgoto in -lncurses... yes
    checking for initscr in -lncurses... yes
    checking if you want extra dialogs... yes
    checking if you want config-file support... yes
    checking if you want Xdialog-style dialogs... yes
    checking if you want the form dialog... yes
    checking if you want the gauge dialog... yes
    checking if you want the tailbox dialog... yes
    checking if you want the mixedform dialog... yes
    checking if you want the mixedgauge dialog... yes
    checking if you want the wide-curses features... no
    checking for ANSI C header files... (cached) no
    checking whether time.h and sys/time.h may both be included... yes
    checking for dirent.h that defines DIR... yes
    checking for opendir in -ldir... no
    checking for search.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for unistd.h... (cached) yes
    checking for term.h... (cached) term.h
    checking return type of signal handlers... void
    checking for _nc_free_and_exit... yes
    checking for strcasecmp... (cached) yes
    checking for tsearch... (cached) yes
    checking for waitpid... yes
    checking if we must define _XOPEN_SOURCE_EXTENDED... unknown
    checking for flushinp... yes
    checking for getbegx... yes
    checking for getbegy... yes
    checking for getbegyx... yes
    checking for getcurx... yes
    checking for getcury... yes
    checking for getmaxx... yes
    checking for getmaxy... yes
    checking for getmaxyx... yes
    checking for getparx... yes
    checking for getpary... yes
    checking for getparyx... yes
    checking for use_default_colors... yes
    checking for wget_wch... no
    checking for start_color... yes
    checking for chtype typedef... yes
    checking if chtype is scalar or struct... scalar
    checking for sys/wait.h... ./configure: ./configure: 1: egrep: not found
    yes
    checking for union wait... no
    checking if we must include wchar.h to declare mbstate_t... yes
    configure: creating ./config.status
    config.status: creating dialog-config
    config.status: creating makefile
    config.status: creating headers-sh
    config.status: creating samples/install/makefile
    config.status: creating dlg_config.h
    config.status: dlg_config.h is unchanged
    [admin@oo dialog]$

  15. #30
    follow-up

    than run
    make
    what's wrong ?
    Is system time an issue ?

    Darius

    Code:
    /opt/include/ncursest/curses.h:753: error: previous declaration of 'wclrtobot' was here
    ./curses.h:681: error: conflicting types for 'wclrtoeol'
    /opt/include/ncursest/curses.h:754: error: previous declaration of 'wclrtoeol' was here
    ./curses.h:682: error: conflicting types for 'wcolor_set'
    /opt/include/ncursest/curses.h:755: error: previous declaration of 'wcolor_set' was here
    ./curses.h:683: error: conflicting types for 'wdelch'
    /opt/include/ncursest/curses.h:757: error: previous declaration of 'wdelch' was here
    ./curses.h:684: error: expected declaration specifiers or '...' before '-' token
    ./curses.h:684: error: conflicting types for 'winsdelln'
    /opt/include/ncursest/curses.h:770: error: previous declaration of 'winsdelln' was here
    ./curses.h:685: error: conflicting types for 'wechochar'
    /opt/include/ncursest/curses.h:759: error: previous declaration of 'wechochar' was here
    ./curses.h:686: error: conflicting types for 'werase'
    /opt/include/ncursest/curses.h:760: error: previous declaration of 'werase' was here
    ./curses.h:687: error: conflicting types for 'wgetch'
    /opt/include/ncursest/curses.h:761: error: previous declaration of 'wgetch' was here
    ./curses.h:688: error: conflicting types for 'wgetnstr'
    /opt/include/ncursest/curses.h:762: error: previous declaration of 'wgetnstr' was here
    ./curses.h:689: error: expected declaration specifiers or '...' before '-' token
    ./curses.h:689: error: conflicting types for 'wgetnstr'
    /opt/include/ncursest/curses.h:762: error: previous declaration of 'wgetnstr' was here
    ./curses.h:690: error: conflicting types for 'whline'
    /opt/include/ncursest/curses.h:764: error: previous declaration of 'whline' was here
    ./curses.h:691: error: conflicting types for 'winch'
    /opt/include/ncursest/curses.h:765: error: previous declaration of 'winch' was here
    ./curses.h:692: error: conflicting types for 'winchnstr'
    /opt/include/ncursest/curses.h:766: error: previous declaration of 'winchnstr' was here
    ./curses.h:693: error: expected declaration specifiers or '...' before '-' token
    ./curses.h:693: error: conflicting types for 'winchnstr'
    /opt/include/ncursest/curses.h:766: error: previous declaration of 'winchnstr' was here
    ./curses.h:694: error: conflicting types for 'winnstr'
    /opt/include/ncursest/curses.h:768: error: previous declaration of 'winnstr' was here
    ./curses.h:695: error: conflicting types for 'winsch'
    /opt/include/ncursest/curses.h:769: error: previous declaration of 'winsch' was here
    ./curses.h:696: error: conflicting types for 'winsdelln'
    /opt/include/ncursest/curses.h:770: error: previous declaration of 'winsdelln' was here
    ./curses.h:697: error: expected declaration specifiers or '...' before numeric constant
    ./curses.h:697: error: conflicting types for 'winsdelln'
    /opt/include/ncursest/curses.h:770: error: previous declaration of 'winsdelln' was here
    ./curses.h:698: error: expected declaration specifiers or '...' before '-' token
    ./curses.h:698: error: conflicting types for 'winnstr'
    /opt/include/ncursest/curses.h:768: error: previous declaration of 'winnstr' was here
    ./curses.h:699: error: conflicting types for 'wmove'
    /opt/include/ncursest/curses.h:775: error: previous declaration of 'wmove' was here
    ./curses.h:700: error: conflicting types for 'wnoutrefresh'
    /opt/include/ncursest/curses.h:776: error: previous declaration of 'wnoutrefresh' was here
    ./curses.h:702: error: conflicting types for 'wprintw'
    /opt/include/ncursest/curses.h:778: error: previous declaration of 'wprintw' was here
    ./curses.h:703: error: conflicting types for 'wredrawln'
    /opt/include/ncursest/curses.h:779: error: previous declaration of 'wredrawln' was here
    ./curses.h:704: error: conflicting types for 'wrefresh'
    /opt/include/ncursest/curses.h:780: error: previous declaration of 'wrefresh' was here
    ./curses.h:705: error: conflicting types for 'wresize'
    /opt/include/ncursest/curses.h:852: error: previous declaration of 'wresize' was here
    ./curses.h:707: error: conflicting types for 'wscanw'
    /opt/include/ncursest/curses.h:782: error: previous declaration of 'wscanw' was here
    ./curses.h:708: error: conflicting types for 'wscrl'
    /opt/include/ncursest/curses.h:783: error: previous declaration of 'wscrl' was here
    ./curses.h:709: error: conflicting types for 'wsetscrreg'
    /opt/include/ncursest/curses.h:784: error: previous declaration of 'wsetscrreg' was here
    ./curses.h:710: error: expected declaration specifiers or '...' before numeric constant
    ./curses.h:710: error: conflicting types for 'wattrset'
    /opt/include/ncursest/curses.h:743: error: previous declaration of 'wattrset' was here
    ./curses.h:711: error: expected declaration specifiers or '...' before numeric constant
    ./curses.h:711: error: conflicting types for 'wattrset'
    /opt/include/ncursest/curses.h:743: error: previous declaration of 'wattrset' was here
    ./curses.h:712: error: conflicting types for 'wtimeout'
    /opt/include/ncursest/curses.h:789: error: previous declaration of 'wtimeout' was here
    ./curses.h:713: error: conflicting types for 'wtouchln'
    /opt/include/ncursest/curses.h:790: error: previous declaration of 'wtouchln' was here
    ./curses.h:716: error: conflicting types for 'wvline'
    /opt/include/ncursest/curses.h:791: error: previous declaration of 'wvline' was here
    make: *** [trace.o] Error 1
    [admin@oo dialog]$

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [PYTANIE] Asus HOWTO - czy byloby zainteresowanie?
    By kaos in forum Polish Discussion - Polski (PL)
    Replies: 7
    Last Post: 30-11-2008, 16: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
  •