#41864 closed defect (fixed)
php52 @5.2.17_8+fastcgi: configure cannot find freetype.h
Reported by: | macjoost@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ganster00@… | |
Port: | php52 |
Description
On a clean macports, I'm not able to install php52.
The issue seems to be that de compiler can't find freetype.h
See attached main.log
Attachments (1)
Change History (11)
Changed 11 years ago by macjoost@…
comment:1 Changed 11 years ago by macjoost@…
Cc: | macjoost@… added |
---|
comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | ryandesign@… macjoost@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Summary: | php52 won't install on 10.9 (mavericks) → php52 @5.2.17_8+fastcgi: configure cannot find freetype.h |
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mavericks removed |
---|---|
Status: | new → assigned |
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Sorry for the delay. The problem is not backporting the patch for this problem to php 5.2; I've done that already. The problem is that after patching the config.m4, the configure script needs to be regenerated. In fact the portfile is already trying to do this for other reasons (for example to fix the oracle variant) using use_autoconf, but it's apparently not working anymore. I've tried switching to use_autoreconf instead, and I've also tried switching from the old autoconf 2.13 that we're using (because that's the version the shipped configure script was generated with) to the newer autoconf 2.69, but both of them generate hundreds of error messages and don't produce a working configure script. I don't understand why.
comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ganster00@… added |
---|
Replying to ganster00@…:
May be just use solution proposed here?
That solution suggests editing the configure file. We can't edit the configure file, because even prior to this problem, we're already patching the files that the configure script is generated out of, therefore it is our intention to regenerate the configure script after having made those changes. This used to work, but broke at some point and I didn't notice it until trying to address this ticket 3 months ago. Unfortunately I have not made any further progress since then. I'm not in a big rush to fix this, since php 5.2 has been end-of-life for over three years.
comment:7 Changed 11 years ago by macjoost@…
Hi,
I understand the low priority since php52 is EOL. I like to give some feedback on why the php52 port might still be relevant.
Some hosting providers still use php52 (eg. even on current Plesk panels, it is available). I have some clients using these systems. My "need" to run php52 is to have my development system as close to my clients live system as possible.
Counter argument could be that motivating the hosting providers to upgrade their php might be a more efficient use of energy :-)
comment:8 Changed 10 years ago by murrayeisenberg@…
I desperately need the php52 port to install without error.
(This is because I have a backup of an old Drupal 5 site. In order to upgrade the site to run in the current Drupal version, I first have to set it up with Drupal 5. And for that, the newest version of php5 that will work is php52.)
Any way to get this to work??
comment:9 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
As of r128130 php52 is part of the php port and this freetype-related build failure has been resolved.
Note that the new php52 port matches the existing php53, php54, php55 and php56 ports, and no longer includes everything that was included in the old php52 port. There are now separate ports for those components that you can install separately. For example if you want the Apache 2 web server module of php52, install the php52-apache2handler port. If you want gd graphics library support, which includes freetype support, install the php52-gd port.
Cc Me!