LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2023, 12:52 PM   #451
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440

Looks like liblangtag version 0.6.7 is compiling fine. It also seems like liblangtag internal version in LibreOffice is 0.6.3, the one that fails. I had to specifically add in the ./configure part, to make use of the system-wide installed liblangtag, which seems to be missing (in SlackBuild).
Code:
./configure \
    CFLAGS="$SLKCFLAGS" \
    CXXFLAGS="$SLKCFLAGS" \
    NSS_CFLAGS="$(pkg-config --cflags-only-I mozilla-nss)"\
    --prefix=/usr   \
    --mandir=/usr/man \
    --docdir=/usr/doc/$PRGNAM-$VERSION \
    --libdir=/usr/lib$LIBDIRSUFFIX \
    --sysconfdir=/etc \
    --build=$ARCH-slackware-linux \
    --with-vendor="Just Another Slacker" \
    --with-lang="$LOLANGS" \
    --enable-release-build=yes  \
    --enable-qt5 \
    --enable-python=system \
    --enable-gio \
    $extct2n \
    $extnumbertext \
    $extnlpsolver \
    $extlanguagetool \
    $extwikipub \
    $avahi \
    $vlc \
    $use_ccache \
    $use_java \
    $parallel \
    --with-tls="nss" \
    --with-x \
    --without-krb5 \
    --without-gssapi \
    --without-junit \
    --with-help \
    --with-system-bluez \
    --with-system-bzip2 \
    --with-system-cairo \
    --with-system-clucene \
    --with-system-curl \
    --with-system-dicts \
    --with-system-epoxy \
    --with-system-expat \
    --with-system-hunspell \
    --with-system-icu \
    --with-system-jpeg \
    --with-system-lcms2 \
    --with-system-libodfgen \
    --with-system-libpng \
    --with-system-librevenge \
    --with-system-libtiff \
    --with-system-libvisio \
    --with-system-libwebp \
    --with-system-libwpd \
    --with-system-libwpg \
    --with-system-libxml \
    --with-system-mariadb \
    --with-system-nss \
    --with-system-openldap \
    --with-system-openssl \
    --with-system-poppler \
    --with-system-sane \
    --with-system-zlib \
    $boost \
    $coinmp \
    $cppunit \
    $glm \
    $libabw \
    $libcdr \
    $libcmis \
    $libebook \
    $libeot \
    $libepubgen \
    $mdds \
    $libetonyek \
    $libexttextcat \
    $libfreehand \
    $libmspub \
    $libmwaw \
    $liborcus \
    $libnumbertext \
    $libpagemaker \
    $libqxp \
    $libstaroffice \
    $libtommath \
    $libwps \
    $libzmf \
    $lpsolve \
    $mythes \
    $postgresql \
    $valgrind \
    $ucpp \
    $odbc \
    $liblangtag \
    $xmlsec \
 
1 members found this post helpful.
Old 12-13-2023, 04:24 PM   #452
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
The $liblangtag option has already been included in the existing update (to handle libxml problems) for this weekend's SBo global update.

The actual version of liblangtag is another issue though - I'm not sure whether liblangtag maintainer is active at the moment.

chris


EDIT: building liblangtag 0.6.7 on 15.0 fails due to error: 'Autoconf version 2.71 or higher is required'

