For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2006 > phpize failed









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author phpize failed
Phpdiscuss - Php Newsgroups And Mailing Lists

2004-06-10, 8:56 am

Hi @ all!

I installed last CVS-Version of Horde and I get error:

Fatal error: Undefined class name 'auth' in
/srv/www/htdocs/web5/html/horde/config/registry.php on line 60

I looked for PEAR-Modul Auth. But it says:

package `Auth_RADIUS' is recommended to utilize some features.

Ok, looked for Auth_RADIUS, the same, it need radius. But when I
install radius, I get some other error...

running: phpize
Configuring for:
PHP Api Version: 200x0x1x
Zend Module Api No: 200x0xxx
Zend Extension Api No: 200x1xxx
`phpize' failed

What's the problem?

best regards!
Roman
Phpdiscuss - Php Newsgroups And Mailing Lists

2004-06-10, 3:57 pm

Phpdiscuss - Php Newsgroups And Mailing Lists wrote:
> running: phpize
> Configuring for:
> PHP Api Version: 200x0x1x
> Zend Module Api No: 200x0xxx
> Zend Extension Api No: 200x1xxx
> `phpize' failed


This is a php problem with gzip...

and so, I installed radius:
http://pear.php.net/manual/en/pecl.radius.php

$ pear download radius
$ tar xvfz radius-1.2.4.tgz
$ cd radius-1.2.4
$ phpize
$ ./configure
$ make
$ make install

This install radius.so in Path
/usr/share/extensions/no-debug-non-zts-20020429/radius.so

I set extensions-dir on this Path
pear config-set ext_dir /usr/share/extensions/no-debug-non-zts-20020429/

But "pear list-all" tell me that radius.so not installed.

now, how can I tell PEAR were the radius is?

I think the file like radius.reg is missing in
/path/to/pear/.registry/

How can I install radius properly?
Can anybody help me?

best regards
Roman
oeb

2006-05-22, 5:40 pm

For anyone else with this problem, try this:

$ pear install -r radius
downloading radius-1.2.4.tgz ...
Starting to download radius-1.2.4.tgz (29,599 bytes)
..........done: 29,599 bytes
install ok: radius 1.2.4
$ pear install Auth_RADIUS
downloading Auth_RADIUS-1.0.4.tgz ...
Starting to download Auth_RADIUS-1.0.4.tgz (8,232 bytes)
......done: 8,232 bytes
install ok: Auth_RADIUS 1.0.4


-r, --register-only: do not install files, only register the package as installed
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com