Building apache-1.3.31 failed on 5.2-CURRENT

Radek Kozlowski radek at raadradd.com
Fri May 28 07:04:43 PDT 2004


I was trying to update www/apach13 from .29 to .31 on a quite recent 
CURRENT when it failed just at the beginning of the compilation:

===>  Building for apache-1.3.31
===> src
===> src/os/unix
cc -c  -I../../os/unix -I../../include -I/usr/local/include 
-funsigned-char -O -pipe -march=athlon-xp -DDOCUMENT_LOCATI 

ON=\"/usr/local/www/data\" 
-DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\" -DHARD_SERVER_LIMIT=512 
`../../apaci` os.c
In file included from ../../include/ap_config.h:34,
                  from os.c:21:
../../include/ap_config_auto.h:20:15: warning: extra tokens at end of 
#ifdef directive
[snip]

I had a look in ap_config_auto.h and to my surprise I found some strange 
characters in it, like:

/* check: #include <bstring.h> */
#ifdef HAVE_BSŤRING_H
#undef HAVE_BSŤRING_H
#endif

/* check: #include <crypt.h> */
#ifdef HAVE_CRÝPŤ_H
#undef HAVE_CRÝPŤ_H
#endif

/* check: #include <unistd.h> */
#ifndef HAVE_ÚNISŤD_H
#define HAVE_ÚNISŤD_H 1
#endif

I hope you'll be able to see it. Anyway, I changed that file by simply 
replacing Ť with T, Ý wit Y and Ú with U, started the build once again 
and it worked.

I have no idea where these characters come from. I'm using pl_PL locales 
on the system, if that has anything to do with the problem.

Anyone knows what is going on?

Thanks,
-Radek


More information about the freebsd-ports mailing list