Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with php-gtk2 - missing php_gtk.so-SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
zach9824
n00b
n00b


Joined: 12 Apr 2004
Posts: 37

PostPosted: Tue Mar 20, 2007 2:18 am    Post subject: Problem with php-gtk2 - missing php_gtk.so-SOLVED Reply with quote

Bug Report submitted. Fixed see http://bugs.gentoo.org/show_bug.cgi?id=171514


I am looking to start programming using PHP-GTK2. I am running PHP5 on my AMD64 box compiled as follows:

Code:
[ebuild   R   ] dev-lang/php-5.2.1-r3  USE="apache2 bcmath berkdb calendar cgi cli crypt ctype fastbuild force-cgi-redirect ftp gd gdbm iconv imap ipv6 json ldap mysql mysqli ncurses nls pcntl pcre pdo posix postgres readline reflection session simplexml snmp soap sockets spell spl sqlite ssl threads tokenizer truetype unicode xml xsl zip zlib (-adabas) -apache (-birdstep) -bzip2 -cdb -cjk -concurrentmodphp -curl -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif (-fdftk) -filter (-firebird) -flatfile (-frontbase) -gd-external -gmp -hash -inifile -interbase -iodbc -java-external -kerberos -ldap-sasl -libedit -mcve -mhash -msql -mssql -oci8 (-oci8-instant-client) -odbc -pdo-external -pic -qdbm -recode -sapdb -sharedext -sharedmem (-solid) -suhosin (-sybase) (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -yaz -zip-external"


I compiled php-gtk without any flags. It compiles fine however the file php_gtk.so never got installed into the directory. So as a result php -v outputs the following:

Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613/php_gtk2.so' - /usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613/php_gtk2.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.1-pl3-gentoo (cli) (built: Mar 16 2007 12:21:28)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator


I can not find the file anywhere to copy in. I know this is a masked package. Wondering if anyone had any similar issues or I am missing something before I open a bug.

here is the emerge log-Notice the error line cp: cannot stat `/var/tmp/portage/dev-php5/php-gtk-2.0.0_alpha/work/php_gtk2-default.so': No such file or directory not sure that may be the problem?:
Code:

>>> Emerging (1 of 1) dev-php5/php-gtk-2.0.0_alpha to /
 * php-gtk-2.0.0alpha.tar.gz RMD160 ;-) ...                                                                                                         [ ok ]
 * php-gtk-2.0.0alpha.tar.gz SHA1 ;-) ...                                                                                                           [ ok ]
 * php-gtk-2.0.0alpha.tar.gz SHA256 ;-) ...                                                                                                         [ ok ]
 * php-gtk-2.0.0alpha.tar.gz size ;-) ...                                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                              [ ok ]
 * checking php-gtk-2.0.0alpha.tar.gz ;-) ...                                                                                                       [ ok ]
 *
 * Using dev-lang/php-5.2.1-r3
 *
 * Checking for required PHP feature(s) ...
>>> Unpacking source...
>>> Unpacking php-gtk-2.0.0alpha.tar.gz to /var/tmp/portage/dev-php5/php-gtk-2.0.0_alpha/work
 * Applying gtkmozembed.patch ...                                                                                                                   [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-php5/php-gtk-2.0.0_alpha/work/php-gtk-2.0.0alpha ...
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
....................
Libraries have been installed in:
   /var/tmp/portage/dev-php5/php-gtk-2.0.0_alpha/work/php-gtk-2.0.0alpha/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

>>> Source compiled.
>>> Test phase [not enabled]: dev-php5/php-gtk-2.0.0_alpha

>>> Install php-gtk-2.0.0_alpha into /var/tmp/portage/dev-php5/php-gtk-2.0.0_alpha/image/ category dev-php5
[b]cp: cannot stat `/var/tmp/portage/dev-php5/php-gtk-2.0.0_alpha/work/php_gtk2-default.so': No such file or directory[/b]
 * Extension added to /etc/php/apache2-php5/ext/php_gtk2.ini
 * Extension added to /etc/php/cli-php5/ext/php_gtk2.ini
 * Extension added to /etc/php/cgi-php5/ext/php_gtk2.ini
