Re: Fwd: php extensions compile error

2005-09-09 Thread Vizion
I also posted the following to freebsd-questions which has some relevance to 
this thread - but I was uncertain about posting my earlier full report t that 
list. 

--  Forwarded Message  --

Subject: libmagic files missing??
Date: Friday 09 September 2005 15:46
From: Vizion <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org

Hi

Here is the listing of:
/usr/src/lib/libmagic
dns1# ls -l
total 1276
-rw-r--r--  1 root  wheel 1619 Dec 16  2004 Makefile
-r--r--r--  1 root  wheel 3859 Apr  2 22:28 Makefile,v
-rw-r--r--  1 root  wheel 5783 Aug  9  2004 config.h
-r--r--r--  1 root  wheel 6277 Apr  2 22:28 config.h,v
-rw-r--r--  1 root  wheel  1236221 Sep  9 15:34 magic
-rwxr-xr-x  1 root  wheel22879 Sep  9 15:34 mkmagic

I am getting compile problems over libmagic and am wondering how I can be
certain that all libmagic files are on the system.

dns1# pwd
/usr/share/misc
dns1# ls -l | grep magic
-r--r--r--  1 root  wheel   360801 Nov  4  2004 magic
-r--r--r--  1 root  wheel   771456 Nov  4  2004 magic.mgc
-r--r--r--  1 root  wheel30231 Nov  4  2004 magic.mime
-r--r--r--  1 root  wheel41728 Nov  4  2004 magic.mime.mgc

/usr/ports/lang/php5-extensions compile reporting it cannot find libmagic

Can anyone please  point a fingure in the right direction

thanks

david

--
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

---

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Fwd: php extensions compile error

2005-09-09 Thread Vizion


--  Forwarded Message  --

Subject: php extensions compile error
Date: Friday 09 September 2005 12:21
From: Vizion <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: Kevin Kinsey <[EMAIL PROTECTED]>

Compile error

/usr/ports/lang/php5-extensions
*
dns1# make
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for php5-extensions-1.0
===>  Extracting for php5-extensions-1.0
===>  Patching for php5-extensions-1.0
===>  Configuring for php5-extensions-1.0
dns1# make
dns1# make install
===>  Installing for php5-extensions-1.0
.
/* much cut out */
.
=> Checksum OK for PECL/Fileinfo-1.0.tgz.
===>  Patching for pecl-fileinfo-1.0
===>  Applying FreeBSD patches for pecl-fileinfo-1.0
===>   Ignoring
patchfile /usr/ports/sysutils/pecl-fileinfo/files/patch-config.m4,v
===>   pecl-fileinfo-1.0 depends on executable: phpize - found
===>   pecl-fileinfo-1.0 depends on file: /usr/local/bin/autoconf259 - found
===>  PHPizing for pecl-fileinfo-1.0
Configuring for:
PHP Api Version: 20031224
Zend Module Api No:  20041030
Zend Extension Api No:   220040412
===>  Configuring for pecl-fileinfo-1.0
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.3
checking host system type... i386-portbld-freebsd5.3
checking for i386-portbld-freebsd5.3-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend
checking for PHP extension directory... /usr/local/lib/php/20041030
checking for re2c... exit 0;
checking for gawk... gawk
checking for fileinfo support... yes, shared
checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-1.0/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/sysutils/pecl-fileinfo.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
/*OUTPUT OF
/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-1.0/config.log */

***
dns1# locate libmagic
/usr/lib/libmagic.a
/usr/lib/libmagic.so
/usr/lib/libmagic.so.1
/usr/lib/libmagic_p.a
/usr/share/man/cat3/libmagic.3.gz
/usr/share/man/man3/libmagic.3.gz
/usr/src/contrib/file/libmagic.man
/usr/src/contrib/file/libmagic.man,v
/usr/src/lib/libmagic
/usr/src/lib/libmagic/Makefile
/usr/src/lib/libmagic/Makefile,v
/usr/src/lib/libmagic/config.h
/usr/src/lib/libmagic/config.h,v
**

dns1# cat /usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-1.0/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --with-fileinfo=/usr --prefix=/usr/local
i386-portbld-freebsd5.3

## - ##
## Platform. ##
## - ##

hostname = dns1.vizion2000.net
uname -m = i386
uname -r = 5.3-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/local/libexec/autoconf259
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## --- ##
## Core tests. ##
## --- ##

configure:1499: checking build system type
configure:1517: result: i386-portbld-freebsd5.3
configure:1525: checking host system type
configure:1539: result: i386-portbld-freebsd5.3
configure:1601: checking for i386-portbld-freebsd5.3-gcc
configure:1627: result: cc
configure:1909: checking for C compiler version
configure:1912: cc --version &5
cc (GCC) 3.4.2 [FreeBSD] 20040728
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying condition