pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32184: phpmyadmin does not install



>Number:         32184
>Category:       pkg
>Synopsis:       phpmyadmin does not install
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 28 16:28:00 +0000 2005
>Originator:     Zafer Aydogan
>Release:        3.99.11
>Organization:
>Environment:
Linux
>Description:
I cannot install phpmyadmin from pkgsrc under linux.

$ bmake 
=> Checksum SHA1 OK for phpMyAdmin-2.6.4-pl4.tar.bz2.
=> Checksum RMD160 OK for phpMyAdmin-2.6.4-pl4.tar.bz2.
===> Extracting for phpmyadmin-2.6.4pl4
==========================================================================
The following variables will affect the build process of this package,
phpmyadmin-2.6.4pl4.  Their current value is shown below:

        * APACHE_USER = www

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
===> Required package php-mbstring>=4.3.3: NOT found
===> Verifying reinstall for ../../misc/php-mbstring
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Patching for php-mbstring-4.4.1nb1
cd /usr/pkgsrc/misc/php-mbstring/work/php-4.4.1/ext/mbstring;  for p in 
`/bin/egrep -l '^\+\+\+ ext/mbstring/' 
/usr/pkgsrc/misc/php-mbstring/../../www/php4/patches/patch-*`;do /bin/sed -e 
's,^+++ ext/mbstring/,+++ ,' $p | /usr/bin/patch;  done
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|$NetBSD: patch-an,v 1.1 2005/10/16 12:17:47 jdolecek Exp $
|
|--- ext/mbstring/libmbfl/mbfl/mbfilter.c.orig  2005-10-16 14:09:17.000000000 
+0200
|+++ libmbfl/mbfl/mbfilter.c    2005-10-16 14:09:21.000000000 +0200
--------------------------
File to patch:

patch waits for input here.

Skipping patch.
1 out of 1 hunk ignored
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/php-mbstring
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/php-mbstring
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/php-mbstring
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/phpmyadmin
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/phpmyadmin

$ patch -v
patch 2.5.9
Copyright (C) 1988 Larry Wall
Copyright (C) 2003 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

written by Larry Wall and Paul Eggert



but I also tried to install it on NetBSD without success.
(NetBSD 1.6.1)

cd /usr/pkgsrc/misc/php-mbstring/work/php-4.4.1/ext/mbstring;  for p in
`/usr/bin/egrep -l '^\+\+\+ ext/mbstring/'
/usr/pkgsrc/misc/php-mbstring/../../www/php4/patches/patch-*`;do
/usr/bin/sed -e 's,^+++ ext/mbstring/,+++ ,' $p | /usr/bin/patch;  done
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-an,v 1.1 2005/10/16 12:17:47 jdolecek Exp $
|
|--- ext/mbstring/libmbfl/mbfl/mbfilter.c.orig  2005-10-16
14:09:17.000000000 +0200
|+++ libmbfl/mbfl/mbfilter.c    2005-10-16 14:09:21.000000000 +0200
--------------------------
Patching file libmbfl/mbfl/mbfilter.c using Plan A...
Hunk #1 succeeded at 1990.
done
===> Overriding tools for php-mbstring-4.4.1nb1
...
...
looks good and then...
...
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/pkgsrc/misc/php-mbstring/work/php-4.4.1/ext/mbstring/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

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).

=> Unwrapping files-to-be-installed.
===> Installing for php-mbstring-4.4.1nb1
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/lib/php/20020429
/usr/bin/install -c -o root -g wheel -m 444
/usr/pkgsrc/misc/php-mbstring/work/p
hp-4.4.1/ext/mbstring/modules/mbstring.so  /usr/pkg/lib/php/20020429
===> Please note the following:

===========================================================================
$NetBSD: MESSAGE.module,v 1.2 2004/11/05 21:50:11 jdolecek Exp $

To enable this module, add the following to /usr/pkg/etc/php.ini:

    extension=mbstring.so

