#27157 [Csd]: php 4.3.4 sybase-ct make failure

2004-02-17 Thread detoma dot alessandro at sea-aeroportimilano dot it
 ID:   27157
 User updated by:  detoma dot alessandro at sea-aeroportimilano dot it
 Reported By:  detoma dot alessandro at sea-aeroportimilano dot it
 Status:   Closed
 Bug Type: Compile Failure
 Operating System: solaris 8
 PHP Version:  4CVS, 5CVS
 Assigned To:  thekid
 New Comment:

Thank you for your replay.

I look the error but I don't understand where is the error of
configuration.

I try to add the "/usr/local/lib/php" in my php.ini inclde_path but
nothing to do.



Could you help me?



Best regards,

Alex


Previous Comments:


[2004-02-16 11:06:32] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

The sybase compilation error is fixed (you wouldn't be able 

to get the PEAR install) if it was not. The PEAR problem 

you are seeing is due to a configuration problem on your 

end. Look at the error message. 



[2004-02-16 05:52:15] detoma dot alessandro at sea-aeroportimilano dot
it

I try with latest version of php.

this version is better but the following error occur when I run "make
install":





make install



Installing PHP SAPI module:   apache2handler

/appl/apache/build/instdso.sh SH_LIBTOOL='/appl/apache/build/libtool'
libphp4.la /appl/apache/modules

/appl/apache/build/libtool --mode=install cp libphp4.la
/appl/apache/modules/

cp .libs/libphp4.so /appl/apache/modules/libphp4.so

chmod +x /appl/apache/modules/libphp4.so

cp .libs/libphp4.lai /appl/apache/modules/libphp4.la

libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php4-STABLE-200402160830/libs'

chmod 755 /appl/apache/modules/libphp4.so

