ID: 11707
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Compile Failure
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
And do not export those LIBS / LDFLAGS. The configure
does it itself.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-27 09:03:16] [EMAIL PROTECTED]
'rm config.cache ; ./configure <with your options> ; make clean ; make'
---------------------------------------------------------------------------
[2001-06-26 14:54:27] [EMAIL PROTECTED]
here is my setup:
export LIBS="-lm -lc -lintl -lX11" &&
export LDFLAGS="-Wl,-export-dynamic
-Wl,-R/usr/lib -L/usr/lib
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-Wl,-R/usr/local/lib -L/usr/local/lib
-Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib"
./configure
--with-apxs
--disable-pear
--with-gd=/usr/pkg
--with-png-dir=/usr/pkg
--with-jpeg-dir=/usr/pkg
--with-freetype-dir=/usr/pkg
--with-xpm-dir=/usr/X11R6
--with-sablot=/usr/local
--with-expat-dir=/usr/local
--with-iconv=/usr/pkg
--with-pgsql=/usr/local
--with-mysql=/usr/local
--enable-libgcc
--with-gnu-ld
--with-zlib
--with-system-regex
--with-config-file-path=/usr/local/etc
--enable-track-vars
--enable-force-cgi-redirect
--enable-discard-path
--enable-memory-limit
--enable-sysvsem
--enable-sysvshm
--enable-sockets
--with-ttf=/usr/pkg
--enable-freetype-4bit-antialias-hack
---------------------------------------------------------------------------
[2001-06-26 14:51:38] [EMAIL PROTECTED]
when building php-cvs as a dso for apache, things go fine. however, if just remove the
"--with-apxs" setting to compile it as a cgi, then about midway through, i get errors
about somefile.lo isn't a libtool type. i did start from scratch when building the dso
and cgi.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11707&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]