Skip to content

Docs for building with an ICU source directory don't work #60947

@catamorphism

Description

@catamorphism

Version

N/A

Platform

Linux tjc-ThinkPad 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

  1. Download a source distribution of ICU into $HOME/icu
  2. Clone the node repo into node.
  3. cd node && ./configure --with-intl=full-icu --with-icu-source=$HOME/icu

This initially fails to find uvernum.h. After changing the command as follows:

./configure --with-intl=full-icu --with-icu-source=$HOME/icu/icu4c

it fails with:

Node.js configure: Found Python 3.12.3...
Deleting old ICU source: deps/icu
$HOME/icu/icu4c -> deps/icu
ERROR: ICU prebuilt data file deps/icu/source/data/in/icudt77l.dat does not exist.
       See the README.md.

If ICU is built with a separate build directory icu/build, then this file is found in icu/build/data/out/tmp/icudt79l.dat. When I copied this file into icu/source/data/in, and re-ran the configure command again, it worked.

The documentation should be updated to reflect these extra steps.

How often does it reproduce? Is there a required condition?

See above

What is the expected behavior? Why is that the expected behavior?

See above

What do you see instead?

See above

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions