Re: undef func

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




James Yerge <james@xxxxxxxxxxxxxxx> wrote:

>On 05/10/2013 06:08 PM, Gabriel Ricci wrote:
>> pear isntall php-dev
>>
>>
>> Att.
>>
>> Gabriel Ricci
>> ____________________
>>
>> Website <http://gabrielricci.github.com>
>> Follow @gabrielricci <http://www.twitter.com/gabrielricci>
>> Facebook profile <http://www.facebook.com/gabrielricci2>, GitHub
>> profile<http://www.github.com/gabrielricci/>
>> <http://code.google.com/p/syslibjs/>
>>
>>
>> On Fri, May 10, 2013 at 7:07 PM, georg <georg.chambert@xxxxxxxxx>
>wrote:
>>
>>> **
>>> So thanx again, closing in. It turned out that I had tried; yum
>install
>>> php_pear  // i.e. with an underscore, should be with hyphen !
>>> so crawling a mm forward; then stuck on; pecl install pdo_odbc    //
>in
>>> this case the undrscore is ok (!)
>>> which fails as
>>>
>>> "Cant find php headers in /usr/include/php"  followed by "Error
>phpize
>>> failed"
>>>
>>> /georg
>>>
>>> ----- Original Message -----
>>> *From:* Serge Fonville <serge.fonville@xxxxxxxxx>
>>> *To:* georg <georg.chambert@xxxxxxxxx>
>>> *Cc:* Gabriel Ricci <gabrielricci@xxxxxxxxx> ; Daniel
>Brown<danbrown@xxxxxxx>; tamouse
>>> mailing lists <tamouse.lists@xxxxxxxxx> ; PHP
>General<php-general@xxxxxxxxxxxxx>
>>> *Sent:* Friday, May 10, 2013 11:41 PM
>>> *Subject:* Re:  undef func
>>>
>>>  Assuming OP is using a distro that uses yum for package management;
>>> A "yum whatprovides pecl" should provide the package name that needs
>to be
>>> installed, in case of an apt based distro, this could be done
>through
>>> aptitude. Either way, it seems what might provide more information
>is
>>> details like the commands executed, the distro used and the errors
>received
>>>
>>> HTH
>>>
>>>  Kind regards/met vriendelijke groet,
>>>
>>> Serge Fonville
>>>
>>> http://www.sergefonville.nl
>>>
>>> Convince Microsoft!
>>> They need to add TRUNCATE PARTITION in SQL Server
>>>
>>>
>https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>>>
>>>
>>> 2013/5/10 georg <georg.chambert@xxxxxxxxx>
>>>
>>>> noop, didnt take, no such package, was my reward
>>>>
>>>> /georg
>>>>   ----- Original Message -----
>>>>   From: Gabriel Ricci
>>>>   To: georg
>>>>   Cc: Daniel Brown ; tamouse mailing lists ; PHP General
>>>>   Sent: Friday, May 10, 2013 11:06 PM
>>>>   Subject: Re:  undef func
>>>>
>>>>
>>>>   To have pecl, you need to install PEAR first, "yum install
>php-pear"
>>>> (or "yum install php5-pear") should work.
>>>>
>>>>
>>>>   Then you can try "pecl install pdo_odbc."
>>>>
>>>>
>>>>
>>>>   Att.
>>>>
>>>>   Gabriel Ricci
>>>>   ____________________
>>>>
>>>>   Website
>>>>   Follow @gabrielricci
>>>>   Facebook profile, GitHub profile
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>   On Fri, May 10, 2013 at 6:03 PM, georg <georg.chambert@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>     unfortunately that didnt take, pecl is undefined command (my
>linux is
>>>> not so strong)
>>>>     trying yum renders no such package
>>>>
>>>>
>>>>
>>>>     ----- Original Message ----- From: "Daniel Brown"
><danbrown@xxxxxxx>
>>>>     To: "tamouse mailing lists" <tamouse.lists@xxxxxxxxx>
>>>>     Cc: "georg" <georg.chambert@xxxxxxxxx>; "PHP General" <
>>>> php-general@xxxxxxxxxxxxx>
>>>>     Sent: Friday, May 10, 2013 9:21 PM
>>>>     Subject: Re:  undef func
>>>>
>>>>
>>>>
>>>>
>>>>       On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists
>>>>       <tamouse.lists@xxxxxxxxx> wrote:
>>>>
>>>>
>>>>         Aren't DLLs a Windows thing?
>>>>
>>>>
>>>>          Yeah, I misread the bit about "MS XP" and thought he was
>using XP
>>>>       for this install.  I just realized the remainder of the
>discussion
>>>>       between us was off-list, so - for posterity - my response,
>when
>>>>       finding out it is indeed a Linux box, is: pecl install
>pdo_odbc.
>>>>
>>>>       --
>>>>       </Daniel P. Brown>
>>>>       Network Infrastructure Manager
>>>>       http://www.php.net/
>>>>
>>>>       --
>>>>       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
>>>>
>>>>
>>>>
>>>>
>
>Should be yum install php-devel

If you're looking for a specific package, try

yum list php*

The * acts as a wildcard, it makes it easier to find packages whose names change slightly. Should avoid the ambiguity of the various lines of advice 

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux