Re: Re: tru64 5.1b & php4.3.2rc1
| From: | ldg at ulysium dot net | Date: | Tue, 29 Apr 2003 23:04:22 +0000 |
| Subject: | Re: Re: tru64 5.1b & php4.3.2rc1 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10749@lists.php.net to get a copy of this message | ||
on 4/29/03 1:56 PM, Michael Mauch at michael.mauch@gmx.de uttered the
following:
>> I get lots of errors, and some of them I was able to get rid of by doing
>> something I shouldn't be doing:
>> I have duplicate header files like stdio.h and unistd.h (several others),
>> because they are in the standard system area /usr/include but also in
>> /usr/local/include because they were installed by some rpm packages I
>> needed.
>
> Oops, that sounds ugly - I don't think that it is a good idea to have
> different system header files in /usr/include and /usr/local/include.
> It's just asking for trouble.
Unfortunately, this couldn't be avoided, as most of what's in /usr/local was
put there by the rpms I needed, but those add such dupes of headers and
they're needed...
> Are there any other dupes left now? Did you run "make distclean;
I renamed the dupes causing the collision so they can't be picked up, and I
run the whole build with a shell script that has all my stuff in it,
including running a distclean every time it's built.
> ./config.nice" after cleaning these dupes?
here:
#! /bin/sh
#
# Created by configure
CFLAGS='-O2 -pthread' \
CC='cc' \
'./configure' \
'--prefix=/usr/local/apache' \
'--with-apxs2=/usr/local/apache/bin/apxs' \
'--with-config-file-path=/usr/local/apache/conf' \
'--with-java=/usr/opt/java131' \
'--with-mysql=/usr/local/mysql' \
'--with-zlib-dir=/usr/local' \
'--with-openssl=/usr/ssl' \
'--with-iconv=/usr/local' \
'--with-mm=/usr/local/mm' \
'--with-ndbm=/usr' \
'--with-dbm=/usr' \
'--with-unixODBC' \
'--with-flatfile' \
'--with-cpdflib' \
'--with-bz2' \
'--with-zlib' \
'--with-gd' \
'--disable-cgi' \
'--enable-dba' \
'--enable-mbregex' \
'--enable-mbstring' \
'--enable-sigchild' \
'--enable-mime-magic' \
'--enable-memory-limit' \
'--enable-gd-native-ttf' \
'--enable-debug' \
"$@"
> You can also try if
>
> env CC="cc -I/usr/include" ./configure your_configure_options
here's my configure "line" out of my build script:
CC="cc" CFLAGS="-O2 -pthread" \
./configure --prefix=/usr/local/apache \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--with-java=/usr/opt/java131 \
--with-mysql=/usr/local/mysql \
--with-zlib-dir=/usr/local \
--with-openssl=/usr/ssl \
--with-iconv=/usr/local \
--with-mm=/usr/local/mm \
--with-ndbm=/usr \
--with-dbm=/usr \
--with-unixODBC \
--with-flatfile \
--with-cpdflib \
--with-bz2 \
--with-zlib \
--with-gd \
--disable-cgi \
--enable-dba \
--enable-mbregex \
--enable-mbstring \
--enable-sigchild \
--enable-mime-magic \
--enable-memory-limit \
--enable-gd-native-ttf \
--enable-debug
(just like the config.nice...)
I have it do the cleaning before that and the makes after...
>> cc: Error: /usr/include/dlfcn.h, line 59: Missing ";". (nosemi)
>> extern int dladdr __((void *, Dl_info *));
>> -------------------------------^
> [Lots of similar problems with "__"]
>
> I don't know what's happening there - what was your configure line?
See above. I don't think /usr/include needs to be specified, it seems to
find those things by itself, and the stuff in /usr/local seems found fine
with adding that to the cflags, I guess because the --with options tells it
where to get that stuff...
The thing is, I was able to build 4.3.0 all the way before...
I'll give a shot at rc2 right now...
--
Didier Godefroy
mailto:dg@ulysium.net