473,386 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

phpize and autoconf, custom installation of libssh2

Tom
I've been trying to install the PECL library libssh2 for secure shell2
functions. I'm on a shared webhost which allows custom php
installations that run as a CGI binary. I've been trying to configure
libssh2 but I cannot get the server I'm on to find autoconf... it
originally was not installed on the server, so I downloaded, unpacked,
and installed it successfully to a custom folder in my /home directory
(along with autoheader). However, when I run phpize with ./configure,
I get this error no matter what I do:

[server]$ /home/username/php5/bin/phpize ./configure --with-ssh2 &&
make
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

I know what I need to do is tell phpize where autoconf is located, but
I do not know how to do this, nor can I find any newsgroup post or
manual site that explains how or where this is done. I've tried
manually assigning the path to $PHP_AUTOCONF directly in phpize
itself, like this:

[around line 102]
phpize_check_autotools()
{
+ $PHP_AUTOCONF='/home/username/my/custom/path/to/autoconf'
test -z "$PHP_AUTOCONF" && PHP_AUTOCONF=autoconf
test -z "$PHP_AUTOHEADER" && PHP_AUTOHEADER=autoheader

But when I run phpize I still get the same error message.

So, question is how do I override the default environment variables
$PHP_AUTOCONF and $PHP_AUTOHEADER? An easier solution (if it's
possible) would be to just point to autoconf as a command line option,
e.g.:

[server]$ /home/username/php5/bin/phpize PHP_AUTOCONF=/some/path/
autoconf ./configure --with-ssh2 && make

I realize it could also be that my installation of autoconf is
corrupt, but I've installed and reinstalled it several times with no
error messages from ./configure and make. I also realize that my host
may also restrict usage of programs like autoconf altogether... in
which case this all for nothing, but either way I'd like to get phpize
to at least try and find the program!

Thanks in advance --

Feb 1 '07 #1
0 4405

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Oliver Hertel | last post by:
Hi there, when using phpize on the php accelerator turck*, i get this error: configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please...
1
by: mike | last post by:
I have not used 'phpize' before, but apparently it is required for installing the PHP xdiff extension (http://pecl.php.net/package/xdiff) in Linux. I am running PHP 4.2.2 on RH Linux 8.0 (upgrade...
0
by: Mark Asbach | last post by:
Hi Python-Pros, I'm working on a project using an embedded and extended python interpreter. We use autoconf/automake/libtool and have our own autoconf macros for detecting a python installation....
0
by: Heiko Wundram | last post by:
Hi all! Although it's slightly OT: I've written PAM, NSS and PPPd plugins which do authentication (and other things) against a running Python daemon, communicating via a Unix domain socket. ...
0
by: Kemin | last post by:
Recently I built an ASP.NET application Installation program for deployment. The ASP.NET app use a Sql Server db, I package it into the installation file too. The general step of building an...
2
by: francescomoi | last post by:
Hi. Working with PHP 4.3.10 on Fedora Core 2. I'm trying to execute phpize: /usr/local/php/bin/phpize: line 57: aclocal: command not found I've just installed: automake17-1.7.9-2...
0
by: CptDondo | last post by:
I hope someone can help me out. I am trying to cross-compile xcache <http://trac.lighttpd.net/xcache/> and I'm not having much luck. The problem is that xcache depends on phpize to build the...
1
by: Daniel Nogradi | last post by:
It might be slightly off topic here but couldn't find a more suitable place for this question: I'm trying to build the python binding for ming -- http://ming.sf.net -- but for some reason the...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Actually, my installer package is not for a Windows Service, but for a WinForms application. Well, it is kind of both: this is a multi-project solution with its main target being a WinForms...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.