Re: editor/linux-wps-office; stop-errors

From: Anatoly <anatoly_at_kazanfieldhockey.ru>
Date: Sat, 13 Jan 2024 23:14:19 UTC
On Fri, 12 Jan 2024 16:15:26 +0000
"J." <redc3ll@protonmail.com> wrote:

> Hello everyone,
> 
> I'm new to the ports mailing list, and indeed rather new to
> UNIX/FreeBSD. I like working with WPS Office (the Writer application)
> due to it being rather compatible with Amazon KDP, which is Amazon's
> self-publishing platform. I'm used to running WPS Office on Windows
> and tried to install it on FreeBSD14.0. I tried an install on both
> the VMWare Player virtual machine and my old Lenovo Thinkpad W700
> laptop. Using pkg, I could not locate WPS Office and hence I have
> used git to download the port tree and attempted my first "compile
> from from source." [1] Being in the proper ports directory, I do:make
> install clean
> 
> I have recorded the compilation process using tee on the Thinkpad
> W700; myriad "stop errors" crop up and the compilation process is
> halted.
> 
> > Stop.
> > make[8]: stopped in /usr/ports/devel/bsddialog
> > *** Error code 1
> >
> > Stop.
> > make[7]: stopped in /usr/ports/devel/bsddialog*** Error code 1

From your wps.txt:
===>  Checking if bsddialog is already installed
===>   bsddialog-1.0.1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of bsddialog
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Looks like another version of bsddialog is already installed
I thins you're using ports tree that doesn't match your pkg repo.
I think you should read this:
https://chriswells.io/blog/using-quarterly-ports-on-freebsd

> 
> The full compilation process is recorded in wps.txt, attached to this
> email. I did not want to paste the full content as this would hinder
> the readability of this email.The errors are located at the very end
> of the text file and hence, should you have the patience and will,
> they may be found there and you will not have to pass through the
> whole text file. As a newbie, I seem to understand it is mostly about
> missing libraries, and would appreciate advice as to what to do, and
> if this can simply be resolved by using pkg to install the myriad
> needed libraries; my neophyte eyes are still quite dyslectic to the
> messages returned in the myriad UNIX processes, please bear with me
> :-). I hope WPS Office will be made available as a binary package via
> pkg.
> 
> I had asked the general FreeBSD mailing list the question presented
> here, but was recommended to contact the people subscribed to this
> list. I hope that my neophyte position has not unintendedly
> transgressed against some mode of conduct expected in this mailing
> list; I have tried other sources of information prior to resolving
> this problem, including analysing the attached wps.txt file with AI,
> but the AI started reasoning in circles; and trying to understand the
> nature of some of the missing dependencies. As a beginner, I'm often
> still confronted with jargon beyond my level. Someone suggested I
> might try porting the latest Linux version of WPS Office with
> Poudriere-devel; but I think this will remain beyond me for a while
> to come. I do have the Linux compatibility layer enabled.
> 
> Thank you for your patience and expertise,
> 
> J.
> [1] The WPS Office Port is here:
> https://cgit.freebsd.org/ports/tree/editors/linux-wps-office