>>> Completed installing php-gtk-2.0.0_alpha into /var/tmp/portage/dev-php5/php-gtk-2.0.0_alpha/image/
>>> Merging dev-php5/php-gtk-2.0.0_alpha to /
--- /etc/
--- /etc/php/
--- /etc/php/cgi-php5/
--- /etc/php/cgi-php5/ext/
>>> /etc/php/cgi-php5/ext/php_gtk2.ini
--- /etc/php/cgi-php5/ext-active/
>>> /etc/php/cgi-php5/ext-active/php_gtk2.ini -> /etc/php/cgi-php5/ext/php_gtk2.ini
--- /etc/php/apache2-php5/
--- /etc/php/apache2-php5/ext/
>>> /etc/php/apache2-php5/ext/php_gtk2.ini
--- /etc/php/apache2-php5/ext-active/
>>> /etc/php/apache2-php5/ext-active/php_gtk2.ini -> /etc/php/apache2-php5/ext/php_gtk2.ini
--- /etc/php/cli-php5/
--- /etc/php/cli-php5/ext/
>>> /etc/php/cli-php5/ext/php_gtk2.ini
--- /etc/php/cli-php5/ext-active/
>>> /etc/php/cli-php5/ext-active/php_gtk2.ini -> /etc/php/cli-php5/ext/php_gtk2.ini
--- /usr/
--- /usr/lib64/
--- /usr/lib64/php5/
--- /usr/lib64/php5/lib/
--- /usr/lib64/php5/lib/php/
--- /usr/lib64/php5/lib/php/extensions/
--- /usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/dev-php5/
--- /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/
>>> /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/README.gz
>>> /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/TODO2.gz
>>> /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/NEWS.gz
>>> /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/INSTALL.gz
>>> /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/AUTHORS.gz
>>> /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/README.KNOWN-ISSUES.gz
>>> /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/ChangeLog.gz
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/TODO2.gz
--- !mtime obj /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/README.gz
--- !mtime obj /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/README.KNOWN-ISSUES.gz
--- !mtime obj /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/NEWS.gz
--- !mtime obj /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/INSTALL.gz
--- !mtime obj /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/ChangeLog.gz
--- !mtime obj /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha/AUTHORS.gz
--- !mtime obj /etc/php/cli-php5/ext/php_gtk2.ini
--- !mtime sym /etc/php/cli-php5/ext-active/php_gtk2.ini
--- !mtime obj /etc/php/cgi-php5/ext/php_gtk2.ini
--- !mtime sym /etc/php/cgi-php5/ext-active/php_gtk2.ini
--- !mtime obj /etc/php/apache2-php5/ext/php_gtk2.ini
--- !mtime sym /etc/php/apache2-php5/ext-active/php_gtk2.ini
--- !empty dir /usr/share/doc/dev-php5/php-gtk-2.0.0_alpha
--- !empty dir /usr/share/doc/dev-php5
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/lib64/php5/lib/php/extensions/no-debug-zts-20060613
--- !empty dir /usr/lib64/php5/lib/php/extensions
--- !empty dir /usr/lib64/php5/lib/php
--- !empty dir /usr/lib64/php5/lib
--- !empty dir /usr/lib64/php5
--- !empty dir /usr/lib64
--- !empty dir /usr
--- !empty dir /etc/php/cli-php5/ext-active
--- !empty dir /etc/php/cli-php5/ext
--- !empty dir /etc/php/cli-php5
--- !empty dir /etc/php/cgi-php5/ext-active
--- !empty dir /etc/php/cgi-php5/ext
--- !empty dir /etc/php/cgi-php5
--- !empty dir /etc/php/apache2-php5/ext-active
--- !empty dir /etc/php/apache2-php5/ext
--- !empty dir /etc/php/apache2-php5
--- !empty dir /etc/php
--- !empty dir /etc
>>> Original instance of package unmerged safely.
>>> dev-php5/php-gtk-2.0.0_alpha merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.



Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum