[PHP] compile problems

2003-12-20 Thread Brian V Bonini
Not a clue what's wrong, anyone?

functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo
Zend/zend_
multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo
sapi/apache/mod_php
4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt
-lc-client -lc
rypt -lmysqlclient -lcrypt -lpam -lgd -lfreetype -lpng -lz -ljpeg -lz
-lm -lcryp
t -lcrypt  -o libphp4.la
-C: no such file or directory
net/php/reflect.class: no such file or directory
-C: no such file or directory
net/php/reflect.properties: no such file or directory
java.util.zip.ZipException: duplicate entry: usr/src/php-4.3.4/ext/java/
at
java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:166)
at sun.tools.jar.Main.addFile(Main.java:297)
at sun.tools.jar.Main.create(Main.java:258)
at sun.tools.jar.Main.run(Main.java:89)
at sun.tools.jar.Main.main(Main.java:518)
*** Error code 1

Stop in /usr/src/php-4.3.4.


-- 
BrianGnuPG - KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
  Key Server: pgp.mit.edu
==
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
GnuPG: http://gnupg.org
http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC
Linux Registered User #339825 at http://counter.li.org


signature.asc
Description: This is a digitally signed message part


RE: [PHP] Compile problems php 4.1.1

2002-01-15 Thread Simon Ritchie

 I'm trying to compile php 4.1.1 and when it gets to the
 --with-apxs option it errors out with the following:

 Sorry, I was not able to successfully run APXS.  Possible reasons:

 1.  Perl is not installed;
.
.
.

Some systems (eg Red Hat Linux) come with a version of the apxs tool, but
not the one that the PHP builder expects.  The builder is trying to use this
apxs, but it doesn't work as it expects.

Do a minimal build of apache from source code (without PHP) and install it.
This installs a working apxs into /usr/local/bin.  Now build PHP, then build
apache again, this time including the PHP module.

In my system, the builder found the working apxs without help.  If yours
does not, you have to tell the builder where to find it.

Simon


-- 
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]




RE: [PHP] Compile problems php 4.1.1

2002-01-15 Thread Rasmus Lerdorf

Redhat's apxs was broken years ago in RH 6.0 or some version like that.
But since then the apxs from the apache-devel package has been fine.

-Rasmus

On Tue, 15 Jan 2002, Simon Ritchie wrote:

  I'm trying to compile php 4.1.1 and when it gets to the
  --with-apxs option it errors out with the following:
 
  Sorry, I was not able to successfully run APXS.  Possible reasons:
 
  1.  Perl is not installed;
 .
 .
 .

 Some systems (eg Red Hat Linux) come with a version of the apxs tool, but
 not the one that the PHP builder expects.  The builder is trying to use this
 apxs, but it doesn't work as it expects.

 Do a minimal build of apache from source code (without PHP) and install it.
 This installs a working apxs into /usr/local/bin.  Now build PHP, then build
 apache again, this time including the PHP module.

 In my system, the builder found the working apxs without help.  If yours
 does not, you have to tell the builder where to find it.

 Simon


 --
 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 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] Compile problems php 4.1.1

2002-01-14 Thread Jay Paulson

I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors 
out with the following:

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of apxs follows
./configure: apxs: command not found

I've run the httpd -l command and I have the mod_so.c configured into apache as you 
can see below

Compiled-in modules:
  http_core.c
  mod_so.c
suexec: enabled; valid wrapper /usr/sbin/suexec

I then tried to find the apxs file on my machine and well it returns nothing.  Does 
anyone have any ideas on what I can do?

Thanks..





Re: [PHP] Compile problems php 4.1.1

2002-01-14 Thread Rasmus Lerdorf

You don't mention which OS you are on, but usually apxs is found in the
apache-devel package.  You probably didn't install that.

-Rasmus

On Mon, 14 Jan 2002, Jay Paulson wrote:

 I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors 
out with the following:

 Sorry, I was not able to successfully run APXS.  Possible reasons:

 1.  Perl is not installed;
 2.  Apache was not compiled with DSO support (--enable-module=so);
 3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
 The output of apxs follows
 ./configure: apxs: command not found

 I've run the httpd -l command and I have the mod_so.c configured into apache as you 
can see below

 Compiled-in modules:
   http_core.c
   mod_so.c
 suexec: enabled; valid wrapper /usr/sbin/suexec

 I then tried to find the apxs file on my machine and well it returns nothing.  
Does anyone have any ideas on what I can do?

 Thanks..





-- 
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] Compile Problems

2001-04-13 Thread Rohan Amin

Configuration:

Red Hat Linux 7.0
PHP 4.0 PL1
iODBC 3.0.4
Sablotron 0.5.1
Apache 1.3.19

We are attempting to compile PHP with iodbc, Java, and XML/Sablotron support
as a static module for Apache 1.3.19. Depending upon the combination of
options, the module fails to build or builds and dies with the segmentation
violation. Before debugging, I thought I would check around to see if this
is a known problem.

Thanks in advance.


Rohan






-- 
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]




Re: [PHP] Compile Problems

2001-04-13 Thread Rasmus Lerdorf

I assume you mean PHP 4.0.4pl1

