Date: Fri, 27 Oct 2006 10:54:11 +0400 From: Starikov Sergey <starikov@caotus.ru> To: ale@freebsd.org Cc: ports@freebsd.org Subject: FreeBSD Port: php5-bz2-5.1.6_2, 6.1 RELEASE compile bug-report Message-ID: <4541AD13.20704@caotus.ru>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------000701000207060207000109 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Hello, I had some troubles with compiling php5 port on FreeBSD 6.1 RELEASE. Though I've compiled not typical configuration (without MySQL but with Oracle client support). The first problem was in linking with posix phreads. This problem was sold by setting environment variable LDFLAGS value "-lpthread" The second problem was also with linking a function cuserid from oracle library. According to manual the compatibility with this function is provided by libcompat library. The flag "-lcompat" in linking string was present. But it don't work. Followed analysing of the configure script showed, that the support of cuserid function in the systen wasn't found. There also was found the source code of test program, which compiling and showed the role of sequence of arguments/options. The problem was finally sold by setting environment variable LDFLAGS value "-lpthread -L/usr/local/oracle8-client/lib -lclntst8 -lcompat -lm" The php5 port in required configuration compiles successfully. I'm not shure, that it's right way, but it works! I think, the root of both problems is in that GCC-3.4.4 is too critical to the sequence of options and arguments. P.S. Excuse me my English. --------------000701000207060207000109--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4541AD13.20704>