Sent: Saturday, October 17, 2020 at 12:31 AM From: "Filip Bartmann via blfs-support" <blfs-support@lists.linuxfromscratch.org> To: "BLFS Support List" <blfs-support@lists.linuxfromscratch.org> Cc: "Filip Bartmann" <fil...@centrum.cz> Subject: Re: [blfs-support] Building LibreOffice > Od: "Christopher Gregory via blfs-support" > <blfs-support@lists.linuxfromscratch.org> > Komu: blfs-support@lists.linuxfromscratch.org > Datum: 09.10.2020 11:25 > Předmět: Re: [blfs-support] Building LibreOffice >
> Sent: Friday, October 09, 2020 at 10:04 PM > From: "Pierre Labastie via blfs-support" > <blfs-support@lists.linuxfromscratch.org> > To: blfs-support@lists.linuxfromscratch.org > Cc: "Pierre Labastie" <pierre.labas...@neuf.fr> > Subject: Re: [blfs-support] Building LibreOffice > > On Fri, 2020-10-09 at 09:41 +0200, filbar--- via blfs-support wrote: > > Hello, > > I'm trying to build libreoffice, but I have errror: > > ./autogen.sh --prefix=$LO_PREFIX \ > > > --sysconfdir=/etc \ > > > --with-vendor=BLFS \ > > > --with-lang='en-GB' \ > > > --with-help \ > > > --with-myspell-dicts \ > > > --without-junit \ > > > --without-system-dicts \ > > > --disable-dconf \ > > > --disable-odk \ > > > --enable-release-build=yes \ > > > --enable-python=system \ > > > --with-system-apr \ > > > --with-system-boost \ > > > --with-system-clucene \ > > > --with-system-curl \ > > > --with-system-epoxy \ > > > --with-system-expat \ > > > --with-system-glm \ > > > --with-system-gpgmepp \ > > > --with-system-graphite \ > > > --with-system-harfbuzz \ > > > --with-system-icu \ > > > --with-system-jpeg \ > > > --with-system-lcms2 \ > > > --with-system-libatomic_ops \ > > > --with-system-libpng \ > > > --with-system-libxml \ > > > --with-system-neon \ > > > --with-system-nss \ > > > --with-system-odbc \ > > > --with-system-openldap \ > > > --with-system-openssl \ > > > --with-system-poppler \ > > > --with-system-postgresql \ > > > --with-system-redland \ > > > --with-system-serf \ > > > --with-system-zlib --without-java > > Various low-level dependencies are missing, please install them: > > aclocal -I /usr//share/aclocal: aclocal -I > > /usr//share/aclocal is required > > > > I don't know what this mean? How can I find which dependencies is not > > installed? I try to run aclocal -I /usr//share/aclocal but without > > success. > > > > I am not sure what you mean when you write without success. Does it say > that aclocal is not found? Or does it give you the same message as > above? > > Normally, the aclocal executable is installed by automake in /usr/bin. > Do you have it? Various packages install .m4 files in > /usr/share/aclocal. Maybe one of those is missing, but it is somewhat > weird that it does not tell you which one. > > So: > step 1: Check that you have /usr/bin/aclocal. If yes: > step 2: run aclocal -I /usr/share/aclocal --verbose, to try to get more > meaningful messages. > > Pierre > > -- > http://lists.linuxfromscratch.org/listinfo/blfs-support > FAQ: > http://www.linuxfromscratch.org/blfs/faq.html[http://www.linuxfromscratch.org/blfs/faq.html] > Unsubscribe: See the above information page > Hello, From looking at what you have posted: /usr//share/aclocal There is something wrong if this was not a typo on your part, as there should not be a double // there. As Pierre has said, we need a more detailed description of the problem. Normally with such a large build as LibreOffice, it is better to wipe out the failed compile directory, re-extract the tarball and make sure that you very carefully copy and paste the commands from the book. Regards, Christopher. -- http://lists.linuxfromscratch.org/listinfo/blfs-support[http://lists.linuxfromscratch.org/listinfo/blfs-support] FAQ: http://www.linuxfromscratch.org/blfs/faq.html[http://www.linuxfromscratch.org/blfs/faq.html] Unsubscribe: See the above information page Hello I use configure instead autogen and I'm in next step. My compilation fails on: ----------------------------------------------------------------------------------- clang-10: error: unknown argument: '-fno-lifetime-dse' ----------------------------------------------------------------------------------- My environment is: ----------------------------------------------------------------------------------- CLOCAL='aclocal -I /usr//share/aclocal' BASH=/bin/bash BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extglob:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=([0]="0") BASH_ARGV=() BASH_CMDS=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="5" [1]="0" [2]="11" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.0.11(1)-release' COLUMNS=272 CPLUS_INCLUDE_PATH=/usr//include CXXFLAGS=' -fno-lifetime-dse' C_INCLUDE_PATH=/usr//include DIRSTACK=() EUID=0 GMAKE_NOWARN=true GROUPS=() HAVE_INTROSPECTION=1 HISTFILESIZE=1000 HISTIGNORE='&:[bf]g:exit' HISTSIZE=1000 HOME=/root HOSTNAME=lfs.bar672.name HOSTTYPE=x86_64 IFS=$' \t\n' INFOPATH=/usr/share/info INPUTRC=/etc/inputrc KF5_PREFIX=/usr LIBRARY_PATH=/usr//lib LINES=74 LO_PREFIX=/opt/libreoffice-7.0.2.2 LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:' MACHTYPE=x86_64-pc-linux-gnu MAILCHECK=60 MAKEFLAGS='-j 8' MANPATH=/usr/share/man OLDPWD=/build OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/opt/rustc/bin:/usr/local/sbin:/usr/local/bin:/bin:/sbin:/usr/sbin:/usr/bin:/usr//bin:/opt/texlive/2020/bin/x86_64-linux/ PIPESTATUS=([0]="2") PKG_CONFIG_PATH=/usr//lib/pkgconfig:/usr//share/pkgconfig PPID=2734 PS1='\[\e[1;31m\]\u [ \[\e[0m\]\w\[\e[1;31m\] ]# \[\e[0m\]' PS2='> ' PS4='+ ' PWD=/build/libreoffice-7.0.2.2 QML2_IMPORT_PATH=/usr/lib/qt5/qml:/usr/lib/qml QT5DIR=/usr QT_PLUGIN_PATH=/usr/lib/qt5/plugins:/usr/lib/plugins SHELL=/bin/sh SHELLOPTS=braceexpand:emacs:histexpand:history:interactive-comments:monitor SHLVL=1 TERM=screen TEXARCH=x86_64-linux UID=0 VDPAU_DRIVER=va_gl XDG_CONFIG_DIRS=/etc/xdg/ XDG_DATA_DIRS=/usr/share/ XDG_RUNTIME_DIR=/tmp/xdg- XORG_CONFIG='--prefix=/usr/ --sysconfdir=/etc --localstatedir=/var --disable-static' XORG_PREFIX=/usr/ _=build-nocheck __cargo_commands= doctype=txt ts=1601887266 ----------------------------------------------------------------------------------- so i don't have set compiler to clang instead of gcc. So why compilation use clang instead of gcc? Thanks, Filip Bartmann -- http://lists.linuxfromscratch.org/listinfo/blfs-support[http://lists.linuxfromscratch.org/listinfo/blfs-support] FAQ: http://www.linuxfromscratch.org/blfs/faq.html[http://www.linuxfromscratch.org/blfs/faq.html] Unsubscribe: See the above information page Hello, They have changed parts of libreoffice 7 to prefer "clang" over gcc, even if clang has not been specified as the compiler of choice. You can read about it here: https://www.phoronix.com/scan.php?page=news_item&px=LibreOffice-7.0-Prefers-Clang[https://www.phoronix.com/scan.php?page=news_item&px=LibreOffice-7.0-Prefers-Clang] You really should get things working by following the printed instructions exactly. Regards, Christopher. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page