On Tue, Feb 19, 2002 at 11:07:31AM +0800, Lito A. Lampitoc wrote (wyy sez):
> have you read the INSTALL file that goes with it?
> 
> [EMAIL PROTECTED] wrote:
> 
> >
> >
> > hello guys,
> > i have this stupid question regarding compiling problems on solaris 8.
> > i am installing PHP and upon issuing a long ./configure options as
> > shown below. i can't complete the whole configure options.. i can't
> > input anymore configure options after the --with-java options. tried
> > putting a backslash sign after each line that can be successfully done
> > with RH linux but upon doing so in solaris, it failed.
> >
> > ./configure --with-mysql=/usr/local/mysql --with-zlib --enable-ftp
> > --enable-gd-native-ttf --with-apxs=/usr/local/apache/bin/apxs
> > --enable-libgcc --with-xml --enable-sockets --enable-track-vars
> > --with-ldap=/usr/local/ldap --with-java=/usr/j2se --enable-trans-sid
> > --disable-magic-quotes --with-imap=/usr/local/imap-2001a
> > --with-openssl
> >
> > any idea regarding this? and is there any options or configuration
> > files where i can change the number of characters i can issue on a
> > command prompt?
> >
if doing a:

./configure --with-mysql=/usr/local/mysql --with-zlib --enable-ftp \
--enable-gd-native-ttf --with-apxs=/usr/local/apache/bin/apxs \
--enable-libgcc --with-xml --enable-sockets --enable-track-vars \
--with-ldap=/usr/local/ldap --with-java=/usr/j2se --enable-trans-sid \
--disable-magic-quotes --with-imap=/usr/local/imap-2001a \
--with-openssl 

does not work in solaris. they try this.

create a file called config.inc containing the following. note that
there are no newline character here.

--with-mysql=/usr/local/mysql --with-zlib --enable-ftp --enable-gd-native-ttf 
--with-apxs=/usr/local/apache/bin/apxs --enable-libgcc --with-xml --enable-sockets 
--enable-track-vars --with-ldap=/usr/local/ldap --with-java=/usr/j2se 
--enable-trans-sid --disable-magic-quotes --with-imap=/usr/local/imap-2001a 
--with-openssl

then do a:

./configure `cat config.inc`
 
this is a crufty solution but it works in most cases and you do not need to write
type the whole crappy line.

btw, solution A will work is you run /bin/bash as your default shell in 
solaris. most probably you are not.

--------------------------------------
William Emmanuel S. Yu
Ateneo Cervini-Eliazo Networks (ACENT)
email  :  wyy at admu dot edu dot ph
web    :  http://CNG.ateneo.net/wyu/
phone  :  63(2)4266001-4186
GPG    :  http://CNG.ateneo.net/wyu/wyy.pgp
 
War spares not the brave, but the cowardly.
                -- Anacreon
 

Attachment: msg14925/pgp00000.pgp
Description: PGP signature

Reply via email to