pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kermit does not compile in las pkgsrc



Hello,
     I have applied the patch and automagically I was able to create the package.

I have used kermit and it seems to work. I use however a very small part
of the functionalities.

Thanks for your help,

Pierre
On Fri, 19 Jul 2019 18:11:57 -0400
"David H. Gutteridge" <david%gutteridge.ca@localhost> wrote:

> On Fri, 19 Jul 2019, at 16:41:01 +0200, Pierre Dupond wrote:
> > Hi All,
> >         As you can see in the following log, kermit does not compile
> > on Linux (Devuan in that case which is the Debian without
> > systemd). I have get the same problem under PureOS (an other
> > variant of Debian).
> >
> > Do you have an idea why?
> >
> > Fortunately, a binary for kermit
> > is available on kermit site but it would be nice if it would compile
> > under pkgsrc.
>
> Hello,
>
> I can duplicate this build failure on Fedora 29 (though not on Debian
> 9.9). Please try the following patch, and test Kermit if possible.
> (We may want to fix this differently in pkgsrc, but this should get it
> to build for you. Kermit is assuming a particular incarnation of glibc
> indicates a Linux environment, which doesn't hold true.)
>
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/comms/kermit/Makefile,v
> retrieving revision 1.89
> diff -u -r1.89 Makefile
> --- Makefile    5 Mar 2016 11:28:10 -0000       1.89
> +++ Makefile    19 Jul 2019 21:47:24 -0000
> @@ -55,6 +55,7 @@
>  .  endif
>  .elif ${OPSYS} == "Linux"
>  BUILD_TARGET_OPSYS=    linux
> +KFLAGS+=       -D_IO_file_flags
>  MAKE_ENV+=     HAVE_LIBCURSES=-l${BUILDLINK_LIBNAME.curses}
>  .  if ${CURSES_TYPE} == "ncurses"
>  MAKE_ENV+=     HAVE_CURSES=-DCK_NCURSES
>
>  Regards,
>
>  Dave
>
>


--
GMX <76nemo76%gmx.ch@localhost>


Home | Main Index | Thread Index | Old Index