Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Debian lenny and FOP2 (Solved)

Debian lenny and FOP2 (Solved)

Scheduled Pinned Locked Moved Support
9 Posts 5 Posters 140 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    J
    jonascph
    wrote on last edited by
    #1

    Hello

    I wanted to try out FOP2 and downloaded http://www.fop2.com/file.php?file=7 (Which is the 32bit version for debian lenny)

    However somewhat similar to another post ont he forum i had issues with a perl module:

    usr/local/fop2/fop2_server --help
    Compress::Raw::Zlib object version 2.023 does not match bootstrap parameter 2.020 at /usr/local/lib/perl/5.10.0/Compress/Raw/Zlib.pm line 97.
    Compilation failed in require at /usr/local/share/perl/5.10.0/Archive/Zip.pm line 12.
    BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.0/Archive/Zip.pm line 12.
    Compilation failed in require at -e line 359.

    Now im pretty used to debugging perl module problems, however i couldnt quite figure this out. It seems like the fop2_server file is binary code and with the references to libc im guessing its c?

    So im not sure where perl comes into the picture. Also the error message seem wrong since it doesnt change regardless of what version of Compress::Raw::Zlib I install (via apt-get or cpan) also i can even go ahead and delete /usr/local/lib/perl/5.10.0/Compress/Raw/Zlib.pm

    Even if the file isnt there the fop2_server complains with the same error.

    So whats going on here and what can i do to get it working?

    Im running newest updated 32bit debian lenny and i tried with the Compress::Raw::Zlib from apt-get, the newest 2.023 from cpan, an older 2.020 from cpan and none worked, and all gave the same error

    Help!!1

    🙂

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Hello,

      Did you try to install from cpan version 2.020 ?

      #> perl -e shell -MCPAN
      #> install PMQS/Compress-Raw-Zlib-2.020.tar.gz
      
      1 Reply Last reply
      0
      • F
        F
        Footman
        wrote on last edited by
        #3

        Hi,

        I had almost same error with a just installed and up to date Lenny 5.0.2 i386 :

        Compress::Raw::Zlib object version 2.008 does not match bootstrap parameter 2.020 at /usr/local/lib/perl/5.10.0/Compress/Raw/Zlib.pm line 97.
        Compilation failed in require at /usr/local/share/perl/5.10.0/Archive/Zip.pm line 12.
        BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.0/Archive/Zip.pm line 12.
        Compilation failed in require at -e line 359.
        

        I resolved the problem by installing 2.020 version of Compress::Raw::Zlib manually. I think the problem is still strange on a clean install.

        Best regards,

        Nicolas.

        1 Reply Last reply
        0
        • J
          J
          jonascph
          wrote on last edited by
          #4

          Hmm im dumbfounded, Pulling down PMQS/Compress-Raw-Zlib-2.020.tar.gz via cpan seems to have done the trick.

          BUt i got no idea why. Since i got Compress-Raw-Zlib-2.020.tar.gz in my /root which i tried to install manualy and it didnt change the error at all.

          Strange!

          But thanks for your help, now I can continue to evaluate what looks like great software.

          It seems like making the tarball use the updated version would be a simple and necesary step though, even better of course would be actualy .debs

          THanks again
          Jonas

          1 Reply Last reply
          0
          • N
            N
            nicolas
            wrote on last edited by
            #5

            I will have to update packages, yes. But not sure how or when. The issue here is that Compress::Raw:Zlib was updated since the time I created the tarballs, and it complains if the version does not match exactly. I am not sure what version does a fresh lenny install uses now.. if you do a net install it might be different from an iso install. I really did not investigate it fully, I will see what I can do from now on, maybe there is a way to make fop2 work even with different zlib versions.

            1 Reply Last reply
            0
            • J
              J
              jonascph
              wrote on last edited by
              #6

              Well as long as its tarballs slight incompatabilities are to be expected (at least thats how i look at it)

              The important is ofcourse to be able to let users make it work with as little hassle as possible, so a simple mention of the fix in the readme or more or less anywhere a user is bound to look when installing it would do the trick while we wait for the distro specific packages.

              Just my 5 cents

              Best regards
              Jonas

              1 Reply Last reply
              0
              • M
                M
                marcoe
                wrote on last edited by
                #7

                Guys, sorry to reopen this, but I guess it's important to keep associated errors together.

                I tried to correct the Lenny instalation bug the way you suggested above, but I got a different error now.

                Attempt to reload Scalar/Util.pm aborted.
                Compilation failed in require at /usr/local/lib/perl/5.10.0/Compress/Zlib.pm line 9.
                BEGIN failed--compilation aborted at /usr/local/lib/perl/5.10.0/Compress/Zlib.pm line 9.
                Compilation failed in require at -e line 359.

                As I'm not a expert on this issues, I have to recall to your help.

                I've allready installed Fop2 on another Debian Etch, and it works fine.

                Thanks in advance.

                Marco Cordeiro

                1 Reply Last reply
                0
                • I
                  I
                  israpunt
                  wrote on last edited by
                  #8

                  Same problem here.
                  Debian Lenny install, did the cpan Zlib trick.
                  Then got the Scalar/Util.pm aborted.

                  Is there any way to test fop2 on a Debian lenny System?

                  1 Reply Last reply
                  0
                  • N
                    N
                    nicolas
                    wrote on last edited by
                    #9

                    Yes, you can use the ETCH tarball. It works on Lenny too without the cpan nightmare.

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups