Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107116 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 4367 invoked from network); 15 Sep 2019 21:12:57 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 15 Sep 2019 21:12:57 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id A31012C3F80 for ; Sun, 15 Sep 2019 11:49:38 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: X-Spam-Virus: No Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Sun, 15 Sep 2019 11:49:38 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id y23so31344316ljn.5 for ; Sun, 15 Sep 2019 11:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=gn1lExlmlirWSW1wGfpDPn/wTKCkneCGhrJbOVJlGaw=; b=i2L2hHpIgLjSmwOaSd/sRP6ZiXL40ThhqtEYHnootNS3iOTXqTw3btWH3VRojtqTGr qTasCCOFVe8ngFMO3iD9y5Yqqvb3zPaThmKROH3BgasWaZLzF4Z+vSB/x7kMhRZFnGYk eeo7lcwnYxMBl4nfmGctnOH2vGaDDhMcLTBaQuSMCcG3tJr4Ot7499PaBPUg8gH+61Lf UVIYSloZ5aH8e6xLiUzk5EMWbXvFovo0ckunmjWBLCGAoXBRy2QqJBIlmAKHeupJ+wLU YHBjf0w69SF5xFvmIVQiYHnpPgTLaOetT8HZV1QjtXMibI2Lx37/dDSkScgmD/cq6v+J X+6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gn1lExlmlirWSW1wGfpDPn/wTKCkneCGhrJbOVJlGaw=; b=PUEh+rKCnZnOqDIRyf9R98nhrtYMVpXpZuEHOAHh9XYZ6c3az15FzAeuuiU9E+bmXB fPg90aMjk9vadxO0iUjXK9+wunNY1sPVLumx3o9Sdl8uzgIG+jt921F8PniqVJjbZFyL j6hlybcogg4D1PLOUaj9ZBDubD/BRvKM5m0VtiSD33g4ZqZUL/fvEBPVBTst9grybz3h vVjD0InfhWZYuGWFExDdsFZjypNgNNFvxXsTsGPrz9dY9zbKCAPUCONM0g7Z0ZW5pJRi rR3Raiy0AvBWT6XlRA2iJ3IvzlZlnBpEJRKY1HWc34KoQViSDzK8DNSekk3ex8bQs+lw bgew== X-Gm-Message-State: APjAAAWLeEWx2EyoWg2QAj+97D5rKTwYMCnmVESJ3EiiDOFbb2zsYBG2 N5Rw4VJzdCm/WruBkfEmNkxgE+fCIPzWt/XXX7MXpmaRUkc= X-Google-Smtp-Source: APXvYqzIGn3T6lB55etDd1e2loEJwfuRgajaqWlGMpCcvpcw5mqs2EYKWFhJ23p2R7HUBQN+yehG6M89vX+95mPrp2E= X-Received: by 2002:a2e:3a01:: with SMTP id h1mr18155448lja.171.1568573376721; Sun, 15 Sep 2019 11:49:36 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 15 Sep 2019 20:49:21 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000ec782605929bf27a" X-Envelope-From: Subject: Build instructions for Ubuntu 18.04 (and other systems) From: nikita.ppv@gmail.com (Nikita Popov) --000000000000ec782605929bf27a Content-Type: text/plain; charset="UTF-8" Hi, Our build instructions in https://github.com/php/php-src#building-php-source-code are currently a bit bare... they show the basic "./buildconf && ./configure && make" cycle, but everyone who actually tries this will quickly find out that there is a lot more to building PHP... Every time I compile PHP on a new system, I have to go through a pretty long cycle of ./configure --xxx, wait until there is an error, "sudo apt install libxxx-dev" and so on. It would be great if someone could write up the required "apt get" and "./configure" line to get a "reasonably large" build of PHP on a popular Linux distro like Ubuntu 18.04, so this can be included in the README. Something similar for MacOS would probably also be useful, where things are even more complicated. Bonus points for also including how to set up MySQL and Postgres in a way that you can run mysqli/pdo_mysql and pgsql/pdo_pgsql tests. I think I lose a couple of hours every time I try to get this working. Anyone interested in doing this? Regards, Nikita --000000000000ec782605929bf27a--