Re: [PHP4BETA] Compile time error using --with-oci8

From: Date: Wed, 22 Dec 1999 21:27:10 +0000
Subject: Re: [PHP4BETA] Compile time error using --with-oci8
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8409@lists.php.net to get a copy of this message
Evidently on the Digital Unix c compiler (cc) #define statements must start at column 0, or they will be ignored. I edited oci8.c on my machine and removed the preceeding white space before all the #define statements and got past the error I reported below. BTW, when I switched to gcc, my compile failed with a different error even earlier, but I am not pursuing that one for now! So I guess it would be advisable to avoid indenting lines that contain #define statements, if you want to be compatible with the digital unix c compiler. Thanks, David P.S. I *am* up and running php version 4 with the oci*() functions. David Munsey-Kano wrote: > > I am recompiling my beta release to include the oci*() functions and I > got this error: > > #define PHP_OCI_INIT_MODE OCI_DEFAULT > --------^ > cc: Error: oci8.c, line 404: In this statement, "PHP_OCI_INIT_MODE" is > not decla > red. > > I am switching to the gcc to see if that helps, but I have been able to > compile php using the native Alpha Digital Unix compiler before. > > Any ideas why I might get this error? > > Thanks, David > P.S. This list has been so helpful so fast! Thanks to those who are > reading and responding so quickly! > -- > David Munsey-Kano > Dartmouth College > (603) 646-1320 > > The world is full of zanies and fools, who don't believe in sensible > rules, and don't believe what sensible people say, and because these > daft and dewey-eyed dolts keep building up impossible hopes, impossible > things keep happening everyday! > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net -- David Munsey-Kano Dartmouth College (603) 646-1320 The world is full of zanies and fools, who don't believe in sensible rules, and don't believe what sensible people say, and because these daft and dewey-eyed dolts keep building up impossible hopes, impossible things keep happening everyday!

« previous php.version4 (#8409) next »