Noam Solomon wrote:
In the process of building apache_1.3.27 / mod_perl 1.3.27 / openssl0.9.6g / mod_ssl mod_ssl-2.8.12-1.3.27 on a Solaris OS 2 UltraSparc, with Perl 5.8, the apache make failed because of an undefined "url_delims". I was using the method where you build mod_ssl, then build mod_perl, then configure apache, loading mod_perl statically.I doubt this has anything to do with mod_perl. The build hasn't changed in years, so it must be some external glitch. For example you might have run out of disk space, so when it was writing the file it was zeroed.
Anyway, I poked around and found that indeed the uri_delims.h file in src/main was empty! So still in src/main, I manually ran "gcc gen_uri_delims.c", then ran "a.out > uri_delims.h" to regenerate that header file, and got this.
/* this file is automatically generated by gen_uri_delims, do not
edit */
static const unsigned char uri_delims[256] = {
T_NUL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,T_HASH,0,0,0,0,
0,0,0,0,0,0,0,T_SLASH,0,0,0,0,0,0,0,0,0,0,T_COLON,0,
0,0,0,T_QUESTION,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
};
Then when I ran make again, everything was hunky-dory. Now what I want to know is, why would this have happened in the first place? Is it a sign that something is fundamentally wrong with the build, but I just haven't seen it yet? Or should I just breathe easy and hope for the best?
--
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/