#2 Configure needs to check for readline

open
nobody
5
2008-05-19
2008-05-19
Anonymous
No

Configure should check for readline otherwise make doesn't finish.

Discussion

  • John Syrinek

    John Syrinek - 2008-10-29

    I second this.

    Exact error message (in cmdline directory): cmdline_main.c:15:31: error: readline/readline.h: No such file or directory

    Output from make:

    Script started on Tue 28 Oct 2008 11:59:53 PM EDT
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exitsudo dpkg-buildpackageexitmake
    cd . && /bin/bash ./config.status config.h
    config.status: creating config.h
    config.status: config.h is unchanged
    make all-recursive
    make[1]: Entering directory `/home/johntron/afpfs-ng-0.8.1'
    Making all in lib
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/lib'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/lib'
    Making all in fuse
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    Making all in cmdline
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -g -O2 -g -O2 -MT afpcmd-cmdline_main.o -MD -MP -MF .deps/afpcmd-cmdline_main.Tpo -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c
    cmdline_main.c:15:31: error: readline/readline.h: No such file or directory
    cmdline_main.c:16:30: error: readline/history.h: No such file or directory
    cmdline_main.c: In function ‘initialize_readline’:
    cmdline_main.c:130: error: ‘rl_readline_name’ undeclared (first use in this function)
    cmdline_main.c:130: error: (Each undeclared identifier is reported only once
    cmdline_main.c:130: error: for each function it appears in.)
    cmdline_main.c:133: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
    cmdline_main.c: At top level:
    cmdline_main.c:181: warning: initialization from incompatible pointer type
    cmdline_main.c: In function ‘cmdline_ui’:
    cmdline_main.c:322: warning: assignment makes pointer from integer without a cast
    make[2]: *** [afpcmd-cmdline_main.o] Error 1
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/johntron/afpfs-ng-0.8.1'
    make: *** [all] Error 2
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exit
    exit

    Script done on Wed 29 Oct 2008 12:01:43 AM EDT

    So ./configure worked fine, but make fails because readline doesn't exist. I'm not comfortable trying to resolve this myself, so I'll just wait for some feedback or a patch. Thanks for all your work! I'm excited.

     
  • John Syrinek

    John Syrinek - 2008-10-29

    I second this.

    Exact error message (in cmdline directory): cmdline_main.c:15:31: error: readline/readline.h: No such file or directory

    Output from make:

    Script started on Tue 28 Oct 2008 11:59:53 PM EDT
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exitsudo dpkg-buildpackageexitmake
    cd . && /bin/bash ./config.status config.h
    config.status: creating config.h
    config.status: config.h is unchanged
    make all-recursive
    make[1]: Entering directory `/home/johntron/afpfs-ng-0.8.1'
    Making all in lib
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/lib'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/lib'
    Making all in fuse
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    Making all in cmdline
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -g -O2 -g -O2 -MT afpcmd-cmdline_main.o -MD -MP -MF .deps/afpcmd-cmdline_main.Tpo -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c
    cmdline_main.c:15:31: error: readline/readline.h: No such file or directory
    cmdline_main.c:16:30: error: readline/history.h: No such file or directory
    cmdline_main.c: In function ‘initialize_readline’:
    cmdline_main.c:130: error: ‘rl_readline_name’ undeclared (first use in this function)
    cmdline_main.c:130: error: (Each undeclared identifier is reported only once
    cmdline_main.c:130: error: for each function it appears in.)
    cmdline_main.c:133: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
    cmdline_main.c: At top level:
    cmdline_main.c:181: warning: initialization from incompatible pointer type
    cmdline_main.c: In function ‘cmdline_ui’:
    cmdline_main.c:322: warning: assignment makes pointer from integer without a cast
    make[2]: *** [afpcmd-cmdline_main.o] Error 1
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/johntron/afpfs-ng-0.8.1'
    make: *** [all] Error 2
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exit
    exit

    Script done on Wed 29 Oct 2008 12:01:43 AM EDT

    So ./configure worked fine, but make fails because readline doesn't exist. I'm not comfortable trying to resolve this myself, so I'll just wait for some feedback or a patch. Thanks for all your work! I'm excited.

     
  • John Syrinek

    John Syrinek - 2008-10-29

    I second this.

    Exact error message (in cmdline directory): cmdline_main.c:15:31: error: readline/readline.h: No such file or directory

    Output from make:

    Script started on Tue 28 Oct 2008 11:59:53 PM EDT
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exitsudo dpkg-buildpackageexitmake
    cd . && /bin/bash ./config.status config.h
    config.status: creating config.h
    config.status: config.h is unchanged
    make all-recursive
    make[1]: Entering directory `/home/johntron/afpfs-ng-0.8.1'
    Making all in lib
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/lib'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/lib'
    Making all in fuse
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    Making all in cmdline
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -g -O2 -g -O2 -MT afpcmd-cmdline_main.o -MD -MP -MF .deps/afpcmd-cmdline_main.Tpo -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c
    cmdline_main.c:15:31: error: readline/readline.h: No such file or directory
    cmdline_main.c:16:30: error: readline/history.h: No such file or directory
    cmdline_main.c: In function ‘initialize_readline’:
    cmdline_main.c:130: error: ‘rl_readline_name’ undeclared (first use in this function)
    cmdline_main.c:130: error: (Each undeclared identifier is reported only once
    cmdline_main.c:130: error: for each function it appears in.)
    cmdline_main.c:133: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
    cmdline_main.c: At top level:
    cmdline_main.c:181: warning: initialization from incompatible pointer type
    cmdline_main.c: In function ‘cmdline_ui’:
    cmdline_main.c:322: warning: assignment makes pointer from integer without a cast
    make[2]: *** [afpcmd-cmdline_main.o] Error 1
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/johntron/afpfs-ng-0.8.1'
    make: *** [all] Error 2
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exit
    exit

    Script done on Wed 29 Oct 2008 12:01:43 AM EDT

    So ./configure worked fine, but make fails because readline doesn't exist. I'm not comfortable trying to resolve this myself, so I'll just wait for some feedback or a patch. Thanks for all your work! I'm excited.

     
  • John Syrinek

    John Syrinek - 2008-10-29

    I second this.

    Exact error message (in cmdline directory): cmdline_main.c:15:31: error: readline/readline.h: No

     
  • John Syrinek

    John Syrinek - 2008-10-29

    I second this.

    Exact error message (in cmdline directory): cmdline_main.c:15:31: error: readline/readline.h: No such file or directory

    Output from make:

    Script started on Tue 28 Oct 2008 11:59:53 PM EDT
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exitsudo dpkg-buildpackageexitmake
    cd . && /bin/bash ./config.status config.h
    config.status: creating config.h
    config.status: config.h is unchanged
    make all-recursive
    make[1]: Entering directory `/home/johntron/afpfs-ng-0.8.1'
    Making all in lib
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/lib'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/lib'
    Making all in fuse
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    Making all in cmdline
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -g -O2 -g -O2 -MT afpcmd-cmdline_main.o -MD -MP -MF .deps/afpcmd-cmdline_main.Tpo -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c
    cmdline_main.c:15:31: error: readline/readline.h: No such file or directory
    cmdline_main.c:16:30: error: readline/history.h: No such file or directory
    cmdline_main.c: In function ‘initialize_readline’:
    cmdline_main.c:130: error: ‘rl_readline_name’ undeclared (first use in this function)
    cmdline_main.c:130: error: (Each undeclared identifier is reported only once
    cmdline_main.c:130: error: for each function it appears in.)
    cmdline_main.c:133: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
    cmdline_main.c: At top level:
    cmdline_main.c:181: warning: initialization from incompatible pointer type
    cmdline_main.c: In function ‘cmdline_ui’:
    cmdline_main.c:322: warning: assignment makes pointer from integer without a cast
    make[2]: *** [afpcmd-cmdline_main.o] Error 1
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/johntron/afpfs-ng-0.8.1'
    make: *** [all] Error 2
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exit
    exit

    Script done on Wed 29 Oct 2008 12:01:43 AM EDT

    So ./configure worked fine, but make fails because readline doesn't exist. I'm not comfortable trying to resolve this myself, so I'll just wait for some feedback or a patch. Thanks for all your work! I'm excited.

     
  • John Syrinek

    John Syrinek - 2008-10-29

    I second this.

    Exact error message (in cmdline directory): cmdline_main.c:15:31: error: readline/readline.h: No such file or directory

    Output from make:

    Script started on Tue 28 Oct 2008 11:59:53 PM EDT
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exitsudo dpkg-buildpackageexitmake
    cd . && /bin/bash ./config.status config.h
    config.status: creating config.h
    config.status: config.h is unchanged
    make all-recursive
    make[1]: Entering directory `/home/johntron/afpfs-ng-0.8.1'
    Making all in lib
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/lib'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/lib'
    Making all in fuse
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/fuse'
    Making all in cmdline
    make[2]: Entering directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -g -O2 -g -O2 -MT afpcmd-cmdline_main.o -MD -MP -MF .deps/afpcmd-cmdline_main.Tpo -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c
    cmdline_main.c:15:31: error: readline/readline.h: No such file or directory
    cmdline_main.c:16:30: error: readline/history.h: No such file or directory
    cmdline_main.c: In function ‘initialize_readline’:
    cmdline_main.c:130: error: ‘rl_readline_name’ undeclared (first use in this function)
    cmdline_main.c:130: error: (Each undeclared identifier is reported only once
    cmdline_main.c:130: error: for each function it appears in.)
    cmdline_main.c:133: error: ‘rl_attempted_completion_function’ undeclared (first use in this function)
    cmdline_main.c: At top level:
    cmdline_main.c:181: warning: initialization from incompatible pointer type
    cmdline_main.c: In function ‘cmdline_ui’:
    cmdline_main.c:322: warning: assignment makes pointer from integer without a cast
    make[2]: *** [afpcmd-cmdline_main.o] Error 1
    make[2]: Leaving directory `/home/johntron/afpfs-ng-0.8.1/cmdline'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/johntron/afpfs-ng-0.8.1'
    make: *** [all] Error 2
    ]0;johntron@media: ~/afpfs-ng-0.8.1johntron@media:~/afpfs-ng-0.8.1$ exit
    exit

    Script done on Wed 29 Oct 2008 12:01:43 AM EDT

    So ./configure worked fine, but make fails because readline doesn't exist. I'm not comfortable trying to resolve this myself, so I'll just wait for some feedback or a patch. Thanks for all your work! I'm excited.

     
  • John Syrinek

    John Syrinek - 2008-10-29

    Holy crap. Sorry about the 729035820958 posts. I only hit submit once . . .

     
  • John Syrinek

    John Syrinek - 2008-10-29

    Holy crap. Sorry about the 729035820958 posts. I only hit submit once . . .

     
  • John Syrinek

    John Syrinek - 2008-10-29

    Holy crap. Sorry about the 729035820958 posts. I only hit submit once . . .

     
  • John Syrinek

    John Syrinek - 2008-10-29

    Holy crap. Sorry about the 729035820958 posts. I only hit submit once . . .

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks