#34939 [Fbk->Opn]: Undefined reference make failed

2005-10-21 Thread marcel dot bariou at brasnah dot com
 ID:   34939
 User updated by:  marcel dot bariou at brasnah dot com
 Reported By:  marcel dot bariou at brasnah dot com
-Status:   Feedback
+Status:   Open
 Bug Type: PDO related
 Operating System: LINUX RH ES3
 PHP Version:  5.1.0RC3
 Assigned To:  wez
 New Comment:

Yes, I add enable-pdo=shared (last line of ./configure as you can
see..)


Previous Comments:


[2005-10-21 16:51:45] [EMAIL PROTECTED]

Did you --enable-pdo ?



[2005-10-21 14:16:01] [EMAIL PROTECTED]

Wez, take a look at it please.




[2005-10-21 06:20:54] marcel dot bariou at brasnah dot com

Description:

I start with this configure directive :

./configure --prefix=/etc/httpd --with-apxs2=/usr/sbin/apxs
--with-config-file-path=/etc/httpd/conf --with-mysql=/usr/local/mysql
--enable-bc-math --enable-calendar --with-curl=/usr --enable-exif
--with-gettext --with-gmp --enable-id3
--with-java=/usr/local/java=/usr/local/j2sdk --with-mcrypt=/usr/local
--with-mhash=/usr/local --enable-overload --enable-pcntl
--with-regex=PHP --enable-soap --enable-sockets --with-tidy=/usr/local
--enable-wddx --with-xsl=/usr/local --enable-xslt --with-xslt-sablot
--with-expat-dir=/usr --enable-php-streams --enable-memory-limit
--enable-cli --enable-posix --enable-pcre --enable-sysvmsg
--enable-sysvsem --enable-sysvshm --enable-shmop --with-pear
--with-xmlrpc --with-zlib=/usr --with-iconv --with-iconv-dir=/usr/local
--with-pdo-mysql=/usr/local/mysql  --enable-pdo=shared




Make message => :
ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x13): In function
`zm_startup_pdo_mysql':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:78:
undefined reference to `php_pdo_declare_long_constant'
ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x34): In function
`zm_shutdown_pdo_mysql':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:88:
undefined reference to `php_pdo_unregister_driver'
ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x23): In function
`zm_startup_pdo_mysql':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:80:
undefined reference to `php_pdo_register_driver'
ext/pdo_mysql/.libs/mysql_driver.o(.text+0x197): In function
`_pdo_mysql_error':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:100:
undefined reference to `php_pdo_get_exception'
ext/pdo_mysql/.libs/mysql_driver.o(.text+0x378): In function
`mysql_handle_preparer':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:169:
undefined reference to `pdo_parse_params'
ext/pdo_mysql/.libs/mysql_driver.o(.text+0x57a): In function
`pdo_mysql_last_insert_id':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:250:
undefined reference to `php_pdo_int64_to_str'
ext/pdo_mysql/.libs/mysql_driver.o(.text+0x84e): In function
`pdo_mysql_handle_factory':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:403:
undefined reference to `php_pdo_parse_data_source'
ext/pdo_mysql/.libs/mysql_statement.o(.text+0x835): In function
`pdo_mysql_stmt_param_hook':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_statement.c:332:
undefined reference to `pdo_raise_impl_error'
ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x1c): In function
`zm_shutdown_pdo_sqlite':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/pdo_sqlite.c:87:
undefined reference to `php_pdo_unregister_driver'
ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0xc): In function
`zm_startup_pdo_sqlite':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/pdo_sqlite.c:80:
undefined reference to `php_pdo_register_driver'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xa5): In function
`_pdo_sqlite_error':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:78:
undefined reference to `php_pdo_get_exception'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x37e): In function
`pdo_sqlite_last_insert_id':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:197:
undefined reference to `php_pdo_int64_to_str'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xb62): In function
`zif_SQLite_sqliteCreateFunction':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:471:
undefined reference to `pdo_raise_impl_error'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xcd6): In function
`zif_SQLite_sqliteCreateAggregate':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:543:
undefined reference to `pdo_raise_impl_error'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x1077): In function
`pdo_sqlite_handle_factory':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:697:
undefined refere

#34939 [NEW]: Undefined reference make failed

2005-10-20 Thread marcel dot bariou at brasnah dot com
From: marcel dot bariou at brasnah dot com
Operating system: LINUX RH ES3
PHP version:  5.1.0RC3
PHP Bug Type: PDO related
Bug description:  Undefined reference  make failed

Description:

I start with this configure directive :

./configure --prefix=/etc/httpd --with-apxs2=/usr/sbin/apxs
--with-config-file-path=/etc/httpd/conf --with-mysql=/usr/local/mysql
--enable-bc-math --enable-calendar --with-curl=/usr --enable-exif
--with-gettext --with-gmp --enable-id3
--with-java=/usr/local/java=/usr/local/j2sdk --with-mcrypt=/usr/local
--with-mhash=/usr/local --enable-overload --enable-pcntl --with-regex=PHP
--enable-soap --enable-sockets --with-tidy=/usr/local --enable-wddx
--with-xsl=/usr/local --enable-xslt --with-xslt-sablot
--with-expat-dir=/usr --enable-php-streams --enable-memory-limit
--enable-cli --enable-posix --enable-pcre --enable-sysvmsg
--enable-sysvsem --enable-sysvshm --enable-shmop --with-pear --with-xmlrpc
--with-zlib=/usr --with-iconv --with-iconv-dir=/usr/local
--with-pdo-mysql=/usr/local/mysql  --enable-pdo=shared




Make message => :
ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x13): In function
`zm_startup_pdo_mysql':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:78:
undefined reference to `php_pdo_declare_long_constant'
ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x34): In function
`zm_shutdown_pdo_mysql':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:88:
undefined reference to `php_pdo_unregister_driver'
ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x23): In function
`zm_startup_pdo_mysql':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/pdo_mysql.c:80:
undefined reference to `php_pdo_register_driver'
ext/pdo_mysql/.libs/mysql_driver.o(.text+0x197): In function
`_pdo_mysql_error':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:100:
undefined reference to `php_pdo_get_exception'
ext/pdo_mysql/.libs/mysql_driver.o(.text+0x378): In function
`mysql_handle_preparer':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:169:
undefined reference to `pdo_parse_params'
ext/pdo_mysql/.libs/mysql_driver.o(.text+0x57a): In function
`pdo_mysql_last_insert_id':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:250:
undefined reference to `php_pdo_int64_to_str'
ext/pdo_mysql/.libs/mysql_driver.o(.text+0x84e): In function
`pdo_mysql_handle_factory':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_driver.c:403:
undefined reference to `php_pdo_parse_data_source'
ext/pdo_mysql/.libs/mysql_statement.o(.text+0x835): In function
`pdo_mysql_stmt_param_hook':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_mysql/mysql_statement.c:332:
undefined reference to `pdo_raise_impl_error'
ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0x1c): In function
`zm_shutdown_pdo_sqlite':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/pdo_sqlite.c:87:
undefined reference to `php_pdo_unregister_driver'
ext/pdo_sqlite/.libs/pdo_sqlite.o(.text+0xc): In function
`zm_startup_pdo_sqlite':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/pdo_sqlite.c:80:
undefined reference to `php_pdo_register_driver'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xa5): In function
`_pdo_sqlite_error':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:78:
undefined reference to `php_pdo_get_exception'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x37e): In function
`pdo_sqlite_last_insert_id':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:197:
undefined reference to `php_pdo_int64_to_str'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xb62): In function
`zif_SQLite_sqliteCreateFunction':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:471:
undefined reference to `pdo_raise_impl_error'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0xcd6): In function
`zif_SQLite_sqliteCreateAggregate':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:543:
undefined reference to `pdo_raise_impl_error'
ext/pdo_sqlite/.libs/sqlite_driver.o(.text+0x1077): In function
`pdo_sqlite_handle_factory':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_driver.c:697:
undefined reference to `php_pdo_get_exception'
ext/pdo_sqlite/.libs/sqlite_statement.o(.text+0x2d6): In function
`pdo_sqlite_stmt_param_hook':
/usr/local/xtra_targz/php5-200510202030/ext/pdo_sqlite/sqlite_statement.c:116:
undefined reference to `pdo_raise_impl_error'
ext/sqlite/.libs/sqlite.o(.text+0x172f): In function `zm_startup_sqlite':
/usr/local/xtra_targz/php5-200510202030/ext/sqlite/sqlite.c:1100:
undefined reference to `php_pdo_register_driver'
ext/sqlite/.libs/sqlite.o(.text+0x175e): In function
`zm_shutdown_sqlite':
/usr/local/xtra_targz/php5-200510202030/ext/sqlite/sqlite.c:1113:
undefined reference to `php_pdo

#32572 [Com]: After a make install /usr/local/bin/pear is not created

2005-04-05 Thread marcel dot bariou at brasnah dot com
 ID:   32572
 Comment by:   marcel dot bariou at brasnah dot com
 Reported By:  mbneto at gmail dot com
 Status:   Feedback
 Bug Type: *General Issues
 Operating System: Linux
 PHP Version:  5.0.4
 New Comment:

php-5.0.4.tar.gz: 8edf259bcfab4cfc890a4bb4e7c3649f
md5sum is correct
8edf259bcfab4cfc890a4bb4e7c3649f  php-5.0.4.tar.gz

./configure  --with-pear ...

Make install supplies =>

Installing PHP SAPI module:   apache2handler
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/bin/libtool'
libphp5.la /usr/lib/httpd/modules
/usr/bin/libtool --mode=install cp libphp5.la /usr/lib/httpd/modules/
cp .libs/libphp5.so /usr/lib/httpd/modules/libphp5.so
cp .libs/libphp5.lai /usr/lib/httpd/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/usr/local/xtra_targz/php-5.0.4/libs'
chmod 755 /usr/lib/httpd/modules/libphp5.so
[activating module `php5' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary:/etc/httpd/bin/
Installing PHP CLI man page:  /etc/httpd/man/man1/
Installing PEAR environment:  /etc/httpd/lib/php/
[PEAR] Archive_Tar- already installed: 1.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] PEAR   - installed: 1.3.5
Wrote PEAR system config file at: /etc/httpd/etc/pear.conf
You may want to add: /etc/httpd/lib/php to your php.ini include_path
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] XML_RPC- already installed: 1.2.2
Installing build environment: /etc/httpd/lib/php/build/
Installing header files:  /etc/httpd/include/php/
Installing helper programs:   /etc/httpd/bin/
  program: phpize
  program: php-config
  program: phpextdist


