Failed to configure?
| From: | Yves Goergen | Date: | Sat, 02 Nov 2002 16:30:43 +0000 |
| Subject: | Failed to configure? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9005@lists.php.net to get a copy of this message | ||
Hello,
I don't know whether I have a problem or not... './configure' said
"something is likely to be messed up here". That's what I believe, too. I
have installed some libraries now and don't know at all where they're gone!
Well, I simply wanted to install the latest PHP on my linux system, together
with GD, OpenSSL and some other things. I gave up with OpenSSL because the
configure script didn't seem to know what I want. Also JPEG lib doesn't seem
to work here. This is the debug.log file I should send to this mailing list:
-----------------------------
CONFIGURE: './configure' '--with-mysql'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-zlib' '--with-gd'
'--with-png-dir=/usr/local/lib' '--with-ttf=/usr/local/lib'
'--enable-ftp'
'--enable-calendar' '--enable-trans-sid' '--enable-bcmath'
'--enable-gd-imgstrttf'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend -I/usr/loca
l/include -I/include -I/usr/local/bin/php4-latest/ext/mysql/libmysql
LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib
LIBS: -lgd -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lc
rypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/lib
uname -a: Linux vmy-lin 2.4.19-16mdk #1 Fri Sep 20 18:15:05 CEST 2002 i686
unknown unknown GNU/Linux
gcc -o
conftest -g -O2 -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -
Wl,-rpath,/usr/local/lib -L/usr/local/lib
conftest.c -lgd -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcr
ypt 1>&5
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Init_FreeType'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Load_Glyph'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Done_Face'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Get_Kerning'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Get_Char_Index'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Get_Glyph'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Glyph_To_Bitmap'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Done_FreeType'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Set_Char_Size'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Set_Transform'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Done_Glyph'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_Glyph_Get_CBox'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgd.so: undefined
reference to `FT_New_Face'
collect2: ld returned 1 exit status
-----------------------------
I don't even know what's the problem in here so maybe you can help me out...
I'm quite new to Linux. Apache and PHP 4.2.3 standard setup worked fine. Now
I tried to rebuild my webhoster's configuration... Well. Running this on
Windows 95 is so much easier!!
TIA
··· yves at unclassified.de