• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    redhat/config.sh missing a pre-requisite

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    3
    332
    Loading More Posts
    • 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.
    • S
      syschuck
      last edited by

      Hi All. It’s been a while. Good to see fog still going strong. I just finished installing fog 1.5.4 on a new fresh Mageia 6 (64) and nearly had a flawless install. Except for one hick-up. For the prerequisites, there is one addition and one removal needed on the line containing the list of packages. First, we need to add “php-curl” to the list of other php extensions listed. Somehow that one was missed.

      The next change is something I’m not sure what to think about. In the same list of packages, liblzma-devel is included. For 64-bit Mageia systems that should be lib64lzma-devel. However, after looking at it, I really wonder if it’s needed at all. It’s just the C header files for lzma compression. It also provides the xz-development C-header files of the xz-devel packages for CentOS/Redhat line.

      I can’t think of what fog would need with the lzma-devel or xz-devel headers for. Does anyone else see a reason to have them as a prerequisite for installing fog? If there are no objections, I would recommend removing those entries.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @syschuck Thanks for reporting. Seems like we don’t have many users on Mageia and therefore didn’t notice this was missing. On CentOS curl module included in PHP - no need to install an extra package. There simply is non (full package list here).

        But for Mageia it seems like php-curl is an extra package (ref). What kind of issues exactly do you see when the package is not installed?

        I had a look through our git repo history and couldn’t really figure out why php-curl wasn’t added for redhat/centos/mageia. But we didn’t have any issues reported from people installing FOG in CentOS lately

        Those liblzma-devel/lzma-devel/xz-devel packages were added when I put together a script to compile iPXE binaries (ref). Back then we wanted to get HTTPS support into FOG and the only possible way to get this running is to compile iPXE binaries including your very own SSL certificates. At that point we thought about not providing pre compiled iPXE binaries anymore but build those while installing FOG but we never got to that as compiling all those binaries takes a fair amount of time and we didn’t want to impose that on everyone installing FOG…

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @syschuck I just stumbled upon this post again as I have been thinking about removing Mageia from the installer scripts altogether. But seems like you are still using it. As I have not heard back from you since my last answer I lost track of this and forgot to add php-curl.

          I just added php-curl and removed liblzma-devel for Mageia installs. Will be in the next release.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          269

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project