Re: <php> installing PHP4 with Apache
| From: | Morty McFly | Date: | Sat, 01 Jul 2000 08:24:19 +0000 |
| Subject: | Re: <php> installing PHP4 with Apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4230@lists.php.net to get a copy of this message | ||
From what the error message what the error message says, you probably need
to use gcc for compiling, or install it if you don'y already have it on
the system.
Morty
On Sat, 1 Jul 2000, Lester June Cabrera wrote:
> hi morty,
>
> i got it. but now i have the ff error when running the 'configure' command.
> i have installed GNUgcc on my system. Or what is that mysqlclient thing in
> the error?
>
> + adding selected modules
> o php4_module uses ConfigStart/End
> ld: fatal: library -lmysqlclient: not found
> ld: fatal: File processing errors. No output written to helpers/dummy
> collect2: ld returned 1 exit status
> make: Fatal error: Command failed for target `dummy'
> + doing sanity check on compiler and options
> ** A test compilation with your Makefile configuration
> ** failed. This is most likely because your C compiler
> ** is not ANSI. Apache requires an ANSI C Compiler, such
> ** as gcc. The above error message from your compiler
> ** will also provide a clue.
> Aborting!
>
>
> Thanks,
> Lester
>
>
> At 07:00 PM 7/1/00 +1100, Morty McFly wrote:
> >I think it should be:
> > --activate-module=src/modules/php4/libphp4.a
> >
> >-Morty
> >
> >On Sat, 1 Jul 2000, Lester June Cabrera wrote:
> >
> > >
> > > hi
> > >
> > > i'm encountering errors wheng running 'make ' during my apache
> > > installation. i have installed PHP4 correctly already. inside apache
> > > directory, i ran this:
> > >
> > > ./configure --activate-module=src/modules/php4/libmodphp4.a
> > > --prefix=/usr/local/apache
> > >
> > > then when i ran 'make', i have the ff errors:
> > >
> > > make: Fatal error: Don't know how to make target `libmodphp4.a'
> > > Current working directory /usr/local/apache_1.3.6/src/modules/php4
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `all'
> > > Current working directory /usr/local/apache_1.3.6/src/modules
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `subdirs'
> > > Current working directory /usr/local/apache_1.3.6/src
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `build-std'
> > > Current working directory /usr/local/apache_1.3.6
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `build'
> > >
> > >
> > > did i call the correct module to activate? please help...
> > >
> > >
> > > Lester
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > >
> > >
>
>
>
> Lester June Cabrera
> Senior Web Programmer
> Worldroom.com
> A service of I-Quest Corporation Ltd.
> Phone : (632) 867-8460 / 867-8465
> Fax : (632) 867-8077
> Email : lester@i-quest.com.com
> Visit us at http://www.worldroom.com
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>