On Sat, May 07, 2016 at 06:45:26AM +0200, Shankar Giri Venkita Giri wrote:
> There are basically two issues on FreeBSD.
>  
> Issue #1. Standard Includes and Libs are in /usr/local/include and /
> usr/local/lib unline Linux variants. --with-extra-prefix=/usr/local
> solves this problem. FreeBSD Ports build system exports LOCALBASE to
> /usr/local and so this problem does not occur when building from
> ports. When building from source directly, --with-extra-prefix is
> necessary
> Issue #2. -lexecinfo is needed for backtrace() on FreeBSD (https://
> github.com/pelegm/google-glog/issues/214) - Patch attached.
>  
> Otherwise lyx compiles and runs just fine.
> ------------------------------------------------------------------------------------
> INSTALL steps in FreeBSD
> ================
>  ./configure --enable-qt5 --with-extra-prefix=/usr/local
> make
> make install
> ------------------------------------------------------------------------------------
> Three questions:
>  
> 1. Other BSDs certainly should have Issue #1, but probably need to
> check with other NetBSD, OpenBSD, DragonflyBSD users for Issue #2.
> Then the patch can be generalized to *BSD*.
> 2. Do we patch code for Issue #1 or just add README.BSD and document
> the --with-extra-prefix=/usr/local argument?
> 3. We can either patch in LyX or just ignore it and file a ticket in
> the FreeBSD ports system so that they add the patch in their build
> process. I prefer LyX to compile independent of build systems
> applying patches during building (that allows working and compiling
> git code directly), but its the community's call.

> diff --git a/configure.ac b/configure.ac
> index 7b8b742..2b1f923 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -236,6 +236,7 @@ dnl AC_LANG_POP(C)
>  lyx_win_res=false;
>  case ${host} in
>      *mingw*|*cygwin*) lyx_win_res=true;;
> +    *freebsd*) AC_SEARCH_LIBS(backtrace_symbols, [execinfo])
>  esac
>  AM_CONDITIONAL(LYX_WIN_RESOURCE, $lyx_win_res)
>  LYX_SET_VERSION_INFO


Hi,

Sorry that you haven't gotten a response. Hopefully someone will take a
look at this.

If you haven't received a response on any of your other emails, please
bump those. We would not want emails to slip through the cracks. It is
usually that we just forget to respond or assume someone else will
respond, so please be persistent until you get a response. It is not
considered impolite at all to kindly bump your emails after a certain
time if no response.

By the way, would you mind testing whether it works well to build LyX on
FreeBSD with CMake?

Best,

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to