Giselher's Blog RSS Feed

HAMP (Hurd Apache MySQL PHP)!

Posted on by giselher This entry was posted in ArchHurd and tagged , , . Bookmark the permalink.

After hours and 100 hacks later I finally got apache and its dependencies built, except for libsasl and libldap, which I thought are impossible to build for Hurd. But then diegonc, a archhurd user that works on the xkb keyboard drivers, told me that he used a patch to build libldap. Now I can rebuild apr-util and apache again and thats not easy, because apache compiles itself three times in the archlinux PKGBUILD. I don’t know why, but I do it too.

Apache PKGBUILD

     for mpm in prefork worker itk; do
                if [ "${mpm}" = "itk" ]; then
                        <---snip--->
                        autoconf
                fi
                mkdir build-${mpm}
                pushd build-${mpm}
                ../configure --enable-layout=Arch \
                        <---snip--->
                make
                if [ "${mpm}" = "prefork" ]; then
                        make DESTDIR="${pkgdir}" install
                else
                        install -m755 httpd "${pkgdir}/usr/sbin/httpd.${mpm}"
                fi
                popd
        done

The good news is, that packages like IMAP and MySQL are building without any major problems. I hope that we soon can setup a HAMP system to host a website or something similar

4 Responses to HAMP (Hurd Apache MySQL PHP)!

  1. barrucadu says:

    With HAMP, and what we have already, I can nearly replace GNU/Linux on my server with the Hurd. :D

    Alas, I need USB and sound to do that fully though :(

    By the way, I should have planet.archhurd.org up and running later.

  2. giselher says:

    btw, I don’t see any RSS feed button.

    My readers will be dissappointed. :)

  3. Linode says:

    Hi,

    I prefer a Cherokee for Web Server (Like HCMP [Hurd, Cherokee, MariaDB, PHP])

    this a description of the project:

    ==

    Cherokee is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, uWSGI, SSI, TLS and SSL encrypted connections, Virtual hosts, Authentication, on the fly encoding, Load Balancing, Apache compatible log files, Data Base Balancing, Reverse HTTP Proxy, Traffic Shaper, Video Streaming and much more.

    Cherokee-Admin, a user friendly interface, provides a no-hassle configuration of the server. Check out the benchmarks and documentation to learn more, join our active Community and give it a try to squeeze your hardware to the fullest!

    ==

    http://www.cherokee-project.com/

    The Cherokee-Admin interface uses a python dependencies

    to help to make a port to hurd, alvaro he help (http://alobbs.com) alvaro’at’gnu’dot’com

    :)

    • giselher says:

      I will look at it, if it is buildable i will do it :)

      I decided to do the famous ones first, well because they are more famous. :p

      EDIT:
      I tried to build it, I did encounter some problems.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Navigation

Archives

Meta