FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Compiling PHP error
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Compiling PHP error [message #174580] Mon, 20 June 2011 09:46 Go to next message
DiamondEagle is currently offline  DiamondEagle
Messages: 11
Registered: October 2010
Karma: 0
Junior Member
I'm trying to compile PHP 5.3 on my Windows XP SP3 computer using the
instructions from https://wiki.php.net/internals/windows/stepbystepbuild.
This is so that I can get a windows binary for the MQSeries extension
(http://www.tjonahen.nl/mqseries/)

When I run the configure command:

C:\php-sdk\php53dev\vc9\x86\php-5.3.7RC1>configure --disable-all --
enable-cli --enable-$remains

I get the following error:

Unknown option --enable-$remains; please try configure.js --help for a
list of valid options

What does -$remains do? And what do I need to do to resolve this?
Re: Compiling PHP error [message #174581 is a reply to message #174580] Mon, 20 June 2011 12:54 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 6/20/2011 5:46 AM, DiamondEagle wrote:
> I'm trying to compile PHP 5.3 on my Windows XP SP3 computer using the
> instructions from https://wiki.php.net/internals/windows/stepbystepbuild.
> This is so that I can get a windows binary for the MQSeries extension
> (http://www.tjonahen.nl/mqseries/)
>
> When I run the configure command:
>
> C:\php-sdk\php53dev\vc9\x86\php-5.3.7RC1>configure --disable-all --
> enable-cli --enable-$remains
>
> I get the following error:
>
> Unknown option --enable-$remains; please try configure.js --help for a
> list of valid options
>
> What does -$remains do? And what do I need to do to resolve this?

It's a generic statement - you're supposed to put the specific
extensions you want enabled, not the literal $remains.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Compiling PHP error [message #174582 is a reply to message #174581] Mon, 20 June 2011 14:17 Go to previous messageGo to next message
DiamondEagle is currently offline  DiamondEagle
Messages: 11
Registered: October 2010
Karma: 0
Junior Member
On Jun 20, 2:54 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>
> It's a generic statement - you're supposed to put the specific
> extensions you want enabled, not the literal $remains.
>
Thanks Jerry.

I have tried specifying the name of the extension like this:

C:\php-sdk\php53dev\vc9\x86\php-5.3.7RC1>configure --disable-all --
enable-cli --enable-mqseries

but I still get the "Unknown option --enable-mqseries; please try
configure.js --help for a list of valid options" message.

What am I doing wrong now?
Re: Compiling PHP error [message #174583 is a reply to message #174582] Mon, 20 June 2011 15:04 Go to previous messageGo to next message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma: 0
Senior Member
DiamondEagle wrote:
> On Jun 20, 2:54 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> It's a generic statement - you're supposed to put the specific
>> extensions you want enabled, not the literal $remains.
>>
> Thanks Jerry.
>
> I have tried specifying the name of the extension like this:
>
> C:\php-sdk\php53dev\vc9\x86\php-5.3.7RC1>configure --disable-all --
> enable-cli --enable-mqseries
>
> but I still get the "Unknown option --enable-mqseries; please try
> configure.js --help for a list of valid options" message.
>
> What am I doing wrong now?

what are 'mqseries?
Re: Compiling PHP error [message #174584 is a reply to message #174583] Mon, 20 June 2011 15:24 Go to previous messageGo to next message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma: 0
Senior Member
On 6/20/2011 5:04 PM, The Natural Philosopher wrote:
> DiamondEagle wrote:
>> On Jun 20, 2:54 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>> It's a generic statement - you're supposed to put the specific
>>> extensions you want enabled, not the literal $remains.
>>>
>> Thanks Jerry.
>>
>> I have tried specifying the name of the extension like this:
>>
>> C:\php-sdk\php53dev\vc9\x86\php-5.3.7RC1>configure --disable-all --
>> enable-cli --enable-mqseries
>>
>> but I still get the "Unknown option --enable-mqseries; please try
>> configure.js --help for a list of valid options" message.
>>
>> What am I doing wrong now?
>
> what are 'mqseries?
>

Here:
http://en.wikipedia.org/wiki/Mqseries

It is some "message oriented middleware" solution of IBM for websphere.
I have no clue how to enable that. Trying to read through it made my
buzzwords sensors overload and crash, so I am off to the repairman (who
happens to run a pub too).
;-)

Regards,
Erwin Moller

--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
Re: Compiling PHP error [message #174586 is a reply to message #174582] Mon, 20 June 2011 17:56 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 6/20/2011 10:17 AM, DiamondEagle wrote:
> On Jun 20, 2:54 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>>
>> It's a generic statement - you're supposed to put the specific
>> extensions you want enabled, not the literal $remains.
>>
> Thanks Jerry.
>
> I have tried specifying the name of the extension like this:
>
> C:\php-sdk\php53dev\vc9\x86\php-5.3.7RC1>configure --disable-all --
> enable-cli --enable-mqseries
>
> but I still get the "Unknown option --enable-mqseries; please try
> configure.js --help for a list of valid options" message.
>
> What am I doing wrong now?

That's because mqseries is not a known option to configure.

Do what they say - run configure.js --help to get a list of valid
options for configure.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Compiling PHP error [message #174587 is a reply to message #174584] Mon, 20 June 2011 17:57 Go to previous messageGo to next message
DiamondEagle is currently offline  DiamondEagle
Messages: 11
Registered: October 2010
Karma: 0
Junior Member
On Jun 20, 5:24 pm, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_m...@spamyourself.com> wrote:
> On 6/20/2011 5:04 PM, The Natural Philosopher wrote:
>
> Here:http://en.wikipedia.org/wiki/Mqseries
>
> It is some "message oriented middleware" solution of IBM for websphere.
> I have no clue how to enable that. Trying to read through it made my
> buzzwords sensors overload and crash, so I am off to the repairman (who
> happens to run a pub too).
> ;-)
>
> Regards,
> Erwin Moller

That's correct. It's IBM's Websphere MQ Series.
Re: Compiling PHP error [message #174589 is a reply to message #174586] Mon, 20 June 2011 18:30 Go to previous messageGo to next message
DiamondEagle is currently offline  DiamondEagle
Messages: 11
Registered: October 2010
Karma: 0
Junior Member
On Jun 20, 7:56 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 6/20/2011 10:17 AM, DiamondEagle wrote:
>
> That's because mqseries is not a known option to configure.
>
> Do what they say - run configure.js --help to get a list of valid
> options for configure.
>

mqseries is not included in the list that the --help command produces.
I guess there's something wrong with my build setup...
Thanks.
Re: Compiling PHP error [message #174591 is a reply to message #174580] Mon, 20 June 2011 19:21 Go to previous messageGo to next message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma: 0
Senior Member
On 20-06-2011 11:46, DiamondEagle wrote:
> I'm trying to compile PHP 5.3 on my Windows XP SP3 computer using the
> instructions from https://wiki.php.net/internals/windows/stepbystepbuild.
> This is so that I can get a windows binary for the MQSeries extension
> (http://www.tjonahen.nl/mqseries/)
>
> When I run the configure command:
>
> C:\php-sdk\php53dev\vc9\x86\php-5.3.7RC1>configure --disable-all --
> enable-cli --enable-$remains
>
> I get the following error:
>
> Unknown option --enable-$remains; please try configure.js --help for a
> list of valid options
>
> What does -$remains do? And what do I need to do to resolve this?

when looking (and READING) at:
http://www.tjonahen.nl/mqseries/gettingstarted.html

It seems you do not need to build PHP

Because this MQseries is an extension to PHP...

--
Luuk
Re: Compiling PHP error [message #174598 is a reply to message #174591] Tue, 21 June 2011 09:22 Go to previous messageGo to next message
DiamondEagle is currently offline  DiamondEagle
Messages: 11
Registered: October 2010
Karma: 0
Junior Member
On Jun 20, 9:21 pm, Luuk <L...@invalid.lan> wrote:
> On 20-06-2011 11:46, DiamondEagle wrote:
>
> when looking (and READING) at:http://www.tjonahen.nl/mqseries/gettingstarted.html
>
> It seems you do not need to build PHP
>
> Because this MQseries is an extension to PHP...

Thanks. But don't I need to compile PHP to get the windows binary for
that extension?
Re: Compiling PHP error [message #174599 is a reply to message #174598] Tue, 21 June 2011 09:50 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 6/21/2011 5:22 AM, DiamondEagle wrote:
> On Jun 20, 9:21 pm, Luuk<L...@invalid.lan> wrote:
>> On 20-06-2011 11:46, DiamondEagle wrote:
>>
>> when looking (and READING) at:http://www.tjonahen.nl/mqseries/gettingstarted.html
>>
>> It seems you do not need to build PHP
>>
>> Because this MQseries is an extension to PHP...
>
> Thanks. But don't I need to compile PHP to get the windows binary for
> that extension?

No, you need to compile the extension then add it to your php.ini file.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: PHP Coding
Next Topic: use of substring in php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 23:56:46 GMT 2024

Total time taken to generate the page: 0.02883 seconds