On 06/19/2016 06:58 PM, Fulvio Senore wrote:

> Thank you for your answer. I have spent some time trying to do it but I
> have not been able to force the makefile to use the static ncurses
> library instead of the so file. Unfortunately my knowledge of the build
> chain is very limited.
>
> May anybody suggest me how to force the make command to use
> /usr/lib/libncurses.a instead of -lncurses?
>
> I am almost desperate enough to extract the linker command from the make
> log, edit it and execute it manually. I just hope to find a better way.

You should start the build with autogen.sh. First of all make sure you 
complete it w/o changes.
Next find in configure.in this place:

     AC_CHECK_LIB(curses, tgetent, TERMLIB=curses, \
         AC_CHECK_LIB(ncurses, tgetent, TERMLIB=ncurses, \
             AC_CHECK_LIB(termcap, tgetent, TERMLIB=termcap, \
                 AC_CHECK_LIB(tinfo, tgetent, TERMLIB=tinfo, \
                     AC_MSG_ERROR(termcap support not found)))))..
     AC_SUBST(TERMLIB)
     XE_APPEND(-l$TERMLIB, LIBS)

And replace last line with something like

     XE_APPEND(/usr/lib/libncurses.a, LIBS)


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to