← Back to team overview

sslug-teknik team mailing list archive

Re: PHP3 compiler fejl

 

On Sun, 13 Feb 2000 14:26:54 +0100, Morten Gade Sørensen <sslug@xxxxxxxxxxxxx>
wrote:
> Hej!
> 
> Nogen der kan fortælle hvorfor jeg får denne fejl når jeg prøver at
> compile PHP3 3.0.14 til Apache 1.3.x (har prøvet både 1.3.9 og 1.3.11)
> 
> unix                  -I/usr/include/mysql    -c functions/microtime.c
> -o functions/microtime.o
> functions/microtime.c: In function `php3_getrusage':
> functions/microtime.c:121: storage size of `usg' isn't known
> functions/microtime.c:124: `RUSAGE_SELF' undeclared (first use in this
> function)
> functions/microtime.c:124: (Each undeclared identifier is reported only
> once
> functions/microtime.c:124: for each function it appears in.)
> functions/microtime.c:130: `RUSAGE_CHILDREN' undeclared (first use in
> this function)
> make: *** [functions/microtime.o] Error 1
> [aon@fandango php-3.0.14]$ 
> 
> jeg bruger flg. options: 
> ./configure --with-mysql --with-apache=../../apache/apache_1.3.9
> --enable-track-vars

Er ../../apache/apache_1.3.9 apache sourcen? Har du kørt ./configure i
../../apache/apache_1.3.9? Hvor ligger din MySQL (ikke sourcen)? Har du prøvet
med fuld sti til MySQL?

./configure --with-mysql=/opt/MySQL --with-apache=/usr/src/apache_1.3.9

Har du i bunden af din /etc/ld.so.conf en linje ala:

/opt/MySQL/lib/mysql

hvor /opt/MySQL er skiftet til hvor du nu har installeret MySQL.

-- 
Most kind regards,
Kristian Bjoernskov, <mailto:krbj@xxxxxxx>
Novo Nordisk IT, Network - internet.
Phone: +45 4442 3299. Fax: +45 4442 6061


Follow ups

References