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_au totools()
{
+ $PHP_AUTOCONF='/home/username/my/custom/path/to/autoconf'
test -z "$PHP_AUTOC ONF" && PHP_AUTOCONF=au toconf
test -z "$PHP_AUTOHEADE R" && 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 -- 0 4423 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 use m4_pattern_allow.
See the Autoconf documentation.
This is an error from autoconf, but I have no idea what the problem is. I installed new versions of
libtool (1.4), autoconf (2.57), and automake (1.7.8), still the same error.
|
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 is not
possible in production) and this is what I am getting:
$ phpize
autoheader: `config.h.in' is created
You should update your `aclocal.m4' by running aclocal.
$ ./configure
configure: error: cannot find sources (Makefile.in) in . or ..
|
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. Everythings works fine under
traditional UNIX, but since we're trying to port to other platforms like
Mac OS or Windows, we are in trouble.
My question is: how can I find out, which compiler and linker options
are necessary to build a custom...
|
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.
For the C part of the whole adventure (the modules for PAM, NSS and PPPd), I'd
love to have some form of autoconf/automake installation routine before I
distribute the whole thing, but I myself am not knowledgeable with the use of
automake and...
|
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 installation are:
1.Add an install class to the deployed project and imperment the custom
action
2.Add a "Data Entry Dialog Boxes" in the User Interface Editor of the
deployment project(my examply has two textbox,thier property are DBUSER and...
| |
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
autoconf-2.59-3
|
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 configure script.
My setup is as follows:
../src/php-4.4.2
|
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 python macro for autoconf -- python.m4 --
doesn't seem to detect my python installation correctly. The strange
thing is that it seemingly detects everything correctly, but a final
check still fails. I have the python 2.5 source distribution...
|
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 application, but it also includes a Windows Service.
My custom install actions configuration includes output from a Class Library
project that contains the custom actions followed by the output of the
Windows Service project to register the service....
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |