#37198 [Fbk->Csd]: Compilation fatal error: library -lsybtcl: not found

2006-04-26 Thread vincent dot castagnet at sgcib dot com
 ID:   37198
 User updated by:  vincent dot castagnet at sgcib dot com
 Reported By:  vincent dot castagnet at sgcib dot com
-Status:   Feedback
+Status:   Closed
 Bug Type: Compile Failure
 Operating System: SOLARIS 8
 PHP Version:  5CVS-2006-04-25 (snap)
 New Comment:

Ok, we went through that error by compiling with PHP 5.0.4 from
sunfreeware and with the following configure command:

./configure' '--prefix=/usr/local/php' '--with-sybase-ct=/opt/sybase'
'--enable-static=sybase-ct' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-gd' '--with-zlib-dir=/usr/local' '--without-sqlite'
'--without-pdo-sqlite' '--without-pear' 

Build went OK.
Then for the apache to work we had to do the little trick as explained
here by "sean dot healey at bayernlb dot co dot uk":
http://us2.php.net/sybase

Now php works with apache, but we have Sybase connection problems. I
hope it's not coming from the build :( .
But that's another problem and this bug is closed.

Thanks for your help !! :)


Previous Comments:


[2006-04-26 07:55:55] [EMAIL PROTECTED]

>From what I can see in ext/sybase/config.m4 first it looks for libtcl
and only then tries to use sybtcl.
So I'd say you need to check out why symbol netg_errstr() not found in
libtcl.

>but then we are stopped by a Sqlite error..
Which exactly? I don't remember any problems on Solaris, except for its
slowness..

----

[2006-04-26 07:48:50] vincent dot castagnet at sgcib dot com

Yes, I have it. But it seems there is something wrong in the
"configure" file. We changed lsybtcl by ltcl, and then launched a make
again, but hen we are stopped by a Sqlite error... we continue
investigating.



[2006-04-26 07:44:35] [EMAIL PROTECTED]

Are you sure you have this library installed?



[2006-04-25 14:48:10] vincent dot castagnet at sgcib dot com

Description:

When compiling with latest snapshot, fatal error when trying to write
libphp5.so

