Find the answer to your Linux question:
Results 1 to 2 of 2
I am fairly new to Linux and have CentOS installed and running postfix for the use of TLS on a test box. Everything has been configured correctly, but I was ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    2

    Smile PFQUEUE for Postfix questions


    I am fairly new to Linux and have CentOS installed and running postfix for the use of TLS on a test box. Everything has been configured correctly, but I was wanting to monitor the queues and be able to search and delete mail, etc.

    I downloaded pfqueue from sourceforge and made sure I had ncurses by running yum install ncurses which looked like it downloaded and installed.

    I downloaded the tar.qz for pfqueue and untarred and then did a sh configure from the /etc/postfix/pfqueue-0.5.2 directory as the instructions on the site told me. I then did a make install from the same directory. I get this error message below:

    I have 2 questions

    1) After install - how do I RUN or LOOK at the console screen for pfqueue. Nowhere that I saw, are the instructions to actually run it. Only switches

    2) Are these errors below serious? What's going on?

    Code:
    In file included from fe_ncurses.c:10:
    fe_ncurses.h:7:21: ncurses.h: No such file or directory
    In file included from fe_ncurses.c:10:
    fe_ncurses.h:12: error: syntax error before '*' token
    fe_ncurses.h:12: warning: data definition has no type or storage class
    fe_ncurses.h:13: error: syntax error before '*' token
    fe_ncurses.h:13: warning: data definition has no type or storage class
    fe_ncurses.h:14: error: syntax error before '*' token
    fe_ncurses.h:14: warning: data definition has no type or storage class
    fe_ncurses.h:15: error: syntax error before '*' token
    fe_ncurses.h:15: warning: data definition has no type or storage class
    In file included from fe_ncurses.c:11:
    ncgui.h:12: error: syntax error before '*' token
    ncgui.h:13: error: syntax error before '*' token
    ncgui.h:15: error: syntax error before '*' token
    fe_ncurses.c: In function `wnd_confirm':
    fe_ncurses.c:45: error: `WINDOW' undeclared (first use in this function)
    fe_ncurses.c:45: error: (Each undeclared identifier is reported only once
    fe_ncurses.c:45: error: for each function it appears in.)
    fe_ncurses.c:45: error: `w' undeclared (first use in this function)
    fe_ncurses.c:45: error: `LINES' undeclared (first use in this function)
    fe_ncurses.c:45: error: `COLS' undeclared (first use in this function)
    fe_ncurses.c: In function `wnd_getregexp':
    fe_ncurses.c:72: error: `WINDOW' undeclared (first use in this function)
    fe_ncurses.c:72: error: `w' undeclared (first use in this function)
    fe_ncurses.c:72: error: `LINES' undeclared (first use in this function)
    fe_ncurses.c:72: error: `COLS' undeclared (first use in this function)
    fe_ncurses.c: In function `help':
    fe_ncurses.c:123: error: `WINDOW' undeclared (first use in this function)
    fe_ncurses.c:123: error: `w' undeclared (first use in this function)
    fe_ncurses.c:136: error: `LINES' undeclared (first use in this function)
    fe_ncurses.c:136: error: `COLS' undeclared (first use in this function)
    fe_ncurses.c:150: error: `A_BOLD' undeclared (first use in this function)
    fe_ncurses.c: In function `win_header':
    fe_ncurses.c:230: error: `A_BOLD' undeclared (first use in this function)
    fe_ncurses.c:241: error: `A_REVERSE' undeclared (first use in this function)
    fe_ncurses.c:244: error: `COLS' undeclared (first use in this function)
    fe_ncurses.c: In function `win_resize':
    fe_ncurses.c:288: warning: assignment makes pointer from integer without a cast
    fe_ncurses.c:289: error: `LINES' undeclared (first use in this function)
    fe_ncurses.c:292: error: `ERR' undeclared (first use in this function)
    fe_ncurses.c:295: error: `COLS' undeclared (first use in this function)
    fe_ncurses.c:300: warning: assignment makes pointer from integer without a cast
    fe_ncurses.c:301: warning: assignment makes pointer from integer without a cast
    fe_ncurses.c:302: warning: assignment makes pointer from integer without a cast
    fe_ncurses.c:303: warning: assignment makes pointer from integer without a cast
    fe_ncurses.c:306: error: `COLOR_WHITE' undeclared (first use in this function)
    fe_ncurses.c:306: error: `COLOR_MAGENTA' undeclared (first use in this function)
    fe_ncurses.c:307: error: `COLOR_BLUE' undeclared (first use in this function)
    fe_ncurses.c:308: error: `COLOR_YELLOW' undeclared (first use in this function)
    fe_ncurses.c:308: error: `COLOR_BLACK' undeclared (first use in this function)
    fe_ncurses.c:309: error: `COLOR_RED' undeclared (first use in this function)
    fe_ncurses.c: In function `show_cursor':
    fe_ncurses.c:383: error: `COLS' undeclared (first use in this function)
    fe_ncurses.c:387: error: `A_REVERSE' undeclared (first use in this function)
    fe_ncurses.c:392: error: `A_BOLD' undeclared (first use in this function)
    fe_ncurses.c: In function `msg_cat':
    fe_ncurses.c:433: error: `WINDOW' undeclared (first use in this function)
    fe_ncurses.c:433: error: `w' undeclared (first use in this function)
    fe_ncurses.c:444: error: `COLS' undeclared (first use in this function)
    fe_ncurses.c:469: error: `LINES' undeclared (first use in this function)
    fe_ncurses.c:470: error: `TRUE' undeclared (first use in this function)
    fe_ncurses.c:474: error: `A_BOLD' undeclared (first use in this function)
    fe_ncurses.c:488: error: `ACS_VLINE' undeclared (first use in this function)
    fe_ncurses.c:496: error: `KEY_HOME' undeclared (first use in this function)
    fe_ncurses.c:500: error: `KEY_END' undeclared (first use in this function)
    fe_ncurses.c:503: error: `KEY_PPAGE' undeclared (first use in this function)
    fe_ncurses.c:509: error: `KEY_NPAGE' undeclared (first use in this function)
    fe_ncurses.c:513: error: `KEY_UP' undeclared (first use in this function)
    fe_ncurses.c:518: error: `KEY_DOWN' undeclared (first use in this function)
    fe_ncurses.c: In function `queue_show':
    fe_ncurses.c:577: error: `A_BOLD' undeclared (first use in this function)
    fe_ncurses.c:581: error: `COLS' undeclared (first use in this function)
    fe_ncurses.c: In function `main_loop':
    fe_ncurses.c:674: error: `KEY_END' undeclared (first use in this function)
    fe_ncurses.c:678: error: `KEY_HOME' undeclared (first use in this function)
    fe_ncurses.c:681: error: `KEY_UP' undeclared (first use in this function)
    fe_ncurses.c:684: error: `KEY_DOWN' undeclared (first use in this function)
    fe_ncurses.c:687: error: `KEY_PPAGE' undeclared (first use in this function)
    fe_ncurses.c:690: error: `KEY_NPAGE' undeclared (first use in this function)
    fe_ncurses.c:693: error: `KEY_RESIZE' undeclared (first use in this function)
    fe_ncurses.c:701: error: `KEY_DC' undeclared (first use in this function)
    fe_ncurses.c: In function `main':
    fe_ncurses.c:826: error: `stderr' undeclared (first use in this function)
    fe_ncurses.c:922: error: `TRUE' undeclared (first use in this function)
    make[1]: *** [fe_ncurses.o] Error 1
    make[1]: Leaving directory `/etc/postfix/pfqueue-0.5.2'
    make: *** [install-recursive] Error 1
    [root@mail2 pfqueue-0.5.2]# ncurses]
    Any help would be GREATLY appreciated!

    I'm glad I found such a complete community!

  2. #2
    Just Joined!
    Join Date
    Sep 2006
    Posts
    2
    Nevermind guys, I didnt have yum isntall ncurses-devel. Just ran yum install ncurses and it was saying nothing to do so I thought it was installed.

Posting Permissions

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