Date: Mon, 7 Jun 2021 10:07:51 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Victor Sudakov <vas@sibptus.ru> Cc: FreeBSD Questions <freebsd-questions@freebsd.org>, Paul Procacci <pprocacci@gmail.com> Subject: Re: lang/php72 needed Message-ID: <CAAdA2WNTG4PfGbFGwo8GtxhYR9njiML%2B2fLi6py1Pfs70We4hA@mail.gmail.com> In-Reply-To: <YL2wyD2jAk4jt12D@admin.sibptus.ru> References: <YL2LXuswiy18RU/n@admin.sibptus.ru> <CAFbbPuhcz-pdodiake8BpYT%2B0R73VyLQQN5BNWfpYOv%2B6fACag@mail.gmail.com> <YL2Z2eAni8%2Bl1hKg@admin.sibptus.ru> <CAFbbPug44FKmW6sXeX8ugpd2v5o_LMnm_GpEVaMFeUCY4yyGSw@mail.gmail.com> <YL2wyD2jAk4jt12D@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 7, 2021 at 8:38 AM Victor Sudakov <vas@sibptus.ru> wrote: > Paul Procacci wrote: > > Having lots of php72 is no problem if you `find | xargs`. > > I tried this and didn't _really_ run into any problems. > > I didn't try any of the extensions however. > > > > This is what I did: > > # svn co -r r559730 https://svn.freebsd.org/port/head /tmp/ports > > # cd /tmp/ports > > # find . -iname "php72*" -type d -print0 | xargs -0 -I% cp -R % > /usr/ports/% > > # cd /usr/ports/lang/php72 > > # make install > > > > There were some errors, but they were easily cleaned up by installing the > > missing pieces via pkg. Just to name one: > > # pkg install p5-Locale-gettext > > This will not work in poudriere. I'd like to have a reproducible build, > if possible, not some kind of one-time hack. > And suddenly you introduce another condition to your original request! [dd] > > > > > Extensions would be similar, but I didn't try any. > > There may be many dependencies to fix. > > I have already tried going your way with the php52 port on a recent > FreeBSD, this turned out to be an unpleasant manual process of fixing > dependencies etc, and eventually I failed to overcome the problem. > > It's strange and alarming that nobody cares in the FreeBSD world. In > Linux, you can install all versions from packages.sury.org, and what's > more, you can even have different versions simultaneously on one system. > Then what stops you from migrating the legacy moodle to Linux?? If anything, just virtualize the Linux on the same server and you're home and dry. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v "^$|^.*#" :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WNTG4PfGbFGwo8GtxhYR9njiML%2B2fLi6py1Pfs70We4hA>