![]() |
|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
My upgrade to php5.2.6 went ok. But both of these ports are suffering the same error of a missing 'shtool'
Code:
---> Upgrading 'php5-pcre-5.2.5' to 'php5-pcre-5.2.6' (devel/php5-pcre) ---> Building '/usr/ports/devel/php5-pcre' ===> Cleaning for php5-pcre-5.2.6 ===> Vulnerability check disabled, database not found ===> Extracting for php5-pcre-5.2.6 => MD5 Checksum OK for php-5.2.6.tar.bz2. => SHA256 Checksum OK for php-5.2.6.tar.bz2. ===> Patching for php5-pcre-5.2.6 ===> Applying FreeBSD patches for php5-pcre-5.2.6 ===> php5-pcre-5.2.6 depends on file: /usr/local/bin/phpize - found ===> php5-pcre-5.2.6 depends on file: /usr/local/bin/autoconf-2.61 - found ===> PHPizing for php5-pcre-5.2.6 Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 cat: acinclude.m4: No such file or directory cat: ./build/libtool.m4: No such file or directory chmod: /usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/build/shtool: No such file or directory shtool at '/usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/build/shtool' does not exist or is not executable. Make sure that the file exists and is executable and then rerun this script. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. System: FreeBSD 6.3-RELEASE-p2 i386 Last edited by KernelPanic; 16th June 2008 at 04:15 PM. |
|
||||
![]() Code:
# portmaster php5-pcre [...] ===>>> The following actions were performed: Upgrade of libtool-1.5.24 to libtool-1.5.26 Upgrade of gettext-0.16.1_3 to gettext-0.17_1 Upgrade of gmake-3.81_2 to gmake-3.81_3 Upgrade of pkg-config-0.22_1 to pkg-config-0.23_1 Upgrade of libxml2-2.6.31 to libxml2-2.6.32 Upgrade of php5-5.2.5_1 to php5-5.2.6 Upgrade of php5-pcre-5.2.5_1 to php5-pcre-5.2.6
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
|
|||
![]() Quote:
It looks like this section of the lang/php5/Makefile is failing: pre-configure: @${CAT} ${WRKSRC}/acinclude.m4 ${WRKSRC}/build/libtool.m4 > ${WRKSRC}/aclocal.m4 acinclude.m4, libtool.m4 and shtool are nowhere to be found in my work directory. I extracted the source ball into /root/php-5.2.6 started copying files over that 'make' complained were missing: acinclude.m4 build/libtool.m4 build/shtool config.sub Makefile.global At this point it appears the configure part works. But then libtool doesn't seem to be functioning properly: Code:
===> Building for php5-pcre-5.2.6 /bin/sh /usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/libtool --mode=compile cc -I/usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/pcrelib/pcre_chartables.c -o pcrelib/pcre_chartables.lo /usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/libtool: Can't open /usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre/libtool: No such file or directory *** Error code 2 Stop in /usr/ports/devel/php5-pcre/work/php-5.2.6/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. ![]() Last edited by KernelPanic; 16th June 2008 at 06:35 PM. |
|
|||
![]()
I found out what was going crazy:
My /bin/cp binary had become corrupted. As a result, any copy with the target left unimplied (i.e. copy /usr/some/file.txt /usr/someplace/else/) was failing. Everything builds correclt. Although now I have an apparently bigger issue to deal with on this box. ![]() Last edited by KernelPanic; 16th June 2008 at 09:00 PM. |
|
||||
![]()
What a strange issue ... Are you sure it's just cp?
And what are the "bigger issues" you are referring to?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
![]()
Finding out what dorked up cp. I just did a complete make world/kernel on this box five days ago and suddenly the cp binary on this one doesn't match up with the cp on three other nearly identical boxes.
As soon as I replaced the binary both php5-pcre and php5-mysql upgraded without a hitch. |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with latest php5 from ports | clevershark | FreeBSD Ports and Packages | 1 | 22nd July 2009 07:38 PM |
fbsd 7.2 and php5 | baraboom | FreeBSD Ports and Packages | 2 | 9th July 2009 08:33 PM |
apache2.2+PHP5 | edvinus | OpenBSD Packages and Ports | 1 | 29th June 2009 08:13 PM |
openbsd4.3 - problem compile php5 | blackyzero | OpenBSD General | 3 | 27th May 2008 06:24 PM |
Problem installing PHP5 | DrKrall | OpenBSD Packages and Ports | 8 | 23rd May 2008 12:10 AM |