Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 14:48:48 -0500
From:      "Andrew G. Russell IV" <arussell@bifrost.agrknives.com>
To:        freebsd-ports@freebsd.org
Subject:   php4 port appears to be broken
Message-ID:  <20021008144848.C36392@bifrost.agrknives.com>

next in thread | raw e-mail | index | archive | help
I have sent email to dirk@FreeBSD.org, and I've had a couple of suggestions
from the folks on the stable list.  No joy.

The config.log from the second run is availible with
fetch http://www.hos.net/FreeBSD/config.log

I have stripped the machine and rebuilt it.


Fresh cvsup at approx: Tue Oct 8 02:00 CDT 2002 of both ports and src

cd /usr/src
make buildworld
make buildkernel KERNCONF=THOR
make installkernel KERNCONF=THOR
sync;sync;sync
shutdown -r now
cd /usr/src
make installworld
mergemaster
sync;sync;sync
shutdown -r now

FreeBSD thor.hos.net 4.7-RC FreeBSD 4.7-RC #9: Tue Oct  8 03:15:08 CDT 2002     arussell@thor.hos.net:/usr/obj/usr/src/sys/THOR  i386
pkg_info: no packages installed

cd /usr/ports
find . -name work -print
#Tree structure is clean
cd /usr/ports/lang/php4
umask 0002
make all install
zlib, bzip2, pdflib, mysql, xml, ftp, curl, gettext, iconv, pspell, mcve, sockets   are all selected.
OK
configure: error: Cannot find header files under /usr/local
===>  Script "configure" failed unexpectedly.
      Please report the problem to dirk@FreeBSD.org [maintainer] and attach the
      "/usr/ports/lang/php4/work/php-4.2.3/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/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.

> ls -ail /usr/local/include
total 102
64899 drwxr-xr-x   4 root  wheel    512 Oct  8 13:48 .
64896 drwxr-xr-x  13 root  wheel    512 Oct  7 22:51 ..
66515 -r--r--r--   1 root  wheel  21174 Oct  8 13:47 aspell.h
65979 drwxrwxr-x   2 root  wheel    512 Oct  8 13:40 curl
66088 -r--r--r--   1 root  wheel  35616 Oct  8 13:41 expat.h
66101 -r--r--r--   1 root  wheel   4483 Oct  8 13:42 iconv.h
66094 -r--r--r--   1 root  wheel   1385 Oct  8 13:42 libcharset.h
66139 -r--r--r--   1 root  wheel  10477 Oct  8 13:43 libintl.h
66085 -r--r--r--   1 root  wheel   3353 Oct  8 13:41 ltdl.h
66617 -r--r--r--   1 root  wheel  10911 Oct  8 13:48 mcve.h
66516 drwxrwxr-x   2 root  wheel    512 Oct  8 13:47 pspell

clearing out ports tree, cd /usr/ports/lang/php4;make clean
removing all packages. pkg_delete `pkg_info|cut -d" " -f1`
> pkg_info
pkg_info: no packages installed
umask 0022
make all install
zlib, bzip2, pdflib, mysql, xml, ftp, curl, gettext, iconv, pspell, mcve, sockets   are all selected.
OK

checking base type of last arg to accept... socklen_t
checking return type of qsort... void
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
===>  Script "configure" failed unexpectedly.
      Please report the problem to dirk@FreeBSD.org [maintainer] and attach the
      "/usr/ports/lang/php4/work/php-4.2.3/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/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.

cd /usr/local/lib
ln -s mysql/libmysqlclient.so.10 libmysqlclient.so.10      
ln -s mysql/libmysqlclient.so.10 libmysqlclient.so
ln -s mysql/libmysqlclient.a libmysqlclient.a
> ls -ail|grep sql
66917 lrwxr-xr-x   1 root  wheel       22 Oct  8 14:17 libmysqlclient.a -> mysql/libmysqlclient.a
66789 lrwxr-xr-x   1 root  wheel       26 Oct  8 14:17 libmysqlclient.so -> mysql/libmysqlclient.so.10
66507 lrwxr-xr-x   1 root  wheel       26 Oct  8 14:17 libmysqlclient.so.10 -> mysql/libmysqlclient.so.10
66386 drwxr-xr-x   2 root  wheel      512 Oct  8 14:07 mysql
> ls -ail mysql
total 318
66386 drwxr-xr-x  2 root  wheel     512 Oct  8 14:07 .
64960 drwxr-xr-x  4 root  wheel    1536 Oct  8 14:17 ..
66392 -rw-r--r--  1 root  wheel  188040 Oct  8 14:07 libmysqlclient.a
66388 lrwxr-xr-x  1 root  wheel      20 Oct  8 14:07 libmysqlclient.so -> libmysqlclient.so.10
66387 -rwxr-xr-x  1 root  wheel  132090 Oct  8 14:07 libmysqlclient.so.10

ldconfig -R
cd /usr/ports/lang/php4
make all install

checking base type of last arg to accept... socklen_t
checking return type of qsort... void
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
===>  Script "configure" failed unexpectedly.
      Please report the problem to dirk@FreeBSD.org [maintainer] and attach the
      "/usr/ports/lang/php4/work/php-4.2.3/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/lang/php4.
*** Error code 1

Stop in /usr/ports/lang/php4.


-- 
_______________________________________________________________________________
A.G. Russell IV  KC5KFD    The Knife Company   e-mail:  ag4@theknifecompany.com
Phone 479-631-0055                                             FAX 479-631-8734
Old Klingon Saying --  'oH  majQa' yIn je bang, Qo' bang
-------------------------------------------------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021008144848.C36392>