I see that there is source for php4, which I would assume would be all of php, including the mysql so.
Since the mysql portion is broken up and provided as php-mysql in Fedora releases, how do I go about recompiling the php-mysql for use with MySQL 4/4.1? The one included < FC4 is compiled for MySQL 3.23. I use MySQL 4.1, so I need an updated php-mysql to properly work with the DB.
Thanks eric
On Fri, Jul 15, 2005 at 10:49:56AM -0700, Eric Wagar wrote:
I see that there is source for php4, which I would assume would be all of php, including the mysql so.
Since the mysql portion is broken up and provided as php-mysql in Fedora releases, how do I go about recompiling the php-mysql for use with MySQL 4/4.1? The one included < FC4 is compiled for MySQL 3.23. I use MySQL 4.1, so I need an updated php-mysql to properly work with the DB.
Thanks eric
I'm looking at php-4.3.9-3.src.rpm from the FC3 distribution. According to the spec file, it builds all of the php-* packages. So you wouldn't have to worry about building php-mysql separately, you'd just have to rebuild the php source RPM.
-chris
Am Freitag, den 15.07.2005, 10:49 -0700 schrieb Eric Wagar:
I see that there is source for php4, which I would assume would be all of php, including the mysql so.
Since the mysql portion is broken up and provided as php-mysql in Fedora releases, how do I go about recompiling the php-mysql for use with MySQL 4/4.1? The one included < FC4 is compiled for MySQL 3.23. I use MySQL 4.1, so I need an updated php-mysql to properly work with the DB.
http://fedoranews.org/contributors/tony_smith/mysql/
Read "Step 4: Prevent Breaking Dependancies"
Thanks eric
Christoph
On Fri, 2005-07-15 at 10:49 -0700, Eric Wagar wrote:
I see that there is source for php4, which I would assume would be all of php, including the mysql so.
Since the mysql portion is broken up and provided as php-mysql in Fedora releases, how do I go about recompiling the php-mysql for use with MySQL 4/4.1? The one included < FC4 is compiled for MySQL 3.23. I use MySQL 4.1, so I need an updated php-mysql to properly work with the DB.
While trying to do an rpmbuild -ba, I receive these messages: #define PHP_SAFE_MODE 0 #define PHP_SAFE_MODE_EXEC_DIR "/usr/bin" #define PHP_SIGCHILD 0 #define PHP_WRITE_STDOUT 1 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define STDC_HEADERS 1 #define WITH_BCMATH 1 #define YYTEXT_POINTER 1 #endif #ifdef __cplusplus extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 1 + make -j4 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.76493 (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.76493 (%build)
But, while doing a ./configure; make; make test of the php source, I get a proper build.
How do I go about troubleshooting the rpmbuild function?
Thanks eric
On Mon, 2005-09-12 at 10:50 -0700, Eric Wagar wrote:
On Fri, 2005-07-15 at 10:49 -0700, Eric Wagar wrote:
I see that there is source for php4, which I would assume would be all of php, including the mysql so.
php-mysql is phpmyadmin. Is not it? I noticed that in theold times... :-)
Since the mysql portion is broken up and provided as php-mysql in Fedora releases, how do I go about recompiling the php-mysql for use with MySQL 4/4.1? The one included < FC4 is compiled for MySQL 3.23. I use MySQL 4.1, so I need an updated php-mysql to properly work with the DB.
What version of phpmyadmin is embedded on?
configure: exit 1
- make -j4
make: *** No targets specified and no makefile found. Stop.
[...]
But, while doing a ./configure; make; make test of the php source, I get a proper build.
Try your "./configure; make; make test" with exactly the same options as in the spec file.
--On Monday, September 12, 2005 8:16 PM +0200 Rakotomandimby Mihamina mihamina.rakotomandimby@etu.univ-orleans.fr wrote:
php-mysql is phpmyadmin. Is not it? I noticed that in theold times... :-)
No, it's a subpackage of php. The source package creates the main binary and several subpackages. This is done to reduce "coupling", so that if you don't have mysql installed, you don't have to install the mysql component of php. But it still gets built from the source package. Look in the spec file to see all the subpackages that get generated. While end users are not required to have all dependent packages installed, packagers are, in order to build all the subpackages.
--On Monday, September 12, 2005 10:50 AM -0700 Eric Wagar eric@deadhookers.org wrote:
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.76493 (%build)
But, while doing a ./configure; make; make test of the php source, I get a proper build.
How do I go about troubleshooting the rpmbuild function?
Note the RPM build error, which tells you that it was running the %build scriptlet and that it was stored in the temp file /var/tmp/rpm-tmp.76493. Look at that file and perhaps try running the commands within it "by hand".