[PHP] building php x64 for windows
I want to building php5.4 x64 for windows. I have see https://wiki.php.net/internals/windows/stepbystepbuild. but I do extensions always show wrong. Have any friend help for this? php error LNK2019 unresolved external. -- Yon.
[PHP] Building PHP on Windows 7 using Visual Studio 10
I am trying to build PHP from source code on Windows 7 using Visual Studio 10. I have tried to follow the procedure at https://wiki.php.net/internals/windows/stepbystepbuild I did not get very far and suspect that this procedure may need to be updated for people in my situation. In particular, steps 6, 7, and 12 and beyond just don't work on my system. Does anyone out there have an updated procedure that I could follow? Also, is step #12 implying that I can build PHP without adding any other libraries to the deps folder?
[PHP] building php with DB extension without installing DB locally
hi guys, I want to build php with firebirdDB (ibase) extension (for the purposes of this exercise it could just as well be mysql) without installing firebird on the local machine (i'm moving the DB to a seperate server) ... I can't figure out how to do this apart from installing firebird, building php then removing firebird again - although I'm not sure this would even work. Does anyone know the correct way to go about such a thing? TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php with DB extension without installing DB locally
Quoting Jochem Maas [EMAIL PROTECTED]: hi guys, I want to build php with firebirdDB (ibase) extension (for the purposes of this exercise it could just as well be mysql) without installing firebird on the local machine (i'm moving the DB to a seperate server) ... I can't figure out how to do this apart from installing firebird, building php then removing firebird again - although I'm not sure this would even work. Does anyone know the correct way to go about such a thing? TIA Think it's the same as compiling with the mysql extension. You need the client libraries to build PHP. So just install the firebird client and compile against that. That should work .. right? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php with DB extension without installing DB locally
Quoting Jochem Maas [EMAIL PROTECTED]: [EMAIL PROTECTED] schreef: Quoting Jochem Maas [EMAIL PROTECTED]: hi guys, I want to build php with firebirdDB (ibase) extension (for the purposes of this exercise it could just as well be mysql) without installing firebird on the local machine (i'm moving the DB to a seperate server) ... I can't figure out how to do this apart from installing firebird, building php then removing firebird again - although I'm not sure this would even work. Does anyone know the correct way to go about such a thing? TIA Think it's the same as compiling with the mysql extension. You need the client libraries to build PHP. So just install the firebird client and compile against that. That should work .. right? right! I wasn't thinking - it never occurred to me I could install the client libs without the [db] server a quick look with 'apt-cache search' comfirms that I can. thanks for the wake up call :-) np :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php with DB extension without installing DB locally
[EMAIL PROTECTED] schreef: Quoting Jochem Maas [EMAIL PROTECTED]: hi guys, I want to build php with firebirdDB (ibase) extension (for the purposes of this exercise it could just as well be mysql) without installing firebird on the local machine (i'm moving the DB to a seperate server) ... I can't figure out how to do this apart from installing firebird, building php then removing firebird again - although I'm not sure this would even work. Does anyone know the correct way to go about such a thing? TIA Think it's the same as compiling with the mysql extension. You need the client libraries to build PHP. So just install the firebird client and compile against that. That should work .. right? right! I wasn't thinking - it never occurred to me I could install the client libs without the [db] server a quick look with 'apt-cache search' comfirms that I can. thanks for the wake up call :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php with DB extension without installing DB locally
On Tue, January 22, 2008 5:04 am, Jochem Maas wrote: I want to build php with firebirdDB (ibase) extension (for the purposes of this exercise it could just as well be mysql) without installing firebird on the local machine (i'm moving the DB to a seperate server) ... I can't figure out how to do this apart from installing firebird, building php then removing firebird again - although I'm not sure this would even work. Does anyone know the correct way to go about such a thing? In order to compile, you need AT LEAST the client headers, sometimes referred to as the -devel package in RPMs. It will probably be easiest to just install/uninstall, though... -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Building PHP 5.2.5 on Win32
Hiya, We're using PHP/Java Bridge (PJB) with PHP 5.1.6 and Apache 2.0.61 on Windows, and experiencing frequent segfaults of Apache. Inspecting the dump reveals that PHP is crashing somewhere, something to do with a null pointer exception when reporting an error - seemingly not in the php/java module but elsewhere (although I'm no expert). I've tried using the same combination but with the latest Apache (2.2.6), but the segfault still happens. It seems to happen most (and reproducibly) when getting requests through a flex client, when an open connection already exists from a flex client on the same machine (i.e. one browser window runs the flex client, and opens a popup window also with the flex client running). Firstly, has anyone experienced this? So, I'm trying to update to the latest version of PHP (5.2.5), but coming up against some problems when attempting to build PHP, which I'm doing in order to build a PJB module to work with it. I've tried to build PHP using Cygwin, cross-compiling against mingw32, but that failed with a number of build errors, presumably related to incompatible libs and includes. Instead I tried using MS's Visual Studio C++, as in the documentation in the PHP build directory. Firstly I couldn't get the configure script to find the win32build folder, so I added it to PATH and tried again. Then, the configure script ran successfully, but nmake fails with: -h win32\ -r Release_TS\ -x Release_TS\ win32\build\wsyslog.mc '-h' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: '' : return code '0x1' Stop. It would appear that PHP's configure script isn't writing the make rules properly, and is setting an empty string instead of the name of some build tool. Can anyone help with this? Is there a way of building the PJB module for this version of PHP in win32 that doesn't require a build of PHP itself? We must have it sorted by next Wednesday (the 19th), and we're willing to pay a reasonable rate for assistance. Cheers, Mike -- Michael Tyson | Developer | smartpath.com.au m: (+61) 0407 754 124 e: [EMAIL PROTECTED] aim: mikerusselltyson
[PHP] Building php-pcre extension on windows
PHP experts everywhere!! I am building PHP 5.1.2 on windows without pcre-regex extension. I am building building pcre independently and then I am building the extension php_pcre.dll. I build few other extensions too. I keep the extensions in c:\php\extensions which is set in php.ini. I am getting an error that php_pcre.dll extension is invalid or corrupt whenever php call is being invoked. I believe I am not building php_pcre.dll extension properly, although any insights as to what could be the problem. Also is OK to build php --without-pcre-regex extension at all? Thanks -- Manish Marathe SpikeSource, Inc. http://developer.spikesource.com
[PHP] building php, using mysql for apache2
hi... trying to build php4 with mysql4.1-12, for use in apache2. i have the following ./compile that works for php5. however, when i try to use it for php4, i get a msg, stating that it can't find the MySQL Headers... can anybody provide any pointers as far as what the Headers are for mysql, and where they'd be located? if i knew the files, i could do a search to find where they're located. -- ./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/usr/bin/mysql_config -- thanks -bruce [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php, using mysql for apache2
trying to build php4 with mysql4.1-12, for use in apache2. i have the following ./compile that works for php5. however, when i try to use it for php4, i get a msg, stating that it can't find the MySQL Headers... From http://us3.php.net/manual/en/ref.mysql.php: === For compiling, simply use the --with-mysql[=DIR] configuration option where the optional [DIR] points to the MySQL installation directory. This MySQL extension doesn't support full functionality of MySQL versions greater than 4.1.0. For that, use MySQLi. If you would like to install the mysql extension along with the mysqli extension you have to use the same client library to avoid any conflicts. === PHP4 doesn't support the mysqli extension, so you must compile PHP w/ --with-mysql=/your/mysql/prefix/dir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php, using mysql for apache2
--with-mysql is supposed to be the directory in which configure can find the mysql header (.h) files and the mysql library (mysql.so) underneath that directory. /usr/bin/mysql_config is a program -- a binary if you will It's incredibly unlikely that your MySQL header files and the mysql.so library are in files underneath this binary, which isn't even a directory, much less the directory where your header and library files are living... Try --with-mysql=/usr or --with-mysql=/usr/local or... Do this: locate mysql.h locate mysql.so Then find the common portion of the directories where those files live. Silly Example: /elephant/snake/tiger/mysql.h /elephant/gorilla/pume/mysql.so You should use --with-mysql=/elephant because that's the common portion. In theory, configure will dig around in there and find the files it needs. In reality, it expects them to be in directories like 'include' and 'lib' with maybe an intervening directory like 'local' somewhere in the mess... On Wed, June 1, 2005 5:13 am, bruce said: hi... trying to build php4 with mysql4.1-12, for use in apache2. i have the following ./compile that works for php5. however, when i try to use it for php4, i get a msg, stating that it can't find the MySQL Headers... can anybody provide any pointers as far as what the Headers are for mysql, and where they'd be located? if i knew the files, i could do a search to find where they're located. -- ./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/usr/bin/mysql_config -- thanks -bruce [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] building php to have mysqli support...
hi... i'm trying to upgrade/install php-4.3.8 to include mysqli support. i'm running on a rh8.0 linux with mysql-4.x. i used the php-4.3.8 src rpm, and built using the following config ./configure --with-apxs2=/usr/sbin/apxs --with-config-file-path=/etc --with -mysql --with-mysqli=/usr/bin/mysql_config --with-ldap --with-pgsql i then used the following commands.. make clean ./configure make make install everything seemed to go ok, as everything appeared to run to completion and i didn't see any errors... i do appear to have created a new libphp4.so however, when i look in the php-dist.ini it has no mention of mysqli... so my question, have i screwed up somewhere?? or am i just looking for the php.ini file in the wrong location. has anybody managed to get php to work so you can actually use both mysql/mysqli??? pointers/criticisms/assistance is greatly appreciated! searching through google/php.net/etc.. hasn't turned up information on where i've gone wrong. thanks.. -bruce -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] building php to have mysqli support...
hi... after further reading/screams... it appears that only php-5.0.0 supports the mysqli interface. however, there appear to be numerous issues/problems with getting this up/running. my setup. i have rh8.0 linux, with php-5.0.0 source. i'm trying to build from souce, to do the configure/make/make install. i have tried the following configure statements... they all seem to go through the process with no error ./configure --with-apxs2=/usr/sbin/apxs --with-config-file-path=/etc --with -mysql=/usr --with-mysqli=/usr/bin/mysql_config --with-ldap --with-pgsql ./configure --with-config-file-path=/etc --with-mysql=/usr/local/mysql --w ith-mysqli=/usr/local/mysql/bin/mysql_config --with-apxs2=/usr/sbin/apxs --w ith-ldap --with-pgsql ./configure --disable-all --with-pcre-regex --with-config-file-path=/etc -- with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-apxs2=/usr/sbin/apxs --with-ldap --with-pgsql ./configure --with-config-file-path=/etc --with-mysql=/usr/local/mysql --w ith-mysqli=/usr/local/mysql/bin/mysql_config --with-ldap --with-pgsql after each configure step, i then did a make clean, followed by a make. never have been able to get the make to work... in fact it dies with the following errors... gcc -Iext/mysqli/ -I/usr/src/php-5.0.0/ext/mysqli/ -DPHP_ATOM_INC -I/usr/sr c/php-5.0.0/include -I/usr/src/php-5.0.0/main -I/usr/src/php-5.0.0 -I/usr/sr c/php-5.0.0/Zend -I/usr/include/libxml2 -I/usr/local/mysql/include -I/usr/s rc/php-5.0.0/TSRM -g -O2 -c /usr/src/php-5.0.0/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.o echo ext/mysqli/mysqli.lo In file included from /usr/src/php-5.0.0/ext/mysqli/mysqli.c:31: /usr/src/php-5.0.0/ext/mysqli/php_mysqli.h:50: parse error before MYSQL_STMT /usr/src/php-5.0.0/ext/mysqli/php_mysqli.h:50: warning: no semicolon at end of struct or union /usr/src/php-5.0.0/ext/mysqli/php_mysqli.h:54: parse error before '}' token /usr/src/php-5.0.0/ext/mysqli/php_mysqli.h:54: warning: data definition has no type or storage class /usr/src/php-5.0.0/ext/mysqli/php_mysqli.h:116: parse error before '*' token /usr/src/php-5.0.0/ext/mysqli/mysqli.c:91: parse error before '*' token /usr/src/php-5.0.0/ext/mysqli/mysqli.c: In function `php_clear_stmt_bind': /usr/src/php-5.0.0/ext/mysqli/mysqli.c:93: `stmt' undeclared (first use in this function) /usr/src/php-5.0.0/ext/mysqli/mysqli.c:93: (Each undeclared identifier is reported only once /usr/src/php-5.0.0/ext/mysqli/mysqli.c:93: for each function it appears in.) /usr/src/php-5.0.0/ext/mysqli/mysqli.c: In function `mysqli_objects_free_storage': /usr/src/php-5.0.0/ext/mysqli/mysqli.c:145: parse error before ')' token /usr/src/php-5.0.0/ext/mysqli/mysqli.c: In function `zm_startup_mysqli': /usr/src/php-5.0.0/ext/mysqli/mysqli.c:445: `STMT_ATTR_UPDATE_MAX_LENGTH' undeclared (first use in this function) /usr/src/php-5.0.0/ext/mysqli/mysqli.c:495: `MYSQL_NO_DATA' undeclared (first use in this function) /usr/src/php-5.0.0/ext/mysqli/mysqli.c: In function `php_mysqli_fetch_into_hash': /usr/src/php-5.0.0/ext/mysqli/mysqli.c:604: `MYSQL_STMT' undeclared (first use in this function) /usr/src/php-5.0.0/ext/mysqli/mysqli.c:604: parse error before ')' token make: *** [ext/mysqli/mysqli.lo] Error 1 i've seen various issues relating to this on google, but no real solution.. any ideas/comments/pointers/etc.. i need to be able to do transactional processing which means i need to start looking at mysqli which means i need php-5.0.0!!! thanks -bruce -Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Saturday, July 17, 2004 1:12 PM To: [EMAIL PROTECTED] Subject: [PHP] building php to have mysqli support... hi... i'm trying to upgrade/install php-4.3.8 to include mysqli support. i'm running on a rh8.0 linux with mysql-4.x. i used the php-4.3.8 src rpm, and built using the following config ./configure --with-apxs2=/usr/sbin/apxs --with-config-file-path=/etc --with -mysql --with-mysqli=/usr/bin/mysql_config --with-ldap --with-pgsql i then used the following commands.. make clean ./configure make make install everything seemed to go ok, as everything appeared to run to completion and i didn't see any errors... i do appear to have created a new libphp4.so however, when i look in the php-dist.ini it has no mention of mysqli... so my question, have i screwed up somewhere?? or am i just looking for the php.ini file in the wrong location. has anybody managed to get php to work so you can actually use both mysql/mysqli??? pointers/criticisms/assistance is greatly appreciated! searching through google/php.net/etc.. hasn't turned up information on where i've gone wrong. thanks.. -bruce -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] building php 4.3.7 with sablot 1.0.1 and gcc 3.3.3
I'm trying to build php 4.3.7 with sablot 1.0.1 and expat 1.95.7 - I'm using gcc3.3.3. sablot and expat built fine, but when I build/link php: /usr/lib/libsablot.so: undefined reference to `operator new[](unsigned)' /usr/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /usr/lib/libsablot.so: undefined reference to `operator delete(void*)' /usr/lib/libsablot.so: undefined reference to `__gxx_personality_v0' /usr/lib/libsablot.so: undefined reference to `__cxa_pure_virtual' /usr/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__class_type_info' /usr/lib/libsablot.so: undefined reference to `operator delete[](void*)' /usr/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /usr/lib/libsablot.so: undefined reference to `operator new(unsigned)' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 It does seem to have much to do with php as such, but just in case it rings a bell with anyone? thanks, Per Jessen, Zurich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Building PHP source for Linux / Unix.
Hi, Compiling stuff from source is one of the fun things that you get to do on linux. As with most things it takes a while to aquire the taste though. The best place to start usually is the README and INSTALL scripts that you tend to find with almost everything distributed as source. You will also find ./configure --help to be quite usefull. Before you compile PHP you might want to try your hand and apache, which is a lot easier to compile and which you need anyway (unless you plan to run comand line only) have fun. Ananth Kesari wrote: Hi, I am a beginner to building PHP source code for Linux / Unix. I am looking for a document that takes me through a step-by-step guidelines of doing this. Can someone point to a link for this? Thanks, Ananth. -- Raditha Dissanayake. http://www.radinks.com/sftp/ | http://www.raditha/megaupload/ Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Building PHP source for Linux / Unix.
Hi, I am a beginner to building PHP source code for Linux / Unix. I am looking for a document that takes me through a step-by-step guidelines of doing this. Can someone point to a link for this? Thanks, Ananth. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Building PHP source for Linux / Unix.
At 10:00 5-11-03, you wrote: Hi, I am a beginner to building PHP source code for Linux / Unix. I am looking for a document that takes me through a step-by-step guidelines of doing this. Can someone point to a link for this? did you find http://nl.php.net/manual/en/installation.php ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php witk libiconv
Hi Tom, configure ... --with-iconv doesn't change anything, configure is ok but make ends with: gcc: /usr//lib/.libs/libiconv.so: No such file or directory gcc: /opt//lib/.libs/libiconv.so: No such file or directory I decided to create a link /opt/lib/.libs/libiconv.so - /opt/lib/libiconv.so.2.2.0 Now, I still have the following message: gcc: /usr//lib/.libs/libiconv.so: No such file or directory I don't want to make links everywhere! Regards, Alain. Tom Rogers a écrit: Hi, Friday, August 29, 2003, 12:52:11 AM, you wrote: AB Hi, AB I don't know what to do with libiconv to build php4.3.3. AB My libiconv-1.9 is installed in /opt AB if I invoke configure --with-iconv=/opt the script runs fine but I AB get the following message at compile time: AB gcc: /usr//lib/.libs/libiconv.so: No such file or directory AB gcc: /opt//lib/.libs/libiconv.so: No such file or directory AB What is strange is that /lib/.libs is a directory tree in the AB libiconv-1.9 source directory. AB So, I tried to invoke configure AB --with-iconv=/home/a.bonnefoy/portage/libiconv-1.9. AB But now configure complains asking me to reinstall libiconv. AB What to do??? AB Thanks, AB Alain. What happens if you just use --with-iconv ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[2]: [PHP] building php witk libiconv
Hi, Friday, August 29, 2003, 4:09:14 PM, you wrote: AB Hi Tom, AB configure ... --with-iconv AB doesn't change anything, configure is ok but make ends with: AB gcc: /usr//lib/.libs/libiconv.so: No such file or directory AB gcc: /opt//lib/.libs/libiconv.so: No such file or directory AB I decided to create a link /opt/lib/.libs/libiconv.so - AB /opt/lib/libiconv.so.2.2.0 AB Now, I still have the following message: AB gcc: /usr//lib/.libs/libiconv.so: No such file or directory AB I don't want to make links everywhere! AB Regards, AB Alain. AB Tom Rogers a écrit: Hi, Friday, August 29, 2003, 12:52:11 AM, you wrote: AB Hi, AB I don't know what to do with libiconv to build php4.3.3. AB My libiconv-1.9 is installed in /opt AB if I invoke configure --with-iconv=/opt the script runs fine but I AB get the following message at compile time: AB gcc: /usr//lib/.libs/libiconv.so: No such file or directory AB gcc: /opt//lib/.libs/libiconv.so: No such file or directory AB What is strange is that /lib/.libs is a directory tree in the AB libiconv-1.9 source directory. AB So, I tried to invoke configure AB --with-iconv=/home/a.bonnefoy/portage/libiconv-1.9. AB But now configure complains asking me to reinstall libiconv. AB What to do??? AB Thanks, AB Alain. What happens if you just use --with-iconv ? I just installed libiconv-1.9.1 and made with ./configure --prefix=/usr make make install then rebuilt php with --with-iconv=/usr and it built just fine Some bits of iconv seem to need gettext, do you have that installed? -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] building php witk libiconv
Hi, I don't know what to do with libiconv to build php4.3.3. My libiconv-1.9 is installed in /opt if I invoke configure --with-iconv=/opt the script runs fine but I get the following message at compile time: gcc: /usr//lib/.libs/libiconv.so: No such file or directory gcc: /opt//lib/.libs/libiconv.so: No such file or directory What is strange is that /lib/.libs is a directory tree in the libiconv-1.9 source directory. So, I tried to invoke configure --with-iconv=/home/a.bonnefoy/portage/libiconv-1.9. But now configure complains asking me to reinstall libiconv. What to do??? Thanks, Alain. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php witk libiconv
Hi, Friday, August 29, 2003, 12:52:11 AM, you wrote: AB Hi, AB I don't know what to do with libiconv to build php4.3.3. AB My libiconv-1.9 is installed in /opt AB if I invoke configure --with-iconv=/opt the script runs fine but I AB get the following message at compile time: AB gcc: /usr//lib/.libs/libiconv.so: No such file or directory AB gcc: /opt//lib/.libs/libiconv.so: No such file or directory AB What is strange is that /lib/.libs is a directory tree in the AB libiconv-1.9 source directory. AB So, I tried to invoke configure AB --with-iconv=/home/a.bonnefoy/portage/libiconv-1.9. AB But now configure complains asking me to reinstall libiconv. AB What to do??? AB Thanks, AB Alain. What happens if you just use --with-iconv ? -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Building PHP extensions for MacOS X
I need to build a PHP extension that also talks to parts of the MacOS X API/frameworks. I could build simple, generic extensions in gcc, but for OS X APIs, I need to use something a bit bigger. Can anybody give me any tips of how to build PHP extensions in CodeWarrior or ProjectBuilder on MacOS X? Or perhaps a link to somewhere that might help? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Building PHP for windows
Sorry if this question has been asked before... Is it possible to build PHP on Windows using Borland's C++ Builder? All the docs I've seen talk about MS Visual C++, so I wondered if that's the only compiler that will build it. I've not seen any mention of other compilers. Cheers, Richy == Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] building php --with-imap problems
Hi there, I am new to imap and I am trying to build php with imap. Therfore I have to figure out how to install the c-library from the wahington university. the php.net page says this is required. The docu tells me this: 1) Look in imap-2001/Makefile and find your system type code, e.g. slx for glibc Linux and/or Linux with shadow password security. 3) Install the POP2 daemon (ipopd/ipop2d), the POP3 daemon (ipopd/ipop3d), and the IMAP daemon (imapd/imapd) on a system directory of your choosing. 5) Update /etc/inetd.conf to invoke the POP2, POP3, and IMAP daemons on their associated services. This is pretty generic. - Where do I obtain ipopd/ipop2d and so on. I am on suse72 this is the - second point... I cant find this system in Makefile. - What do I have to enter in /etc/inetd.conf ? Thanx for any help, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] building php
Hello, i can't get php binary when installing php on my server. my configure: ./configure --prefix=/usr/local \ --with-config-file-path=/usr/local/etc \ --with-openssl=/usr/local \ --with-zlib-dir=/usr/local \ --with-zlib=/usr/local \ --with-bz2=/usr/local \ --with-mysql=/usr/local \ --with-apache=../apache_1.3.24 \ --with-zip=/usr/local \ --enable-calendar \ --enable-sockets \ --with-mod_charset \ --without-pear configure pass with no errors, make too make install - module is installed, everything is ok but no php binary is installed. when i type make php i got: /bin/sh /usr/local/src/php-4.2.0/libtool --silent --mode=link gcc -I. -I/usr/local/src/php-4.2.0/ -I/usr/local/src/php-4.2.0/main -I/usr/local/src/php-4.2.0 -I/usr/local/src/apache_1.3.24/src/include -I/usr/local/src/apache_1.3.24/src/os/unix -I/usr/local/src/php-4.2.0/Zend -I/usr/local/include -I/usr/local/include/mysql -I/usr/local/src/php-4.2.0/ext/xml/expat -I/usr/local/src/php-4.2.0/TSRM -g -O2 -o php -export-dynamicstub.lo libphp4.la /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make: *** [php] Error 1 Can you help me please ? (I urgent need php binary to execute some scripts from crontab) Thank you. Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] building php
On Wed, 15 May 2002, Michal Dvoracek wrote: i can't get php binary when installing php on my server. my configure: ./configure --prefix=/usr/local \ --with-apache=../apache_1.3.24 \ configure pass with no errors, make too make install - module is installed, everything is ok but no php binary is installed. When you say --with-apache, that's telling it you want to build a module for Apache rather than a standalone binary. Take that parameter out of your configure line. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] building PHP on/for win32
I'm trying to locate instructions for building on/for win32 platform. Can someone supply a pointer? thanks tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Building PHP on SYSV
I am trying to build PHP 4.0.2 on a box running SYSV Unix and am getting a number of errors. I'm using gcc 2.6.0. The OS is version 4.0. 1) In ext/standard/mail.c, the include file, sysexits.h, doesn't exist. I did a little hunting. mail.c is looking for EX_TEMPFAIL, so I replace sysexits.h with #define EX_TEMPFAIL 75. I got the value from a SCO box. 2) After fixing the above problem, I again type, "make" from the top-level directory of the distribution and get the following: Making all in . /bin/sh /users/dmahoney/source/php-4.0.2/libtool --silent --mode=link gc c -I. -I/users/dmahoney/source/php-4.0.2/ -I/users/dmahoney/source/php-4.0.2 -I /users/dmahoney/source/php-4.0.2/main -I/users/dmahoney/source/php-4.0.2/Zend -I /users/dmahoney/source/php-4.0.2 -I/users/dmahoney/source/php-4.0.2/ext/mysql/li bmysql -g -O2 -o libphp4.la -rpath /users/dmahoney/source/php-4.0.2/libs / usr/ucblib stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex /libregex.la ext/db/libdb.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posi x/libposix.la ext/session/libsession.la ext/standard/libstandard.la -ldl -lres olv -lresolv -lresolv -lm -ldl -lcrypt -lsocket -lsocket UX:sh (libtool): ERROR: /usr/bin/ar: arg list too long *** Error code 1 (bu21) make: fatal error. *** Error code 1 (bu21) make: fatal error. Does anyone have any ideas about the problem? Thanks, DOM II -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]