#44102 [Opn->Bgs]: Problem with compiling SQL Relay & PHP
ID: 44102
Updated by: jani@php.net
Reported By: admin at relax-info dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: MAC OS X Leopard 10.5.2
PHP Version: 5.2.6RC3-dev
New Comment:
Obviously building _PHP_ works just fine. Any sqlrelay (whatever that
is..) build problems you have, this is not the place to ask support for
those.
Previous Comments:
------------------------------------------------------------------------
[2008-03-13 20:52:25] admin at relax-info dot com
>> Why do you use --enable-static? Try this configure line instead
I thought that this option give posibility to receive lib*.a after php
compilation.
>> Does it compile and install everything without errors?
Please see log:
http://www.relax-info.com/data/file/compilephp5.2.6rc3.txt
------------------------------------------------------------------------
[2008-03-13 12:36:22] jani@php.net
Why do you use --enable-static? Try this configure line instead:
The PHP configure options:
# make clean && rm config.cache
# ./configure --prefix=/usr --with-apxs2=/usr/sbin/apxs --disable-all
# make install
Does it compile and install everything without errors?
------------------------------------------------------------------------
[2008-03-12 06:43:10] admin at relax-info dot com
Thank you for answer!
I was successfully recompiled PHP5 (with --enable-static) to lastets
(PHP Version 5.2.6RC3-dev). Then I run search for "libphp*"... and I
see result:
- libphp5.module.in
- libphp5.so
- libphp5.bundle
But I do not found libphp.dylib or libphp5.dylib or
libphp.a or libphp5.a.
Ok... I run compile SQL Relay now:
.... _console errors_ ...
ld: library not found for -lphp
collect2: ld returned 1 exit status
make[4]: *** [libsql_relay.la] Error 1
Hmm, then I copy libphp5.so to /usr/lib/libphp.a and try to compile
SQLRelay:
... _console error_ ...
ld: warning in /usr/lib/libphp.a, file is not of required architecture
Undefined symbols:
"_convert_to_double", referenced from:
What now?
------------------------------------------------------------------------
[2008-03-11 22:28:05] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2008-03-03 17:53:56] admin at relax-info dot com
Also, then I run searh for "libphp*" on my file system. Search result:
./sapi/apache_hooks/
libphp5.module.in
./sapi/apache/
libphp5.module.in
./libs/
libphp5.bundle
libphp5.so
------------------------------------------------------------------------
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/44102
--
Edit this bug report at http://bugs.php.net/?id=44102&edit=1
Thread (10 messages)