Skip to content

Conversation

drupol
Copy link
Collaborator

@drupol drupol commented Jan 26, 2023

Context: #201 (comment)
Related PR: #201

@drupol
Copy link
Collaborator Author

drupol commented Jan 26, 2023

It's failing... I don't get it.

@HelloWorld017 any clue?

pkgs/phps.nix Outdated
"--with-libxml-dir=${prev.libxml2.dev}"
]
++ prev.lib.optionals (prev.lib.versionAtLeast args.version "7.3") [
"--with-pcre-regex=${prev.pcre2.dev}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checking for PCRE headers location... configure: error: Could not find pcre.h in /nix/store/r2cgszbs5mpjbrj0k28i9qa7wi7lqg15-pcre2-10.42-dev

Might be that older versions expect ${prev.pcre2.dev}/include.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will need to look at the configure.ac or m4 files, then.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I'll happily leave this job to someone else, it's way beyond my knowledge at this moment.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, this issue is now:

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, then it is looking for pcre2-config program so it likely expects the bin directory.

Copy link
Collaborator Author

@drupol drupol Jan 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue:

2023-01-26T15:34:06.3265322Z configure: error: Couldn't find pcre2-config

I also noticed this, I don't know if it's related:

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the --with-external-pcre is not recognized, the --with-pcre-regex is also added. So the error message is not relevant.

I'll take a look at the error next morning.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have succeeded this PR in #204 with fixes for this issue. Please take a look at it

@drupol drupol force-pushed the php73/fix-builds-erratum branch from f739a8c to 39f9f88 Compare January 26, 2023 14:26
@drupol drupol force-pushed the php73/fix-builds-erratum branch from 39f9f88 to 42eabd8 Compare January 26, 2023 15:32
@drupol drupol closed this Jan 27, 2023
@drupol drupol deleted the php73/fix-builds-erratum branch January 27, 2023 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants