ID:               42926
 User updated by:  mamfelt at acm dot org
-Summary:          building against 32-bit version succeeds
 Reported By:      mamfelt at acm dot org
 Status:           Open
 Bug Type:         MySQL related
 Operating System: AIX 5.3 TL06
 PHP Version:      5.2.4
 New Comment:

re-submit now i understand what the summary does.


Previous Comments:
------------------------------------------------------------------------

[2007-10-11 17:08:17] mamfelt at acm dot org

After switching to 32-bit distribution the configure process completes
successfully.

:)

+--------------------------------------------------------------------+

Thank you for using PHP.

[EMAIL PROTECTED]:[/home/michael/prj/php-5.2.4]

btw. very nice to see these are read right away!

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

[2007-10-11 14:01:26] mamfelt at acm dot org

line 59490 and further as an example:

    if test -z "$PHP_LIBDIR"; then
    PHP_LIBDIR=lib
  fi

  for i in $PHP_LIBDIR $PHP_LIBDIR/mysql; do
   
  str="$MYSQL_DIR/$i/lib$MYSQL_LIBNAME.*"
  for j in `echo $str`; do
    if test -r $j; then
      MYSQL_LIB_DIR=$MYSQL_DIR/$i
      break 2
    fi

on AIX you could make the default directory PHP_LIBDIR=[b]mysql[/b] so
that the string would be /usr/local/mysql/lib (rather than only having
/usr/local/lib/mysql succeed)

The code for locating the include directory would be assisted by a
similiar patch.

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

[2007-10-11 13:49:15] mamfelt at acm dot org

Hmm: second entry, threw my first reply away - learning here.

One: When I first installed the AIX distribution from mysql six years
ago, they suggested the symbolic link because the commands (scripts,
etc.) expect /usr/local/mysql as the location.

Two: The naming convention for AIX distributions is to state the lowest
level of AIX needed to run the distribution on. As the aix5.2
distribution is the highest AIX level distributed it is intended for AIX
5.2 and AIX 5.3, but not for AIX 5.1 or before.

Three: mysql is running with no (known) problems on my system.

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

[2007-10-11 13:24:31] [EMAIL PROTECTED]

And I don't think an AIX 5.2 package of mysql works with AIX 5.3:
/data/home/michael/mysql-5.0.45-aix5.2-powerpc-64bit


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

[2007-10-11 13:21:51] [EMAIL PROTECTED]

Seems more like you're trying to outsmart both PHP and Mysql here.
Why don't you just install the mysql libs like they should be installed
and forget those hacks with symlinks?

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

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/42926

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

Reply via email to