I would go grab a recent snapshot from http://snaps.php.net and see if
that solves the problem.  If it doesn't, let us know and we can try to
track it down.  If it does then it is obviously an issue that has been
fixed and you can either just stick with the snapshot release or look at
the Changelog and figure out which change fixed the issue and apply just
that change to the 4.0.4pl1 release you are using.

-Rasmus

On Fri, 13 Apr 2001, Rohan Amin wrote:

 Configuration:

 Red Hat Linux 7.0
 PHP 4.0 PL1
 iODBC 3.0.4
 Sablotron 0.5.1
 Apache 1.3.19

 We are attempting to compile PHP with iodbc, Java, and XML/Sablotron support
 as a static module for Apache 1.3.19. Depending upon the combination of
 options, the module fails to build or builds and dies with the segmentation
 violation. Before debugging, I thought I would check around to see if this
 is a known problem.

 Thanks in advance.


 Rohan






 --
 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 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] compile problems

2001-04-10 Thread Mark Maggelet

Hi , I'm having compile problems with php4.04pl1 and the latest
development version (where can I get older?)

here's what the end of make looks like:

.libs/libphp4.a(xml.o): In function `xml_parser_dtor':
/home/certscape/php4-200104102145/ext/xml/xml.c:304: undefined
reference to `php_XML_ParserFree'
.libs/libphp4.a(xml.o): In function `php_if_xml_parser_create':
/home/certscape/php4-200104102145/ext/xml/xml.c:1091: undefined
reference to `php_XML_ParserCreate'
/home/certscape/php4-200104102145/ext/xml/xml.c:1095: undefined
reference to `php_XML_SetUserData'
.libs/libphp4.a(xml.o): In function `php_if_xml_set_element_handler':
/home/certscape/php4-200104102145/ext/xml/xml.c:1214: undefined
reference to `php_XML_SetElementHandler'
.libs/libphp4.a(xml.o): In function
`php_if_xml_set_character_data_handler':
/home/certscape/php4-200104102145/ext/xml/xml.c:1233: undefined
reference to `php_XML_SetCharacterDataHandler'
.libs/libphp4.a(xml.o): In function
`php_if_xml_set_processing_instruction_handler':
/home/certscape/php4-200104102145/ext/xml/xml.c:1252: undefined
reference to `php_XML_SetProcessingInstructionHandler'
.libs/libphp4.a(xml.o): In function `php_if_xml_set_default_handler':
/home/certscape/php4-200104102145/ext/xml/xml.c:1270: undefined
reference to `php_XML_SetDefaultHandler'
.libs/libphp4.a(xml.o): In function
`php_if_xml_set_unparsed_entity_decl_handler':
/home/certscape/php4-200104102145/ext/xml/xml.c:1289: undefined
reference to `php_XML_SetUnparsedEntityDeclHandler'
.libs/libphp4.a(xml.o): In function
`php_if_xml_set_notation_decl_handler':
/home/certscape/php4-200104102145/ext/xml/xml.c:1307: undefined
reference to `php_XML_SetNotationDeclHandler'
.libs/libphp4.a(xml.o): In function
`php_if_xml_set_external_entity_ref_handler':
/home/certscape/php4-200104102145/ext/xml/xml.c:1325: undefined
reference to `php_XML_SetExternalEntityRefHandler'
.libs/libphp4.a(xml.o): In function `php_if_xml_parse':
/home/certscape/php4-200104102145/ext/xml/xml.c:1394: undefined
reference to `php_XML_Parse'
.libs/libphp4.a(xml.o): In function `php_if_xml_parse_into_struct':
/home/certscape/php4-200104102145/ext/xml/xml.c:1428: undefined
reference to `php_XML_SetDefaultHandler'
/home/certscape/php4-200104102145/ext/xml/xml.c:1429: undefined
reference to `php_XML_SetElementHandler'
/home/certscape/php4-200104102145/ext/xml/xml.c:1430: undefined
reference to `php_XML_SetCharacterDataHandler'
/home/certscape/php4-200104102145/ext/xml/xml.c:1432: undefined
reference to `php_XML_Parse'
.libs/libphp4.a(xml.o): In function `php_if_xml_get_error_code':
/home/certscape/php4-200104102145/ext/xml/xml.c:1450: undefined
reference to `php_XML_GetErrorCode'
.libs/libphp4.a(xml.o): In function `php_if_xml_error_string':
/home/certscape/php4-200104102145/ext/xml/xml.c:1465: undefined
reference to `php_XML_ErrorString'
.libs/libphp4.a(xml.o): In function
`php_if_xml_get_current_line_number':
/home/certscape/php4-200104102145/ext/xml/xml.c:1484: undefined
reference to `php_XML_GetCurrentLineNumber'
.libs/libphp4.a(xml.o): In function
`php_if_xml_get_current_column_number':
/home/certscape/php4-200104102145/ext/xml/xml.c:1500: undefined
reference to `php_XML_GetCurrentColumnNumber'
.libs/libphp4.a(xml.o): In function
`php_if_xml_get_current_byte_index':

I don't even want any of this xml crap. any pointers appreciated.
thanks,
- Mark


--
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]