and make sure extension_dir points to the dir where mbstring.so is.

Then restart your PHP4-enabled HTTP server to load this module.
===========================================================================

===> Registering installation for php-mbstring-4.4.1nb1
php-mbstring-4.4.1nb1 requires installed package php-4.4.1nb2
===> Returning to build of phpmyadmin-2.6.4pl4
===> Required installed package php-mysql{,i}>=4.3.3: php-mysql-4.4.1 found
===> Patching for phpmyadmin-2.6.4pl4
===> Overriding tools for phpmyadmin-2.6.4pl4
===> Configuring for phpmyadmin-2.6.4pl4
===> Installing for phpmyadmin-2.6.4pl4
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/doc/phpmyadmin
/usr/bin/install -d -o root -g wheel -m 755
/usr/pkg/share/examples/phpmyadmin
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/phpmyadmin
for dir in css lang libraries libraries/auth libraries/dbg  libraries/dbi
librar
ies/export libraries/fpdf        libraries/fpdf/font
libraries/transformations
 themes themes/darkblue_orange  themes/darkblue_orange/css
themes/darkblue_orang
e/img  themes/original themes/original/css themes/original/img; do 
/usr/bin/ins
tall -d -o root -g wheel -m 755 /usr/pkg/share/phpmyadmin/$dir;  done
/usr/bin/install -d -o root -g wheel -m 755
/usr/pkg/share/phpmyadmin/scripts
/bin/rm -f /usr/pkg/share/phpmyadmin/config.inc.php     # just in case
/usr/bin/install -c -o root -g wheel -m 444
/usr/pkgsrc/databases/phpmyadmin/wor
k/phpMyAdmin-2.6.4-pl4/*.php /usr/pkg/share/phpmyadmin
/usr/bin/install -c -o root -g wheel -m 444
/usr/pkgsrc/databases/phpmyadmin/wor
k/phpMyAdmin-2.6.4-pl4/*.css /usr/pkg/share/phpmyadmin
/bin/mv /usr/pkg/share/phpmyadmin/config.inc.php
/usr/pkg/share/examples/phpmyad
min
/bin/ln -s /usr/pkg/etc/phpmyadmin/config.inc.php
/usr/pkg/share/phpmyadmin/conf
ig.inc.php
/usr/bin/install -c -o root -g wheel -m 444
/usr/pkgsrc/databases/phpmyadmin/wor
k/phpMyAdmin-2.6.4-pl4/Documentation.html /usr/pkg/share/phpmyadmin
/usr/bin/install -c -o root -g wheel -m 444
/usr/pkgsrc/databases/phpmyadmin/wor
k/phpMyAdmin-2.6.4-pl4/translators.html /usr/pkg/share/phpmyadmin
/usr/bin/install -c -o root -g wheel -m 444    
/usr/pkgsrc/databases/phpmyadmin
/work/phpMyAdmin-2.6.4-pl4/ChangeLog /usr/pkg/share/phpmyadmin
for dir in css lang libraries libraries/auth libraries/dbg  libraries/dbi
librar
ies/export libraries/fpdf        libraries/fpdf/font
libraries/transformations
 themes themes/darkblue_orange  themes/darkblue_orange/css
themes/darkblue_orang
e/img  themes/original themes/original/css themes/original/img; do
                         for file in
"/usr/pkgsrc/databases/phpmyadmin/work/phpM
yAdmin-2.6.4-pl4/$dir"/*; do                     test -f "$file" -a
`/usr/bin/ba
sename "$file" .sh` = `/usr/bin/basename "$file"` &&
 /usr/bin/install -c -o root -g wheel -m 444 $file
/usr/pkg/share/phpmyadmin/$di
r;               done                                                   
done
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/phpmyadmin
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/phpmyadmin
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/phpmyadmin
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/phpmyadmin


z++


>How-To-Repeat:
Try to install phpmyadmin under linux
>Fix:




Home | Main Index | Thread Index | Old Index