[pcre-dev] [Bug 997] New: readline needs -lcurses if ncurses…

Kezdőlap
Üzenet törlése
Szerző: Warren Dodge
Dátum:  
Címzett: pcre-dev
Új témák: [pcre-dev] [Bug 997] readline may need -lcurses if ncurses is installed, [pcre-dev] [Bug 997] readline needs -lcurses if ncurses is installed, [pcre-dev] [Bug 997] readline may need -lcurses if ncurses is installed, [pcre-dev] [Bug 997] readline may need -lcurses if ncurses is installed, [pcre-dev] [Bug 997] readline may need -lcurses if ncurses is installed, [pcre-dev] [Bug 997] readline may need -lcurses if ncurses is installed, [pcre-dev] [Bug 997] readline may need -lcurses if ncurses is installed, [pcre-dev] [Bug 997] readline needs -lcurses if ncurses is installed, [pcre-dev] [Bug 997] readline may need -lcurses if ncurses is installed
Tárgy: [pcre-dev] [Bug 997] New: readline needs -lcurses if ncurses is installed
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=997
           Summary: readline needs -lcurses if ncurses is installed
           Product: PCRE
           Version: 8.01
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: low
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: warrend@???
                CC: pcre-dev@???



This is actually 8.02 but the menu doesn't have that


I installed the ncurses package and then installed the readline package. In
doing this the compile of pcre needs to use the -lcurses library but configure
does not correctly figure this out.


libtool: link: gcc -O2 -o .libs/pcretest pcretest.o ./.libs/libpcreposix.so
/proj/wdtold/warrend/gnusrc/001004-pcre-8.02_gcc-4.5.0/pcre-8.02_i686_linux2.4/.libs/libpcre.so
-lreadline -Wl,-rpath -Wl,/tools/wdtgnu/pcre-8.02-gcc450/lib
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `PC'
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `tgetflag'
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `tgetent'
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `UP'
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `tputs'
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `tgoto'
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `tgetnum'
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `BC'
/tools/wdt/gcc-4.5.0/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[1]: *** [pcretest] Error 1
make[1]: Leaving directory
`/proj/wdtold/warrend/gnusrc/001004-pcre-8.02_gcc-4.5.0/pcre-8.02_i686_linux2.4'
make: *** [all] Error 2


I hand edit configure to add -lcurses wherever -lreadline is used and then
everything is fine


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email