### ImageMagick version

7.1.0

### Operating system

Linux

### Operating system, version and so on

Ubuntu 22.04

### Description

According to the [documentation](https://imagemagick.org/script/advanced-linux-installation.php):

>When --without-perl is specified, you must first install ImageMagick, change to the PerlMagick subdirectory, build, and finally install PerlMagick.

I tried this on Ubuntu 22.04:

```
$ git clone --depth=1 git@github.com:ImageMagick/ImageMagick.git
$ cd ImageMagick
$ ./configure --without-perl --prefix=/opt/image-magick3
$ make
$ sudo make install
$ cd PerlMagick
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: -L../MagickCore/.libs changed to -L/home/hakon/test/ImageMagick/PerlMagick/../MagickCore/.libs
Warning: -L../../MagickCore/.libs changed to -L/home/hakon/test/ImageMagick/PerlMagick/default/../../MagickCore/.libs
Writing MYMETA.yml and MYMETA.json
Warning: -L../../MagickCore/.libs changed to -L/home/hakon/test/ImageMagick/PerlMagick/quantum/../../MagickCore/.libs
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json

$ make
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
make[1]: Entering directory '/home/hakon/test/ImageMagick/PerlMagick/default'
cp Magick.pm ../blib/lib/Image/Magick.pm
Manifying 1 pod document
make[1]: Leaving directory '/home/hakon/test/ImageMagick/PerlMagick/default'
make[1]: Entering directory '/home/hakon/test/ImageMagick/PerlMagick/quantum'
make[1]: *** No rule to make target 'Q16HDRI.pm', needed by 'pm_to_blib'.  Stop.
make[1]: Leaving directory '/home/hakon/test/ImageMagick/PerlMagick/quantum'
make: *** [Makefile:545: subdirs] Error 2

```
Here are the complete log files from the previous build steps: 
[configure_log.txt](https://github.com/ImageMagick/ImageMagick/files/12829474/configure_log.txt)
[make_log.txt](https://github.com/ImageMagick/ImageMagick/files/12829480/make_log.txt)
[make_install_log.txt](https://github.com/ImageMagick/ImageMagick/files/12829483/make_install_log.txt)

(NOTE: If I use the `--with-perl` configure option instead, it works fine, i.e. no errors when running `sudo make install`. So this question is specifically about the `---without-perl` configure option)


### Steps to Reproduce

See description

### Images

_No response_
PerlMagic installation using --without-perl configure option: No rule to make target 'Q16HDRI.pm'
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : PerlMagic installation using --without-perl configure option: No rule to make target 'Q16HDRI.pm'
Issue date:

--- start body ---
### ImageMagick version

7.1.0

### Operating system

Linux

### Operating system, version and so on

Ubuntu 22.04

### Description

According to the [documentation](https://imagemagick.org/script/advanced-linux-installation.php):

>When --without-perl is specified, you must first install ImageMagick, change to the PerlMagick subdirectory, build, and finally install PerlMagick.

I tried this on Ubuntu 22.04:

```
$ git clone --depth=1 git@github.com:ImageMagick/ImageMagick.git
$ cd ImageMagick
$ ./configure --without-perl --prefix=/opt/image-magick3
$ make
$ sudo make install
$ cd PerlMagick
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Warning: -L../MagickCore/.libs changed to -L/home/hakon/test/ImageMagick/PerlMagick/../MagickCore/.libs
Warning: -L../../MagickCore/.libs changed to -L/home/hakon/test/ImageMagick/PerlMagick/default/../../MagickCore/.libs
Writing MYMETA.yml and MYMETA.json
Warning: -L../../MagickCore/.libs changed to -L/home/hakon/test/ImageMagick/PerlMagick/quantum/../../MagickCore/.libs
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json

$ make
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
make[1]: Entering directory '/home/hakon/test/ImageMagick/PerlMagick/default'
cp Magick.pm ../blib/lib/Image/Magick.pm
Manifying 1 pod document
make[1]: Leaving directory '/home/hakon/test/ImageMagick/PerlMagick/default'
make[1]: Entering directory '/home/hakon/test/ImageMagick/PerlMagick/quantum'
make[1]: *** No rule to make target 'Q16HDRI.pm', needed by 'pm_to_blib'.  Stop.
make[1]: Leaving directory '/home/hakon/test/ImageMagick/PerlMagick/quantum'
make: *** [Makefile:545: subdirs] Error 2

```
Here are the complete log files from the previous build steps: 
[configure_log.txt](https://github.com/ImageMagick/ImageMagick/files/12829474/configure_log.txt)
[make_log.txt](https://github.com/ImageMagick/ImageMagick/files/12829480/make_log.txt)
[make_install_log.txt](https://github.com/ImageMagick/ImageMagick/files/12829483/make_install_log.txt)

(NOTE: If I use the `--with-perl` configure option instead, it works fine, i.e. no errors when running `sudo make install`. So this question is specifically about the `---without-perl` configure option)


### Steps to Reproduce

See description

### Images

_No response_
--- end body ---

None