I searched in the Bug database and also on the net, but couldn't find
anything really close enough to my problem, or no solution have been
provided :(




Reproduce code:
---
Configure:

./configure \
  --prefix=/usr/local/php \
  --with-sybase-ct=$SYBASE/$SYBASE_OCS \
  --enable-static=sybase-ct \
  --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-gd \
  --with-zlib-dir=/usr/local \
  --enable-sysvmsg \
  --enable-sysvsem \
  --enable-sysvshm

make

ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to
.libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'

Expected result:

Expecting compilation success.

Actual result:
--
Error at the end (it seems) of the "make"

main/internal_functions.lo -lsybtcl -lintl -lcomn -lct -lcs -lrt -lpng
-lz -lz -lresolv -lm -ldl -lnsl -lsocket -lxml2 -lz -liconv -lm
-lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv
-lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz
-liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl  -o
libphp5.la
ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to
.libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'







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


#37198 [Fbk->Opn]: Compilation fatal error: library -lsybtcl: not found

2006-04-26 Thread vincent dot castagnet at sgcib dot com
 ID:   37198
 User updated by:  vincent dot castagnet at sgcib dot com
 Reported By:  vincent dot castagnet at sgcib dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: SOLARIS 8
 PHP Version:  5CVS-2006-04-25 (snap)
 New Comment:

Yes, I have it. But it seems there is something wrong in the
"configure" file. We changed lsybtcl by ltcl, and then launched a make
again, but hen we are stopped by a Sqlite error... we continue
investigating.


Previous Comments:


[2006-04-26 07:44:35] [EMAIL PROTECTED]

Are you sure you have this library installed?



[2006-04-25 14:48:10] vincent dot castagnet at sgcib dot com

Description:

When compiling with latest snapshot, fatal error when trying to write
libphp5.so

I searched in the Bug database and also on the net, but couldn't find
anything really close enough to my problem, or no solution have been
provided :(




Reproduce code:
---
Configure:

./configure \
  --prefix=/usr/local/php \
  --with-sybase-ct=$SYBASE/$SYBASE_OCS \
  --enable-static=sybase-ct \
  --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-gd \
  --with-zlib-dir=/usr/local \
  --enable-sysvmsg \
  --enable-sysvsem \
  --enable-sysvshm

make

ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to
.libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'

Expected result:

Expecting compilation success.

Actual result:
--
Error at the end (it seems) of the "make"

main/internal_functions.lo -lsybtcl -lintl -lcomn -lct -lcs -lrt -lpng
-lz -lz -lresolv -lm -ldl -lnsl -lsocket -lxml2 -lz -liconv -lm
-lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv
-lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz
-liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl  -o
libphp5.la
ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to
.libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'







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


#37198 [NEW]: Compilation fatal error: library -lsybtcl: not found

2006-04-25 Thread vincent dot castagnet at sgcib dot com
From: vincent dot castagnet at sgcib dot com
Operating system: SOLARIS 8
PHP version:  5CVS-2006-04-25 (snap)
PHP Bug Type: Compile Failure
Bug description:  Compilation fatal error: library -lsybtcl: not found

Description:

When compiling with latest snapshot, fatal error when trying to write
libphp5.so

I searched in the Bug database and also on the net, but couldn't find
anything really close enough to my problem, or no solution have been
provided :(




Reproduce code:
---
Configure:

./configure \
  --prefix=/usr/local/php \
  --with-sybase-ct=$SYBASE/$SYBASE_OCS \
  --enable-static=sybase-ct \
  --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-gd \
  --with-zlib-dir=/usr/local \
  --enable-sysvmsg \
  --enable-sysvsem \
  --enable-sysvshm

make

ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to .libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'

Expected result:

Expecting compilation success.

Actual result:
--
Error at the end (it seems) of the "make"

main/internal_functions.lo -lsybtcl -lintl -lcomn -lct -lcs -lrt -lpng -lz
-lz -lresolv -lm -ldl -lnsl -lsocket -lxml2 -lz -liconv -lm -lsocket -lnsl
-lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket
-lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm
-lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl  -o libphp5.la
ld: fatal: library -lsybtcl: not found
ld: fatal: File processing errors. No output written to .libs/libphp5.so
*** Error code 1
make: Fatal error: Command failed for target `libphp5.la'



-- 
Edit bug report at http://bugs.php.net/?id=37198&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37198&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37198&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37198&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37198&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37198&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37198&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37198&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37198&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37198&r=support
Expected behavior:http://bugs.php.net/fix.php?id=37198&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37198&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37198&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37198&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37198&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37198&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37198&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37198&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37198&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37198&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37198&r=mysqlcfg


#37192 [NEW]: "Make" failure with sybase support

2006-04-25 Thread vincent dot castagnet at sgcib dot com
From: vincent dot castagnet at sgcib dot com
Operating system: Solaris 8
PHP version:  5.1.2
PHP Bug Type: Compile Failure
Bug description:  "Make" failure with sybase support

Description:

Apache 2 installed, and Sybase 12.5 also.
Trying to compile PHP 5.1.2
The MAKE stop with error code 1:

cc: acomp failed for /home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c
*** Error code 1
make: Fatal error: Command failed for target `ext/hash/hash_adler32.lo'


Reproduce code:
---
The configure:

./configure \
  --prefix=/usr/local/php \
  --with-sybase-ct=$SYBASE/$SYBASE_OCS \
  --enable-static=sybase-ct \
  --with-apxs2=/usr/local/apache2/bin/apxs \
  --with-gd \
  --with-zlib-dir=/usr/local \
  --enable-sysvmsg \
  --enable-sysvsem \
  --enable-sysvshm

Then:
make



Expected result:

I expect it would go along till the end and works ! :p

Actual result:
--
The error:

/bin/sh /home/mkdadm/php-5.1.2/libtool --silent --preserve-dup-deps
--mode=compile cc  -Iext/hash/ -I/home/mkdadm/php-5.1.2/ext/hash/
-DPHP_ATOM_INC -I/home/mkdadm/php-5.1.2/include
-I/home/mkdadm/php-5.1.2/main -I/home/mkdadm/php-5.1.2
-I/usr/local/include/libxml2 -I/usr/local/include
-I/home/mkdadm/php-5.1.2/ext/date/lib
-I/opt/nfs/sybase1251.solaris/OCS-12_5/include
-I/home/mkdadm/php-5.1.2/TSRM -I/home/mkdadm/php-5.1.2/Zend 
-D_POSIX_PTHREAD_SEMANTICS  -I/usr/local/include -g   -c
/home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c -o
ext/hash/hash_adler32.lo
"/home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c", line 32: non-constant
initializer: op "&"
"/home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c", line 32: non-constant
initializer: op "&"
cc: acomp failed for /home/mkdadm/php-5.1.2/ext/hash/hash_adler32.c
*** Error code 1
make: Fatal error: Command failed for target `ext/hash/hash_adler32.lo'

When I go to:
ext/hash
I see:
hash_adler32.c
hash_adler32.loT

Obviously the .loT is wrong. SO what I did is rename the .loT in .lo, and
then relaunch a "make".

This times it goes forward, but I am stopped by another error (which has
no relation to this one because the same happens with PHP4).

-- 
Edit bug report at http://bugs.php.net/?id=37192&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37192&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37192&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37192&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37192&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37192&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37192&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37192&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37192&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37192&r=support
Expected behavior:http://bugs.php.net/fix.php?id=37192&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37192&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37192&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37192&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37192&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37192&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37192&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37192&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37192&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37192&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37192&r=mysqlcfg


#37182 [Fbk->Opn]: object name miswritten

2006-04-24 Thread vincent dot castagnet at sgcib dot com
 ID:   37182
 User updated by:  vincent dot castagnet at sgcib dot com
 Reported By:  vincent dot castagnet at sgcib dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: SOLARIS
 PHP Version:  5.1.2
 New Comment:

please just do it !!!


Previous Comments:


[2006-04-24 13:55:39] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.






[2006-04-24 13:53:24] vincent dot castagnet at sgcib dot com

Description:

when compiling, fatal error when trying to find:
hash_adler32.lo

in ext/hash, the file name is:

hash_adler32.loT

Have to rename it to make compilation possible.






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


#37182 [NEW]: object name miswritten

2006-04-24 Thread vincent dot castagnet at sgcib dot com
From: vincent dot castagnet at sgcib dot com
Operating system: SOLARIS
PHP version:  5.1.2
PHP Bug Type: Compile Failure
Bug description:  object name miswritten

Description:

when compiling, fatal error when trying to find:
hash_adler32.lo

in ext/hash, the file name is:

hash_adler32.loT

Have to rename it to make compilation possible.


-- 
Edit bug report at http://bugs.php.net/?id=37182&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37182&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37182&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37182&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37182&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=37182&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=37182&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=37182&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=37182&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=37182&r=support
Expected behavior:http://bugs.php.net/fix.php?id=37182&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=37182&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=37182&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37182&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37182&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37182&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=37182&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=37182&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37182&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=37182&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=37182&r=mysqlcfg