Thread: Re: [PHP-SOAP-DEV] Compilation Problem
Status: Alpha
Brought to you by:
rodif_bl
From: ahristov <ahr...@ic...> - 2002-06-17 20:37:33
|
Do the following. rename 'configure' to something else like 'configure--'. Then run ./buildconf .After buildconf finishes do './configure --help |grep soap '. You must see one line with --enable-soap in it. I have the same problem and fixed it with (re)moving original configure. Best regards, Andrey Hristov 17.6.2002 a. 22:53:16, "Serge Stepanov" <web...@gf...> wrote: > > > From: "Serge Stepanov" <web...@gf...> > > To: <php...@li...> > Subject:[PHP-SOAP-DEV] Compilation Problem > Date: Mon, 17 Jun 2002 11:53:16 -0700 > > > > Hello, > I attempted at compiling SOAP into my PHP installation and have not been > successful. > > After putting the "soap" folder into PHP's source "ext" directory, I ran ./ > buildconf and got the following: > > > buildconf: checking installation... > buildconf: autoconf version 2.50 (ok) > buildconf: automake version 1.4-p4 (ok) > buildconf: libtool version 1.4 (ok) > > rebuilding Makefile templates > aclocal.m4: 1353: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' > aclocal.m4: 1354: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' > aclocal.m4: 1507: `AM_PROG_INSTALL' is obsolete; use `AC_PROG_INSTALL' > > automake: configure.in: installing `Zend/ylwrap' > rebuilding configure > rebuilding main/php_config.h.in > > > Seems to have gone through ok without problems, then I ran ./configure: > > > ./configure --with-mysql --with-gd=/usr/local/lib/gd --with-freetype-dir=/ > usr/local --with-zlib-dir=/usr/local/lib --with-png-dir=/usr/local/lib -- > with-jpeg-dir=/usr/local/include --enable-sockets --prefix=/usr/local/php- > > 4.2.0 --with-apxs=/usr/local/apache/bin/apxs --with-pgsql --enable-gd- > native-ttf --with-jpeg-dir=/usr/local/lib/jpeg-6b --enable-gd-imgstrttf -- > enable-soap > > > Everything seems to go ok, however, when I run "make" I get this: > > > make: *** No targets specified and no makefile found. Stop. > > > Once, however, I was able to get it to compile, but it would find the object > when I tried to create it. > > > Regards, > > Serge Stepanov > > Enterprise Architect & CTO > VisualCafe Studios |
From: ahristov <ahr...@ic...> - 2002-06-18 00:29:49
|
Hi Serge, this is some kind weird. I don't know what is the cure but I will to this. Unpack php 4.2.1 in new place. get into the main dir - mv configure configure-- After then I will unpack php-soap_0.1.2.tar.gz. In no time I will run ./buildconf After it finishes I will grep the output of ./configure --help ./configure --help | grep soap If there is --enable-soap everything is good if not I cannot help. Best regards, Andrey Hristov |
From: Serge S. <se...@gf...> - 2002-06-18 04:53:31
|
I have found and fixed what was wrong with the installation process. Turns out that when I ran './buildconf' it allowed for older versions of autoconf and automake to go through. However, I have found (thanks to my Sun box having a newer versions of these tools), that the following is needed for buildconf to properly re-create the configuration file:=20 automake 1.6 autoconf 2.52 Prior to installing those packages, I had the following: automake 1.4-p4 autoconf 2.50 This was on a Slackware 8.0 box, the Sun box is running Solaris 8 on a Sparc CPU and also compiled PHP SOAP without a problem. Just thought I should note that. Best regards, Serge Stepanov Enterprise Architect & CTO VisualCaf=E9 Studios -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of ahristov Sent: Monday, June 17, 2002 4:12 PM To: web...@gf... Cc: php...@li... Subject: RE: [PHP-SOAP-DEV] Compilation Problem Hi Serge, this is some kind weird. I don't know what is the cure but I will to this. Unpack php 4.2.1 in new place. get into the main dir - mv configure configure-- After then I will unpack php-soap_0.1.2.tar.gz. In no time I will run ./buildconf After it finishes I will grep the output of ./configure --help ./configure --help | grep soap If there is --enable-soap everything is good if not I cannot help. Best regards, Andrey Hristov ------------------------------------------------------------------------ ---- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Phpsoaptoolkit-development mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpsoaptoolkit-development |
From: Serge S. <web...@gf...> - 2002-06-17 22:08:18
|
Hi Andrey, Unfortunately, attempts at compiling PHP after running './configure' are still unsuccessful. I have tried both PHP 4.2.0 an 4.2.1, yet I am still unable to run 'make' after './configure'. One thing that I noticed is that the Makefile is not even there, which leads me to believe that the configure script did not generate one. Here is the last thing the configure script says: Generating files checking for working mkdir -p... yes creating config_vars.mk configure: creating ./config.status config.status: creating php4.spec config.status: creating Zend/Makefile config.status: creating main/build-defs.h config.status: creating pear/scripts/pear config.status: creating pear/scripts/phpize config.status: creating pear/scripts/php-config config.status: creating pear/scripts/pearize config.status: creating pear/scripts/phptar config.status: creating TSRM/Makefile config.status: creating main/php_config.h It seems to me that './buildconf' broke something while re-building the script. Normally it would show the "Thank You" text after running './configure', yet it does not show up after the re-build. PS: I tried moving the original './configure' file prior to running './buildconf' Any help would be appreciated. Thanks, Serge Stepanov Enterprise Architect & CTO VisualCaf=E9 Studios -----Original Message----- From: ahristov [mailto:ahr...@ic...]=20 Sent: Monday, June 17, 2002 12:35 PM To: php...@li... Cc: web...@gf... Subject: Re: [PHP-SOAP-DEV] Compilation Problem Do the following. rename 'configure' to something else like 'configure--'. Then run ./buildconf .After buildconf finishes do './configure --help |grep soap '. You must see one line with --enable-soap in it. I have the same problem and fixed it with (re)moving original configure. Best regards, Andrey Hristov |