Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2004 16:04:17 +0200
From:      Radek Kozlowski <radek@raadradd.com>
To:        freebsd-ports@freebsd.org
Subject:   Building apache-1.3.31 failed on 5.2-CURRENT
Message-ID:  <40B746E1.2060302@raadradd.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B746E1.2060302>