My thoughts on Slackware, life and everything

LibreOffice 3.4.5 released, OpenJDK package update.

There was a new maintenance release from the Document Foundation. We now have LibreOffice 3.4.5 and I spent the night (or rather, two virtual machines did the work while I slept) to produce packages for Slackware 13.37 and later.

You can find the packages in the usual locations (all of the mirrors below also offer  rsync access):

Also I rebuilt my OpenJDK packages (JDK as well as JRE and the browser plugin icedtea-web) to address the issues that had popped up in the comments section of my previous post:

  • The java web start (javaws, part of the “icedtea-web” package) would not work with just openjre installed – it worked fine with openjdk;
  • The openjre pakage missed two important configfiles which made it unusable,
  • The CA certificates file was empty in both JDK and JRE packages

Download locations for the updated packages: http://slackware.com/~alien/openjdk/ with a mirror here: http://alien.slackbook.org/slackware/openjdk/ . Please note that there is an updated (with regard to Slackware’s stock version) of ca-certificates. I needed that to generate a “cacerts” file for the openjdk and openjre package, but for you the upgrade is optional. You’ll see it appear in slackware-current soon enough anyway because the upgrade is well overdue.

Cheers, Eric

31 Comments

  1. Willy Sudiarto Raharjo

    Perfect timing. I had sync the packages last night and it’s ready on my repo as well 🙂

  2. alienbob

    Good, good… I was too busy to write a blog post earlier. Convenient time to get the mirrors populated 🙂

  3. dolphin77

    Not sure what I am doing wrong. I am on -current x86_64.

    did upgradepkg jre%openjre.
    upgraded ca-certificates, installed icedtea-web. Rebooted.

    When I try to test java here: http://javatester.org/version.html,
    I got a popup window, saying:
    “icedteanp plugin error: Failed to run /usr/lib64/java/jre/bin/java. For more detail rerun “firefox -g” in a terminal window.”
    and message “Browser has java disabled” in tester window.

  4. dolphin77

    forgot to mention that rhino was also installed.

    Installing openjdk on top seems to fix the issue, but it looks like openjre+rhino+icedtea just don’t work.

  5. alienbob

    dolphin77 – I guess that you did not upgrade the icedtea-web package then? I posted new versions of openjdk, openjre and icedtea-web as well.

    Eric

  6. petar^

    Thank you very much!

  7. Willy Sudiarto Raharjo

    Yeah, i guess it’s better to wait for 24h to wait until the repo is done syncing then write the blog post, so people won’t get a broken link on your post 🙂

  8. gegechris99

    As usual, thank you for the quick release of LibreOffice packages.

  9. dolphin77

    Eric,

    unfortunately, not. I was talking about the “new” packages.

    $ for i in ca-certificates icedtea-web openjre rhino ; do ls -l /var/adm/packages/$i* ; done
    -rw-r–r– 1 root root 11742 ???. 20 08:42 /var/adm/packages/ca-certificates-20111211-noarch-1
    -rw-r–r– 1 root root 1443 ???. 20 08:42 /var/adm/packages/icedtea-web-1.1.4-x86_64-2
    -rw-r–r– 1 root root 25131 ???. 20 08:43 /var/adm/packages/openjre-7_b147-x86_64-2
    -rw-r–r– 1 root root 715 ???. 20 08:43 /var/adm/packages/rhino-1_7R3-noarch-1

    But after I made a symlink:
    root@darkstar:/usr/lib64/java# mkdir -p jre/bin
    root@darkstar:/usr/lib64/java# cd jre/bin/
    root@darkstar:/usr/lib64/java/jre/bin# ls
    root@darkstar:/usr/lib64/java/jre/bin# ln -s /usr/lib64/java/bin/java .
    its working.

  10. ozone89

    you hate me, don’t you…?
    I JUST HAVE INSTALLED 3.4.4! :þ

  11. Slacker

    Do you know WTH is holding slackware-current? We haven’t seen any significant updates for quite some time.

  12. alienbob

    Yes I know. All I can see, Pat needs time for his family and updates are pending. Some of those are security updates and will probably have to wait until packages are ready for the older Slackware releases.

    Eric

  13. escaflown

    Thanks Eric! Could you also update your phonon-vlc build if time allows? Thanks again.

  14. amigib

    Anybody had problems with jDownloader? Because i can’t run it with openjre..

  15. escaflown

    I can smell KDE 4.8.0 …:)

  16. alienbob

    More than smell it, I am already running it! But I have to wait with the release of the packages until KDE team announces it.

    Eric

  17. escaflown

    @ Eric: I kew it 🙂

  18. Pangky

    Hi Eric,

    First of all, thanks for the kde update. I’m using slackware64 stable so i tried to compile it on my own. All went smooth, except ktorrent. Here’s the error:

    /tmp/kde-build/extragear/ktorrent-4.1.3/plasma/applet/applet.cpp: In member function ‘void ktplasma::Applet::iconClicked()’:
    /tmp/kde-build/extragear/ktorrent-4.1.3/plasma/applet/applet.cpp:343:3: error: ‘TaskDict’ is not a member of ‘TaskManager’
    /tmp/kde-build/extragear/ktorrent-4.1.3/plasma/applet/applet.cpp:343:25: error: expected ‘;’ before ‘tasks’
    /tmp/kde-build/extragear/ktorrent-4.1.3/plasma/applet/applet.cpp:344:21: error: ‘TaskManager::TaskDict’ has not been declared
    /tmp/kde-build/extragear/ktorrent-4.1.3/plasma/applet/applet.cpp:344:40: error: expected ‘;’ before ‘i’
    /tmp/kde-build/extragear/ktorrent-4.1.3/plasma/applet/applet.cpp:344:58: error: ‘i’ was not declared in this scope
    /tmp/kde-build/extragear/ktorrent-4.1.3/plasma/applet/applet.cpp:344:63: error: ‘tasks’ was not declared in this scope
    make[2]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/applet.o] Error 1
    make[1]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/all] Error 2
    make: *** [all] Error 2
    extragear:ktorrent failed to build

    Anything i miss?

  19. alienbob

    Pangky,

    You will have to apply this fix:

    http://quickgit.kde.org/?p=ktorrent.git&a=commitdiff&h=6d4a6ae51692966862ccb20d17cb21771751
    9d40

    I have already updated the KDE 4.8.0 source directory with the patch for ktorrent. So after you sync-ed you should be able to compile ktorrent without errors.

    Eric

  20. alienbob

    And Pangky, next time:

    Post your issues as a comment to the RELEVANT POST.
    This had nothing to do with openjdk or libreoffice.

    Eric

  21. Pangky

    ups, sorry about that, wrong page, i didn’t see it. And thanks

  22. MasterShuffler

    Eric, a quick question : I am running Slackware 13.0 (x86-64) and I have tried running your slack build script on my machine… (the short version is: I need something to open and save M$ files).
    Everything seems to be running great, then the script freezes on the message where it is supposed to indicate missing files… Any ideas?

    I badly need LibreOffice, so any help would be greatly appreciated… Thanks!

    I am going to pipe the ”bash -x” script output itself into tee, and see what I can find, but any and all help would be greatly appreciated!

  23. alienbob

    You mean this output?

    ** Please examine the following output (enclosed in ‘-+-+-+’ lines).
    ** If you see any filenames there, it means that these are still missing.
    ** Since they will not be downloaded when LibreOffice starts compiling,
    ** you may run into problems later.
    ** NOTE: this indicates that this SlackBuild needs to be updated.
    -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    ++
    || libreoffice-3.4.5
    ++
    Extracting source archive(s) for libreoffice…
    . . . . . . . . . . . . . . . . . . . .
    Copying all external archives into src directory for libreoffice…
    Building …

    Can you indicate where your script stalls? Right after “NOTE: this indicates that this SlackBuild needs to be updated.” the script sets up a HTTP connection to check the source tarball requirements, perhaps that is what’s causing your issue.

    Eric

  24. MasterShuffler

    Eric, yes, it’s right after the “NOTE:” line, followed by the “-+-+-+-+”.

    I never see the “libreoffice” line that you mention. I did guess that the script was checking something, but this is my personal machine, and HTTP should not be a problem…

  25. MasterShuffler

    Eric, to cut a long story short, I have been able to correct many minor annoyances with the Slackbuild (for instance, I did not realize it had to be run as root, or that it dumped all files into /tmp by default).
    The problem right now is that the script fails randomly while doing its “tar -xf” operations.
    Since I launched it in debugging mode, I can see it fail – with the same error message – but on different files each time.
    Have you ever had this problem before?

  26. alienbob

    Well MasterShuffler…

    Annoyances for you, are well-known facts for seasoned slackers. A friendly advice is that you should take some time reading the SlackBuilds howto at http://www.slackwiki.com/Writing_A_SlackBuild_Script , it may save you some time.

    As long as you do not post actual error messages there is not much I can help you with, other than stating “it works for me”. Errors while extracting files from tar archives often has one of these two causes: not enough disk space, or not enough RAM.

    Also, you do not have to use the SlackBuild script. I provided pre-compiled packages in order to prevent this kind of questions. Compiling LibreOffice from source is not a trivial task.

    Eric

  27. a

    Will you bless us once again? (3.5.0)
    But i guess it won’t be today 😉
    Have an happy valentine’s day with the ones that matters.

  28. alienbob

    It will take a bit of time to get the 3.5.0 build script all sorted. Many changes since 3.4.x which I have to check first.

    Eric

  29. John

    Hey Eric
    after a few false starts I am now using openjdk compiled from source on my machine. (My PATH was somehow messed up) libreoffice actually seems to run faster with openjdk.
    thanks for all your work

    “wanna be compiler”
    john
    alleytrotter

    PS also compiled and am using 3.4.5 of libreoffice

  30. jc

    is there a package of openjdk1.7x for 12.2 ican download?

  31. alienbob

    Hi jc; I do not support ancient versions of Slackware with my packages. You could try compiling OpenJDK there from scratch, but it requires changes to gcc as well and I am afraid that is not a trivial task.

Leave a Reply to Pangky Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Alien Pastures

Theme by Anders NorenUp ↑