[activating module `php4' in /appl/apache/conf/httpd.conf]

Installing PHP CLI binary:/usr/local/bin/

Installing PHP CLI man page:  /usr/local/man/man1/

Installing PEAR environment:  /usr/local/lib/php/



Open Client Message:

Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131)

Message String: ct_init(): network packet layer: internal net library
error: Attempt to load protocol driver failed

[PEAR] Archive_Tar- already installed: 1.1

[PEAR] Console_Getopt - upgraded:  1.2

[PEAR] PEAR   - upgraded:  1.3b6

Wrote PEAR system config file at: /usr/local/etc/pear.conf

You may want to add: /usr/local/lib/php to your php.ini include_path

*** Error code 139

The following command caused the error:

/usr/local/src/php4-STABLE-200402160830/sapi/cli/php -n
-dshort_open_tag=0 -dsafe_mode=0
/usr/local/src/php4-STABLE-200402160830/pear/install-pear.php -d
"/usr/local/lib/php" -b "/usr/local/bin"
/usr/local/src/php4-STABLE-200402160830/pear/package-*.xml

make: Fatal error: Command failed for target `install-pear-installer'

Current working directory /usr/local/src/php4-STABLE-200402160830

*** Error code 1

make: Fatal error: Command failed for target `install-pear'



Thanks



[2004-02-15 05:32:21] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2004-02-08 11:45:35] [EMAIL PROTECTED]

See if the following patch fixes it for you:

http://sitten-polizei.de/php_sybase_ct.c.diff



[2004-02-08 11:23:01] [EMAIL PROTECTED]

Wait, I just saw the second compile failure shows lines 248 and 249 as
where the errors occur.



-- snip --

zval severity, msgnumber, state, line, text;

zval *ptrs[5]= {&msgnumber, &severity, &state, &line, &text};

zval **args[5]= {&ptrs[0], &ptrs[1], &ptrs[2], &ptrs[3], &ptrs[4]};

-- snip --



OK, then this isn't related to ZTS and not to my recent changes either,
as this code has been there (or a couple of lines before that) for
quite a while now (revision 1.71 or PHP 4.3.0).



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27157

-- 
Edit this bug report at http://bugs.php.net/?id=27157&edit=1


#27157 [Fbk->Opn]: php 4.3.4 sybase-ct make failure

2004-02-16 Thread detoma dot alessandro at sea-aeroportimilano dot it
 ID:   27157
 User updated by:  detoma dot alessandro at sea-aeroportimilano dot it
 Reported By:  detoma dot alessandro at sea-aeroportimilano dot it
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: solaris 8
 PHP Version:  4CVS, 5CVS
 Assigned To:  thekid
 New Comment:

I try with latest version of php.

this version is better but the following error occur when I run "make
install":





make install



Installing PHP SAPI module:   apache2handler

/appl/apache/build/instdso.sh SH_LIBTOOL='/appl/apache/build/libtool'
libphp4.la /appl/apache/modules

/appl/apache/build/libtool --mode=install cp libphp4.la
/appl/apache/modules/

cp .libs/libphp4.so /appl/apache/modules/libphp4.so

chmod +x /appl/apache/modules/libphp4.so

cp .libs/libphp4.lai /appl/apache/modules/libphp4.la

libtool: install: warning: remember to run `libtool --finish
/usr/local/src/php4-STABLE-200402160830/libs'

chmod 755 /appl/apache/modules/libphp4.so

[activating module `php4' in /appl/apache/conf/httpd.conf]

Installing PHP CLI binary:/usr/local/bin/

Installing PHP CLI man page:  /usr/local/man/man1/

Installing PEAR environment:  /usr/local/lib/php/



Open Client Message:

Message number: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (131)

Message String: ct_init(): network packet layer: internal net library
error: Attempt to load protocol driver failed

[PEAR] Archive_Tar- already installed: 1.1

[PEAR] Console_Getopt - upgraded:  1.2

[PEAR] PEAR   - upgraded:  1.3b6

Wrote PEAR system config file at: /usr/local/etc/pear.conf

You may want to add: /usr/local/lib/php to your php.ini include_path

*** Error code 139

The following command caused the error:

/usr/local/src/php4-STABLE-200402160830/sapi/cli/php -n
-dshort_open_tag=0 -dsafe_mode=0
/usr/local/src/php4-STABLE-200402160830/pear/install-pear.php -d
"/usr/local/lib/php" -b "/usr/local/bin"
/usr/local/src/php4-STABLE-200402160830/pear/package-*.xml

make: Fatal error: Command failed for target `install-pear-installer'

Current working directory /usr/local/src/php4-STABLE-200402160830

*** Error code 1

make: Fatal error: Command failed for target `install-pear'



Thanks


Previous Comments:


[2004-02-15 05:32:21] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2004-02-08 11:45:35] [EMAIL PROTECTED]

See if the following patch fixes it for you:

http://sitten-polizei.de/php_sybase_ct.c.diff



[2004-02-08 11:23:01] [EMAIL PROTECTED]

Wait, I just saw the second compile failure shows lines 248 and 249 as
where the errors occur.



-- snip --

zval severity, msgnumber, state, line, text;

zval *ptrs[5]= {&msgnumber, &severity, &state, &line, &text};

zval **args[5]= {&ptrs[0], &ptrs[1], &ptrs[2], &ptrs[3], &ptrs[4]};

-- snip --



OK, then this isn't related to ZTS and not to my recent changes either,
as this code has been there (or a couple of lines before that) for
quite a while now (revision 1.71 or PHP 4.3.0).



[2004-02-08 11:07:20] [EMAIL PROTECTED]

Compiles fine with --enable-maintainer-zts or without, problem seems to
be related to --with-tsrm-pthreads.



Line 241 reads the following:

static int _call_message_handler(zval *callback_name, CS_SERVERMSG
*srvmsg TSRMLS_DC)



I can't see anything obviously wrong with this, it fits the scheme of
numerous other function declarations in, for example, ext/standard.

------------------------

[2004-02-05 06:08:03] detoma dot alessandro at sea-aeroportimilano dot
it

Description:

./configure \

--with-apxs2=/appl/apache/bin/apxs \

--with-oracle=/oracle/product/8.1.7 \

--with-sybase-ct=/database/sybase/OCS-12_0 \

--with-openssl=/usr/local/ssl \

--with-jpeg-dir=/usr/local \

--with-zlib-dir=shared \

--with-png-dir=/usr/local \

--with-tsrm-pthreads \

--with-curl=/usr/local



make fail when I compile with sybase library 12.0 :



/bin/sh /usr/local/src/php-4.3.4/libtool --silent --preserve-dup-deps
--mode=compile /usr/local/src/php-4.3.4/meta_ccld  -Iext/sybase_ct/
-I/usr/local/src/php-4.3.4/ext/sybase_ct/ -DPHP_ATOM_INC
-I/usr/local/src/php-4.3.4/include -I/usr/local/src/php-4.3.4/main
-I/usr/local/src/php-4.3.4 -I/usr/local/src/php-4.3.4/Zend
-I/usr/local/ssl/include -I/usr/local/include
-I/oracle/product/8.1.7/rdbms/public -I/oracle/product/8.1.7/rdbms/demo
-I/database/sybase/OCS-12_0/include
-I/usr/local/src/ph

#27157 [Asn]: php 4.3.4 sybase-ct make failure

2004-02-09 Thread detoma dot alessandro at sea-aeroportimilano dot it
 ID:   27157
 User updated by:  detoma dot alessandro at sea-aeroportimilano dot it
 Reported By:  detoma dot alessandro at sea-aeroportimilano dot it
 Status:   Assigned
 Bug Type: Compile Failure
 Operating System: solaris 8
 PHP Version:  4CVS, 5CVS
 Assigned To:  thekid
 New Comment:

I have tried to compile with version 4.3.0 and with the latest version
of php but nothing to do:

with version 4.3.0 the error is the seguent:

/bin/sh libtool --silent --mode=compile cc  -Iext/sybase_ct/
-I/usr/local/src/php-4.3.0/ext/sybase_ct/ -DPHP_ATOM_INC
-I/usr/local/src/php-4.3.0/include -I/usr/local/src/php-4.3.0/main
-I/usr/local/src/php-4.3.0 -I/appl/apache/include
-I/usr/local/src/php-4.3.0/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/oracle/product/8.1.7/rdbms/public
-I/oracle/product/8.1.7/rdbms/demo -I/database/sybase/OCS-12_0/include
-I/usr/local/src/php-4.3.0/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/src/php-4.3.0/TSRM
-DTHREAD=1  -g -mt -DZTS  -prefer-pic -c
/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c -o
ext/sybase_ct/php_sybase_ct.lo
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
cc: acomp failed for
/usr/local/src/php-4.3.0/ext/sybase_ct/php_sybase_ct.c
*** Error code 1
make: Fatal error: Command failed for target
`ext/sybase_ct/php_sybase_ct.lo'

Best regards,

Alex


Previous Comments:


[2004-02-08 11:45:35] [EMAIL PROTECTED]

See if the following patch fixes it for you:
http://sitten-polizei.de/php_sybase_ct.c.diff



[2004-02-08 11:23:01] [EMAIL PROTECTED]

Wait, I just saw the second compile failure shows lines 248 and 249 as
where the errors occur.

-- snip --
zval severity, msgnumber, state, line, text;
zval *ptrs[5]= {&msgnumber, &severity, &state, &line, &text};
zval **args[5]= {&ptrs[0], &ptrs[1], &ptrs[2], &ptrs[3], &ptrs[4]};
-- snip --

OK, then this isn't related to ZTS and not to my recent changes either,
as this code has been there (or a couple of lines before that) for
quite a while now (revision 1.71 or PHP 4.3.0).



[2004-02-08 11:07:20] [EMAIL PROTECTED]

Compiles fine with --enable-maintainer-zts or without, problem seems to
be related to --with-tsrm-pthreads.

Line 241 reads the following:
static int _call_message_handler(zval *callback_name, CS_SERVERMSG
*srvmsg TSRMLS_DC)

I can't see anything obviously wrong with this, it fits the scheme of
numerous other function declarations in, for example, ext/standard.



[2004-02-07 23:09:32] [EMAIL PROTECTED]

Assigned to the maintainer..





[2004-02-05 09:41:18] detoma dot alessandro at sea-aeroportimilano dot
it

I'm sorry but latest version of php dosn't work properly.

The following error occur.

Thanks.

/bin/sh /usr/local/src/php4-STABLE-200402051230/libtool --silent
--preserve-dup-deps --mode=compile
/usr/local/src/php4-STABLE-200402051230/meta_ccld  -Iext/sybase_ct/
-I/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/ -DPHP_ATOM_INC
-I/usr/local/src/php4-STABLE-200402051230/include
-I/usr/local/src/php4-STABLE-200402051230/main
-I/usr/local/src/php4-STABLE-200402051230
-I/usr/local/src/php4-STABLE-200402051230/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/oracle/product/8.1.7/rdbms/public
-I/oracle/product/8.1.7/rdbms/demo -I/database/sybase/OCS-12_0/include
-I/usr/local/src/php4-STABLE-200402051

#26407 [Com]: Result set fetching broken around transactions (OpenClient Error #155)

2004-02-06 Thread detoma dot alessandro at sea-aeroportimilano dot it
 ID:   26407
 Comment by:   detoma dot alessandro at sea-aeroportimilano dot it
 Reported By:  tvoigt at informatik dot tu-cottbus dot de
 Status:   Open
 Bug Type: Sybase-ct (ctlib) related
 Operating System: Linux (i686) & Solaris 8
 PHP Version:  4.3.4
 New Comment:

Unfortunatly I don't know to help you, because I have a problem similar
to your(failure to compile PHP4.3.4 with sybase 12.0).
I notice however that you have compiled PHP4.3.4 with gdlib on
solaris8; Could you say me which version you have used? 
Best regards,
Alex


Previous Comments:


[2004-02-01 14:50:07] tvoigt at informatik dot tu-cottbus dot de

Okay, done. It's my first bug report/'make test'-thing, but I'm just
beginning to get it ;-)
Thanks for your test case!

Here's the content of bug26407.log (php4-STABLE-200401261030): 
http://www.informatik.tu-cottbus.de/~tvoigt/php/bug26407.log

...and to prove that everything was fine with php-4.3.3:
http://www.informatik.tu-cottbus.de/~tvoigt/php/bug26407.log.php-4.3.3
(Okay, there is a warning about the character set in sybase_connect,
making this a "failed" test, too. But the actual test results are as
expected. Maybe you want to adapt the test case?)

If you are interested in the other sybase test's results, find the
complete output here:
http://www.informatik.tu-cottbus.de/~tvoigt/php/php_test_results_20040201.txt
(#22403 testing failed for my dbo not allowing to create stored
procedures in tempdb, sorry.)

Thanks a lot,
Thomas



[2004-02-01 10:01:28] [EMAIL PROTECTED]

Hrm, the test results contain no ext/sybase_ct related errors.

I guess this is because the tests/ subdirectory is not in the PHP4_3
branch - have a look at
http://cvs.php.net/cvs.php/php-src/ext/sybase_ct/tests?login=2,
especially bug26407.phpt (you'll also need the two .inc-files and will
probably have to change the server name and credentials in test.inc)



[2004-01-26 07:20:30] tvoigt at informatik dot tu-cottbus dot de

Yes, we have Sybase's ctlib in production. We decided against FreeTDS
here (for it crashed *way* too often).

Here is the test output created by PHP/4.3.5RC2-dev (2004-01-26):
http://www.informatik.tu-cottbus.de/~tvoigt/php/php_test_results_20040126.txt

Thanks for your reply,
Thomas



[2004-01-23 21:52:12] [EMAIL PROTECTED]

Can neither reproduce with PHP/4.3.4 nor with current CVS. I'm using
FreeTSD v.0.62 under FreeBSD/4.8-STABLE. Maybe this occurs with the
Sybase-libraries only?

Could you provide the ouput of 

$ make test TESTS=ext/sybase_ct/

(execute in top source directory of a PHP checkout / snap)



[2003-12-02 10:25:11] tvoigt at informatik dot tu-cottbus dot de

All sample queries above execute perfectly well up to PHP version
4.3.3; on PHP-4.3.4 (and later devel snapshots) I'll get the OpenClient
error message and those queries don't work.

Both PHP versions are configured identically (on both machines, running
Solaris or Linux). Nothing else has been altered. So whatever upsets
OpenClient must have its origin in changed code in PHP-4.3.4...

Thanks and best regards,
Thomas



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/26407

-- 
Edit this bug report at http://bugs.php.net/?id=26407&edit=1


#27157 [Fbk->Opn]: php 4.3.4 sybase-ct make failure

2004-02-05 Thread detoma dot alessandro at sea-aeroportimilano dot it
 ID:   27157
 User updated by:  detoma dot alessandro at sea-aeroportimilano dot it
 Reported By:  detoma dot alessandro at sea-aeroportimilano dot it
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: solaris 8
 PHP Version:  4.3.4
 New Comment:

I'm sorry but latest version of php dosn't work properly.

The following error occur.

Thanks.

/bin/sh /usr/local/src/php4-STABLE-200402051230/libtool --silent
--preserve-dup-deps --mode=compile
/usr/local/src/php4-STABLE-200402051230/meta_ccld  -Iext/sybase_ct/
-I/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/ -DPHP_ATOM_INC
-I/usr/local/src/php4-STABLE-200402051230/include
-I/usr/local/src/php4-STABLE-200402051230/main
-I/usr/local/src/php4-STABLE-200402051230
-I/usr/local/src/php4-STABLE-200402051230/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/oracle/product/8.1.7/rdbms/public
-I/oracle/product/8.1.7/rdbms/demo -I/database/sybase/OCS-12_0/include
-I/usr/local/src/php4-STABLE-200402051230/ext/xml/expat 
-D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-I/usr/local/src/php4-STABLE-200402051230/TSRM -DTHREAD=1  -g -mt -DZTS
 -prefer-pic -c
/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c
-o ext/sybase_ct/php_sybase_ct.lo
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 248: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 248: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 248: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 248: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 248: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 249: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 249: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 249: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 249: non-constant initializer: op "U&"
"/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c",
line 249: non-constant initializer: op "U&"
cc: acomp failed for
/usr/local/src/php4-STABLE-200402051230/ext/sybase_ct/php_sybase_ct.c
*** Error code 1
make: Fatal error: Command failed for target
`ext/sybase_ct/php_sybase_ct.lo'


Previous Comments:


[2004-02-05 07:31:27] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip





[2004-02-05 06:08:03] detoma dot alessandro at sea-aeroportimilano dot
it

Description:

./configure \
--with-apxs2=/appl/apache/bin/apxs \
--with-oracle=/oracle/product/8.1.7 \
--with-sybase-ct=/database/sybase/OCS-12_0 \
--with-openssl=/usr/local/ssl \
--with-jpeg-dir=/usr/local \
--with-zlib-dir=shared \
--with-png-dir=/usr/local \
--with-tsrm-pthreads \
--with-curl=/usr/local

make fail when I compile with sybase library 12.0 :

/bin/sh /usr/local/src/php-4.3.4/libtool --silent --preserve-dup-deps
--mode=compile /usr/local/src/php-4.3.4/meta_ccld  -Iext/sybase_ct/
-I/usr/local/src/php-4.3.4/ext/sybase_ct/ -DPHP_ATOM_INC
-I/usr/local/src/php-4.3.4/include -I/usr/local/src/php-4.3.4/main
-I/usr/local/src/php-4.3.4 -I/usr/local/src/php-4.3.4/Zend
-I/usr/local/ssl/include -I/usr/local/include
-I/oracle/product/8.1.7/rdbms/public -I/oracle/product/8.1.7/rdbms/demo
-I/database/sybase/OCS-12_0/include
-I/usr/local/src/php-4.3.4/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/src/php-4.3.4/TSRM
-DTHREAD=1  -g -mt -DZTS  -prefer-pic -c
/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c -o
ext/sybase_ct/php_sybase_ct.lo
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&&

#27157 [NEW]: php 4.3.4 sybase-ct make failure

2004-02-05 Thread detoma dot alessandro at sea-aeroportimilano dot it
From: detoma dot alessandro at sea-aeroportimilano dot it
Operating system: solaris 8
PHP version:  4.3.4
PHP Bug Type: Compile Failure
Bug description:  php 4.3.4 sybase-ct make failure

Description:

./configure \
--with-apxs2=/appl/apache/bin/apxs \
--with-oracle=/oracle/product/8.1.7 \
--with-sybase-ct=/database/sybase/OCS-12_0 \
--with-openssl=/usr/local/ssl \
--with-jpeg-dir=/usr/local \
--with-zlib-dir=shared \
--with-png-dir=/usr/local \
--with-tsrm-pthreads \
--with-curl=/usr/local

make fail when I compile with sybase library 12.0 :

/bin/sh /usr/local/src/php-4.3.4/libtool --silent --preserve-dup-deps
--mode=compile /usr/local/src/php-4.3.4/meta_ccld  -Iext/sybase_ct/
-I/usr/local/src/php-4.3.4/ext/sybase_ct/ -DPHP_ATOM_INC
-I/usr/local/src/php-4.3.4/include -I/usr/local/src/php-4.3.4/main
-I/usr/local/src/php-4.3.4 -I/usr/local/src/php-4.3.4/Zend
-I/usr/local/ssl/include -I/usr/local/include
-I/oracle/product/8.1.7/rdbms/public -I/oracle/product/8.1.7/rdbms/demo
-I/database/sybase/OCS-12_0/include
-I/usr/local/src/php-4.3.4/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/local/src/php-4.3.4/TSRM
-DTHREAD=1  -g -mt -DZTS  -prefer-pic -c
/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c -o
ext/sybase_ct/php_sybase_ct.lo
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 241:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
"/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c", line 242:
non-constant initializer: op "U&"
cc: acomp failed for
/usr/local/src/php-4.3.4/ext/sybase_ct/php_sybase_ct.c
*** Error code 1
make: Fatal error: Command failed for target
`ext/sybase_ct/php_sybase_ct.lo'



-- 
Edit bug report at http://bugs.php.net/?id=27157&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27157&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27157&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=27157&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=27157&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27157&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=27157&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=27157&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=27157&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=27157&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=27157&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=27157&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=27157&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27157&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=27157&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=27157&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=27157&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27157&r=float