EDIT 2: most recent version suitable for 15.0 is liblangtag-0.6.4. I have tested this version with minor changes to fix compilation errors (missing free()) on 32 & 64bit versions of 15.0 and it works fine. All OK for -current 64bit too. My 32bit VM is currently undergoing major update (sooo long since I've used it) before I can test there but I'm pretty confident it'll be OK. With that in mind, I've emailed the maintainer about a version update & compilation fix.

Last edited by chris.willing; 12-13-2023 at 08:18 PM.
 
1 members found this post helpful.
Old 12-13-2023, 07:49 PM   #453
dhalliwe
Member
 
Registered: Mar 2022
Location: Ontario, Canada
Distribution: Slackware
Posts: 165

Rep: Reputation: 155Reputation: 155
Quote:
Originally Posted by dhalliwe View Post
I am using an older version of Libre Office (7.3.1.3, using a package from SlackOnly).

Draw failed to run for me today, popping up an error message about failing to load /usr/lib64/libreoffice/program/libsdlo.so. That particular library shows libxml2.so as a dependency, which I had upgraded on December 10 when the new version came available.
Installed the next libxml2 version (2.12.3) on my Slackware 15.0 64-bit system today and the same error came back. Downgraded back to 2.9.14 to get Draw working again.
 
1 members found this post helpful.
Old 12-13-2023, 10:47 PM   #454
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
@chriswilling:
the ponce sbopkg -current version of LO (which I suppose is your work) works just fine.
 
Old 12-14-2023, 12:03 AM   #455
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by Regnad Kcin View Post
@chriswilling:
the ponce sbopkg -current version of LO (which I suppose is your work) works just fine.
Glad to hear that but, as an optional requirement for LibreOffice, the SlackBuild for liblangtag needs to be buildable. Actually, regardless of LibreOffice, all SlackBuilds should be buildable. Since there were two reports of liblangtag failing on 32bit -current, I've been playing around with version & fix combinations that can apply to both 15.0 and -current (both 64 & 32bit).

chris
 
1 members found this post helpful.
Old 12-14-2023, 03:10 AM   #456
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
I heartily agree with @chris.willing when he points out that all SlackBuilds should be buildable. And ideally, it should be possible to build every application from source. But we all now that it sometimes can take some time to find solutions to dependency issues due to source file changes.

Unfortunately I'm not knowledgeable enough to dig into the liblangtag or libxml2 issues.

Another approach: ever since I started running Linux 15 years ago I've taken the easy way out, installing first OpenOffice and later LibreOffice by simply repackaging the .rpm files (I now use WillySR's SBo script "libreoffice"). Did the same with LO-7.4.2 and the resulting package includes both libxml2.so.2 and liblangtag-lo.so.1. Draw runs just fine.

So (temporarily?) creating/installing such a package as an alternative to AlienBob's package or a package built with Chris Willing's script might be a solution for some.
 
Old 12-14-2023, 04:03 AM   #457
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,823

Rep: Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496
Alien Bob has now a rebuilt libreoffice with /usr/lib64/libreoffice/program/libxml2.so.2 included.
 
4 members found this post helpful.
Old 12-14-2023, 04:16 AM   #458
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,823

Rep: Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496Reputation: 1496
Quote:
Originally Posted by Petri Kaukasoina View Post
Next time when Alien Bob builds a new libreoffice, he builds it against the new libxml2. Then you should remember to remove the old one from /usr/lib64/libreoffice/program/libxml2.so.2, or it could cause problems.
He didn't rebuild it against the new system libxml2 but used an internal copy of libxml2-2.11.4.
No need to remove anything, because now libreoffice-7.6.4-x86_64-2alien contains /usr/lib64/libreoffice/program/libxml2.so.2 and that writes over the temporary file.
 
2 members found this post helpful.
Old 12-14-2023, 07:54 AM   #459
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Quote:
Originally Posted by Petri Kaukasoina View Post
Alien Bob has now a rebuilt libreoffice with /usr/lib64/libreoffice/program/libxml2.so.2 included.
Quote:
Wed Dec 13 20:57:54 UTC 2023
libreoffice: rebuilt 7.6.4 using an internal copy of libxml2.
Packages for Slackware 15.0 and -current.
http://www.slackware.com/~alien/slac.../ChangeLog.txt

Alienbob's mirrors, https://slackware.nl/
 
2 members found this post helpful.
Old 12-14-2023, 08:45 PM   #460
dhalliwe
Member
 
Registered: Mar 2022
Location: Ontario, Canada
Distribution: Slackware
Posts: 165

Rep: Reputation: 155Reputation: 155
Quote:
Originally Posted by dhalliwe View Post
Installed the next libxml2 version (2.12.3) on my Slackware 15.0 64-bit system today and the same error came back. Downgraded back to 2.9.14 to get Draw working again.
Slackware 15.0 has reverted to the 2.11.6 version, dropping the 2.12.x ones.

My version of Libre Office Draw (7.3.1.3) is finally happy again.
 