Previous Comments:


[2005-04-05 10:20:19] marcel dot bariou at braasnah dot com

I confirm the pear binary of the package manager is not created



[2005-04-04 19:45:03] [EMAIL PROTECTED]

Get the package again and make sure it's md5sum is one of these:

php-5.0.4.tar.bz2: fb1aac107870f897d26563a9cc5053c0
php-5.0.4.tar.gz: 8edf259bcfab4cfc890a4bb4e7c3649f





[2005-04-04 19:03:27] mbneto at gmail dot com

Description:

Hi,

I've downloaded the 5.0.4 targz and installed on a new server using
the same ./configure settings I use in a nother server that runs php
5.0.3.

I did a make/make install and everything runs fine excepth the fact
that I can no longer pear install  because there is no pear in
/usr/local/bin.

'./configure' '--with-kerberos' '--with-gd' '--with-apxs2'
'--with-xml' '--with-ftp' '--enable-session' '--enable-trans-sid'
'--with-zlib' '--enable-inline-optimization'
'--with-mcrypt=/usr/local' '--enable-sigchild' '--with-gettext'
'--with-freetype' '--with-ttf' '--with-ftp' '--enable-ftp'
'--with-jpeg-dir=/usr' '--with-mysql=/usr/include/mysql'
'--enable-soap' '--with-pear'

PHP itself works fine.






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