I have had partial success compiling the most recent APR 1.2.12 (http://apr.apache.org/download.cgi) layer under the EMX and Innotek's port of the GCC compiler (cool --I assume-- because there is no Odin Win32 layer, that I know of, to execute the compiler). Before going deeper into the issues that I am experiencing, I would like to know if anyone has knowledge of an already successful APR build under OS/2.
I contacted the maintainer of the old (4-5 years ago) OS/2 version on Friday (11-30-2007); but although my email did not bounce, I have not received a reply.
The APR is a prerequisite for building Apache Harmony (http://harmony.apache.org/), Apache's implementation of Java (though not fully compatible at this stage yet). Needless to say, the APR layer represents a leap (as opposed to a single step) towards an Java implementation under OS/2, given the fact that the Golden Code Dev. owner(s) has kept mum on open sourcing their excellent code.
Whereas success is not guaranteed, I am planning on allocating some mind share towards that effort.
Below is the error that I am getting when I enter the "make" command:
In file included from include/apr_pools.h:37,
from include/arch/apr_private_common.h:24,
from include/arch/unix/apr_private.h:812,
from passwd/apr_getpass.c:22:
include/apr.h:400:2: #error no decision has been made on APR_PATH_MAX for your platform
make[1]: *** [passwd/apr_getpass.lo] Error 1
make: *** [all-recursive] Error 1
In other words, and if I am deducing correctly by looking into my actual directories created, the passwd/apr_getpass.lo is non existent. And that causes make to spit Error 1.
Quote from: El Vato on 2007.12.04, 02:30:17
I have had partial success compiling the most recent APR 1.2.12 (http://apr.apache.org/download.cgi) layer under the EMX and Innotek's port of the GCC compiler (cool --I assume-- because there is no Odin Win32 layer, that I know of, to execute the compiler). Before going deeper into the issues that I am experiencing, I would like to know if anyone has knowledge of an already successful APR build under OS/2.
A diff that I use to build Apache2 (which also uses APR) is at http://dev.smedley.info/apr-1.2.7.patch
Alternately, a prebuilt APR/APRUTIL are included in my build environment.
Cheers,
Paul.
Quote from: Paul Smedley on 2007.12.04, 10:56:03
Quote from: El Vato on 2007.12.04, 02:30:17
I have had partial success compiling the most recent APR 1.2.12 (http://apr.apache.org/download.cgi) layer under the EMX and Innotek's port of the GCC compiler [...].
A diff that I use to build Apache2 (which also uses APR) is at http://dev.smedley.info/apr-1.2.7.patch
Alternately, a prebuilt APR/APRUTIL are included in my build environment.
Cheers,
Paul.
Thank you for the links to your available online resources, Smedley. Needless to say, I had no idea that by now you were looking at the APR/APRUTIL landscape through the rear view mirror of your OS/2 powered vehicle :).
Best to you.