Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Need Help: Problem building apr-iconv |
|
Author |
|
toebes
Joined: 14 Aug 2024 Posts: 2 Location: Cary, NC
|
|
Back to top |
|
toebes
Joined: 14 Aug 2024 Posts: 2 Location: Cary, NC
|
Posted: Wed 14 Aug '24 17:27 Post subject: It doesn't change when using the .tar.gz version |
|
|
Just as a lark, I pulled down the .tar.gz version instead of the .zip version of the apr-* files to see if it made a difference, but alas still no joy compiling apr-iconv |
|
Back to top |
|
tangent Moderator
Joined: 16 Aug 2020 Posts: 348 Location: UK
|
Posted: Wed 14 Aug '24 21:21 Post subject: |
|
|
Sorry, I'm out-of-office for the next week, so can't look into your apr-iconv build problem in detail.
From where I am (with only a phone), I'd guess there's a problem with the various 'apr' file links to the apr, apr-util and apr-iconv folders (which are version specific). The various apr component build scripts reference folders with no version details, hence the reason I chose to set up file links with mklink. |
|
Back to top |
|
tangent Moderator
Joined: 16 Aug 2020 Posts: 348 Location: UK
|
Posted: Thu 22 Aug '24 15:32 Post subject: |
|
|
Ok, I've replicated your problem, which was as I suspected; namely there's a problem with your 'apr' symbolic links. The build process expects to find 'apr_pools.h' in ...\src\apr\include
In your source folder, if you list the various APR directories, you should see the corresponding directory symlinks (SYMLINKD) to the version specific entry, e.g.
C:\Development\Apache24\src>dir /a:d apr*
Volume in drive C is Windows
Volume Serial Number is E045-70D5
Directory of C:\Development\Apache24\src
22/08/2024 14:10 <SYMLINKD> apr [apr-1.7.4]
25/07/2024 20:46 <DIR> apr-1.7.4
22/08/2024 14:10 <SYMLINKD> apr-iconv [apr-iconv-1.2.2]
22/08/2024 14:10 <DIR> apr-iconv-1.2.2
22/08/2024 14:10 <SYMLINKD> apr-util [apr-util-1.6.3]
25/07/2024 20:46 <DIR> apr-util-1.6.3
0 File(s) 0 bytes
6 Dir(s) 69,222,727,680 bytes free If these are missing, then you'll need to determine why they're not being created on your filesystem during the build process.
In the build batch file, near the beginning of the APR-ICONV section, if you remove the "redirect to nul" entries on the mklink commands, viz:
Code: | pushd "%BUILD_BASE%\..\src"
mklink /d apr %APR%
mklink /d apr-iconv %APR-ICONV%
mklink /d apr-util %APR-UTIL%
popd |
then when you run build script, you should see the links being created, e.g.
Building apr-iconv-1.2.2
symbolic link created for apr <<===>> apr-1.7.4
symbolic link created for apr-iconv <<===>> apr-iconv-1.2.2
symbolic link created for apr-util <<===>> apr-util-1.6.3 As noted above, if these links are missing, the APR-ICONV build process will fail.
Let us know how you get on. |
|
Back to top |
|
|
|
|
|
|