2 members found this post helpful.
Old 01-31-2024, 09:27 AM   #461
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Quote:
LibreOffice 24.2 Community available for all operating systems
By Italo Vignoli On January 31, 2024
Berlin, 31 January 2024 – LibreOffice 24.2 Community, the new major release of the free, volunteer-supported office suite and the first to use the new calendar-based numbering scheme (YY.M), is now available at https://www.libreoffice.org/download for Windows (Intel, AMD and ARM), macOS (Apple and Intel) and Linux. The new numbering scheme will help users keep their LibreOffice installation up to date.
The full announcement can be read at, https://blog.documentfoundation.org/...reoffice-24-2/

Last edited by cwizardone; 01-31-2024 at 09:28 AM.
 
4 members found this post helpful.
Old 02-01-2024, 08:25 AM   #462
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 188

Rep: Reputation: 170Reputation: 170
I keep a binary repo for LibreOffice for Slackware ARM aarch64 port (running -current) based on the SBo script. Outside of adding liblangtag to the mix, I also had to add JDK17 removing JDK11 also had to add "-lz" to the LDFLAGS before this beast would build. But everything seems working fine, Writer, Draw, etc...

http://slackware.lngn.net/pub/source/libreoffice/ (edited SlackBuild & external sources tarball)
https://slackware.lngn.net/pub/aarch...t/libreoffice/ (slackpkg+ repo for arm64)

Thank you Mr. Willing for your work on this script and everyone who keeps up with the changes on LibreOffice!
Attached Thumbnails
Click image for larger version

Name:	libreoffice-24.2.0.png
Views:	32
Size:	111.9 KB
ID:	42504  
 
2 members found this post helpful.
Old 02-12-2024, 06:36 AM   #463
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by cwizardone View Post
LibreOffice 24.2 Community available for all operating systems

The full announcement can be read at, https://blog.documentfoundation.org/...reoffice-24-2/
Due to compiler limitations on 15.0, the SBo SlackBuild for office/LibreOffice (build from source) will be held at 7.6.4.1 which is the version prior to the 24.X series.

For -current, an updated SlackBuild for LibreOffice-24.2.0.3 is now available in Ponce's repo.

chris

Last edited by chris.willing; 02-12-2024 at 07:05 AM.
 
2 members found this post helpful.
Old 02-12-2024, 07:14 AM   #464
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Quote:
Originally Posted by chris.willing View Post
Due to compiler limitations on 15.0, the SBo SlackBuild for office/LibreOffice (build from source) will be held at 7.6.4.1 which is the version prior to the 24.X series.

For -current, an updated SlackBuild for LibreOffice-24.2.0.3 is now available in Ponce's repo.

chris
For those who doesn't need building from source, repackaging the binary files from the rpm package is an option:
https://slackbuilds.org/repository/1...e/libreoffice/
 
1 members found this post helpful.
Old 02-21-2024, 03:56 PM   #465
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,130

Original Poster
Rep: Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298Reputation: 7298
Quote:
Wed Feb 21 12:41:50 UTC 2024
libreoffice: updated to 24.2.0 for Slackware 15.0 and -current.
Depends on openjdk17.
openjdk17: added v17.0.10_7 for Slackware 15.0 and newer.
Only install one version of Java!
http://www.slackware.com/~alien/slac.../ChangeLog.txt

Alienbob's mirrors, https://slackware.nl/

Last edited by cwizardone; 02-21-2024 at 03:58 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: LibreOffice 4.4 Released as the Most Beautiful LibreOffice Ever LXer Syndicated Linux News 0 01-30-2015 01:10 AM
LXer: LibreOffice vs. OpenOffice: Why LibreOffice Wins LXer Syndicated Linux News 0 10-29-2014 10:50 AM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 02:37 PM
LXer: Build Your Business Around LibreOffice, LibreOffice Certification Program Announced LXer Syndicated Linux News 0 05-07-2012 12:10 PM
LXer: LibreOffice Tips: Inserting QurĂ¢??an text in LibreOffice Writer LXer Syndicated Linux News 0 04-16-2012 02:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration