I'm trying to get gd support so I've been trying to recomile
php. The following are the flags I'm using, which configures fine, but
dies in make.
../configure --with-gd=/var/www/gd-2.0.33 --with-zlib-dir=/usr/lib
--enable-gd-native-ttf --enable-gd-imgstrttf
--with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib
Here's the the death.
ext/gd/gd.o(.text+0x12e8): In function `zif_imagecolormatch':
/var/www/php-5.0.3/ext/gd/gd.c:902: undefined reference to `gdImageCol
orMatch'
ext/gd/gd.o(.text+0x2d86): In function `zif_imagerotate':
/var/www/php-5.0.3/ext/gd/gd.c:1215: undefined reference to `gdImageRo
tate'
ext/gd/gd.o(.text+0x3344): In function `zif_imagecreatefromstring':
/var/www/php-5.0.3/ext/gd/gd.c:1435: undefined reference to `gdImageCr
eateFromPngCtx'
ext/gd/gd.o(.text+0x36ef): In function `zif_imagecreatefrompng':
/var/www/php-5.0.3/ext/gd/gd.c:1621: undefined reference to `gdImageCr
eateFromPngCtx'
ext/gd/gd.o(.text+0x36f4):/var/www/php-5.0.3/ext/gd/gd.c:1621: undefin
ed reference to `gdImageCreateFromPng'
ext/gd/gd.o(.text+0x3e3f): In function `zif_imagexbm':
/var/www/php-5.0.3/ext/gd/gd.c:1839: undefined reference to `gdImageXb
mCtx'
ext/gd/gd.o(.text+0x3e8f): In function `zif_imagepng':
/var/www/php-5.0.3/ext/gd/gd.c:1864: undefined reference to `gdImagePn
gCtx'
ext/gd/gd.o(.text+0x5ac5): In function `zif_imageline':
/var/www/php-5.0.3/ext/gd/gd.c:2307: undefined reference to `gdImageAA
Line'
ext/gd/gd.o(.text+0x6bbc): In function `zif_imageellipse':
/var/www/php-5.0.3/ext/gd/gd.c:2446: undefined reference to `gdImageEl
lipse'
ext/gd/gd.o(.text+0x984c): In function `zif_png2wbmp':
/var/www/php-5.0.3/ext/gd/gd.c:3884: undefined reference to `gdImageCr
eateFromPng'
ext/gd/gd.o(.text+0x9b23): In function `php_image_filter_negate':
/var/www/php-5.0.3/ext/gd/gd.c:4004: undefined reference to `gdImageNe
gate'
ext/gd/gd.o(.text+0x9b93): In function `php_image_filter_grayscale':
/var/www/php-5.0.3/ext/gd/gd.c:4015: undefined reference to `gdImageGr
ayScale'
ext/gd/gd.o(.text+0x9c13): In function `php_image_filter_brightness':
/var/www/php-5.0.3/ext/gd/gd.c:4038: undefined reference to `gdImageBr
ightness'
ext/gd/gd.o(.text+0x9c96): In function `php_image_filter_contrast':
/var/www/php-5.0.3/ext/gd/gd.c:4061: undefined reference to `gdImageCo
ntrast'
ext/gd/gd.o(.text+0x9d1e): In function `php_image_filter_colorize':
/var/www/php-5.0.3/ext/gd/gd.c:4084: undefined reference to `gdImageCo
lor'
ext/gd/gd.o(.text+0x9d8b): In function `php_image_filter_edgedetect':
/var/www/php-5.0.3/ext/gd/gd.c:4095: undefined reference to `gdImageEd
geDetectQuick'
ext/gd/gd.o(.text+0x9dfb): In function `php_image_filter_emboss':
/var/www/php-5.0.3/ext/gd/gd.c:4106: undefined reference to `gdImageEm
boss'
ext/gd/gd.o(.text+0x9e6b): In function `php_image_filter_gaussian_blur
':
/var/www/php-5.0.3/ext/gd/gd.c:4117: undefined reference to `gdImageGa
ussianBlur'
ext/gd/gd.o(.text+0x9edb): In function `php_image_filter_selective_blu
r':
/var/www/php-5.0.3/ext/gd/gd.c:4128: undefined reference to `gdImageSe
lectiveBlur'
ext/gd/gd.o(.text+0x9f4b): In function `php_image_filter_mean_removal'
:
/var/www/php-5.0.3/ext/gd/gd.c:4139: undefined reference to `gdImageMe
anRemoval'
ext/gd/gd.o(.text+0x9fd4): In function `php_image_filter_smooth':
/var/www/php-5.0.3/ext/gd/gd.c:4163: undefined reference to `gdImageSm
ooth'
ext/gd/gd.o(.text+0xa14d): In function `zif_imageantialias':
/var/www/php-5.0.3/ext/gd/gd.c:4218: undefined reference to `gdImageAn
tialias'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1 4 3510
Try stripping the lib off the paths:
../configure \
--with-gd=/var/www/gd-2.0.33 \
--with-zlib-dir\
--enable-gd-native-ttf\
--enable-gd-imgstrttf\
--with-png-dir=/usr/local\
--with-jpeg-dir=/usr/local
--with-gd should point to whatever your PREFIX was set to when you compiled
GD, which by default is /usr/local
Best regards,
Peter Albertsson
"Mark P." <de****@delete.perltng.com> wrote in message
news:42****************@newsgroups.comcast.net... I'm trying to get gd support so I've been trying to recomile php. The following are the flags I'm using, which configures fine, but dies in make.
./configure --with-gd=/var/www/gd-2.0.33 --with-zlib-dir=/usr/lib --enable-gd-native-ttf --enable-gd-imgstrttf --with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib
Here's the the death.
ext/gd/gd.o(.text+0x12e8): In function `zif_imagecolormatch': /var/www/php-5.0.3/ext/gd/gd.c:902: undefined reference to `gdImageCol orMatch' ext/gd/gd.o(.text+0x2d86): In function `zif_imagerotate': /var/www/php-5.0.3/ext/gd/gd.c:1215: undefined reference to `gdImageRo tate' ext/gd/gd.o(.text+0x3344): In function `zif_imagecreatefromstring': /var/www/php-5.0.3/ext/gd/gd.c:1435: undefined reference to `gdImageCr eateFromPngCtx' ext/gd/gd.o(.text+0x36ef): In function `zif_imagecreatefrompng': /var/www/php-5.0.3/ext/gd/gd.c:1621: undefined reference to `gdImageCr eateFromPngCtx' ext/gd/gd.o(.text+0x36f4):/var/www/php-5.0.3/ext/gd/gd.c:1621: undefin ed reference to `gdImageCreateFromPng' ext/gd/gd.o(.text+0x3e3f): In function `zif_imagexbm': /var/www/php-5.0.3/ext/gd/gd.c:1839: undefined reference to `gdImageXb mCtx' ext/gd/gd.o(.text+0x3e8f): In function `zif_imagepng': /var/www/php-5.0.3/ext/gd/gd.c:1864: undefined reference to `gdImagePn gCtx' ext/gd/gd.o(.text+0x5ac5): In function `zif_imageline': /var/www/php-5.0.3/ext/gd/gd.c:2307: undefined reference to `gdImageAA Line' ext/gd/gd.o(.text+0x6bbc): In function `zif_imageellipse': /var/www/php-5.0.3/ext/gd/gd.c:2446: undefined reference to `gdImageEl lipse' ext/gd/gd.o(.text+0x984c): In function `zif_png2wbmp': /var/www/php-5.0.3/ext/gd/gd.c:3884: undefined reference to `gdImageCr eateFromPng' ext/gd/gd.o(.text+0x9b23): In function `php_image_filter_negate': /var/www/php-5.0.3/ext/gd/gd.c:4004: undefined reference to `gdImageNe gate' ext/gd/gd.o(.text+0x9b93): In function `php_image_filter_grayscale': /var/www/php-5.0.3/ext/gd/gd.c:4015: undefined reference to `gdImageGr ayScale' ext/gd/gd.o(.text+0x9c13): In function `php_image_filter_brightness': /var/www/php-5.0.3/ext/gd/gd.c:4038: undefined reference to `gdImageBr ightness' ext/gd/gd.o(.text+0x9c96): In function `php_image_filter_contrast': /var/www/php-5.0.3/ext/gd/gd.c:4061: undefined reference to `gdImageCo ntrast' ext/gd/gd.o(.text+0x9d1e): In function `php_image_filter_colorize': /var/www/php-5.0.3/ext/gd/gd.c:4084: undefined reference to `gdImageCo lor' ext/gd/gd.o(.text+0x9d8b): In function `php_image_filter_edgedetect': /var/www/php-5.0.3/ext/gd/gd.c:4095: undefined reference to `gdImageEd geDetectQuick' ext/gd/gd.o(.text+0x9dfb): In function `php_image_filter_emboss': /var/www/php-5.0.3/ext/gd/gd.c:4106: undefined reference to `gdImageEm boss' ext/gd/gd.o(.text+0x9e6b): In function `php_image_filter_gaussian_blur ': /var/www/php-5.0.3/ext/gd/gd.c:4117: undefined reference to `gdImageGa ussianBlur' ext/gd/gd.o(.text+0x9edb): In function `php_image_filter_selective_blu r': /var/www/php-5.0.3/ext/gd/gd.c:4128: undefined reference to `gdImageSe lectiveBlur' ext/gd/gd.o(.text+0x9f4b): In function `php_image_filter_mean_removal' : /var/www/php-5.0.3/ext/gd/gd.c:4139: undefined reference to `gdImageMe anRemoval' ext/gd/gd.o(.text+0x9fd4): In function `php_image_filter_smooth': /var/www/php-5.0.3/ext/gd/gd.c:4163: undefined reference to `gdImageSm ooth' ext/gd/gd.o(.text+0xa14d): In function `zif_imageantialias': /var/www/php-5.0.3/ext/gd/gd.c:4218: undefined reference to `gdImageAn tialias' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1
On Tue, 22 Mar 2005 17:47:15 GMT, "Peter Albertsson"
<Pe***********************@antispOm.comhem.se> wrote: Try stripping the lib off the paths:
./configure \ --with-gd=/var/www/gd-2.0.33 \ --with-zlib-dir\ --enable-gd-native-ttf\ --enable-gd-imgstrttf\ --with-png-dir=/usr/local\ --with-jpeg-dir=/usr/local
--with-gd should point to whatever your PREFIX was set to when you compiled GD, which by default is /usr/local
When I don't include the paths it compiles without gd. BTW,
this is php-5.0.3 if that makes a difference.
Have you tried compiling against the gd, png, and jpeg libraries that comes
with your linux distribution? You will need the lib*-devel packages
installed too.
Regards,
Peter
"Mark P." <de****@delete.perltng.com> wrote in message
news:42****************@newsgroups.comcast.net... On Tue, 22 Mar 2005 17:47:15 GMT, "Peter Albertsson" <Pe***********************@antispOm.comhem.se> wrote:
Try stripping the lib off the paths:
./configure \ --with-gd=/var/www/gd-2.0.33 \ --with-zlib-dir\ --enable-gd-native-ttf\ --enable-gd-imgstrttf\ --with-png-dir=/usr/local\ --with-jpeg-dir=/usr/local
--with-gd should point to whatever your PREFIX was set to when you compiled GD, which by default is /usr/local
When I don't include the paths it compiles without gd. BTW, this is php-5.0.3 if that makes a difference.
On Tue, 22 Mar 2005 23:40:42 GMT, "Peter Albertsson"
<Pe***********************@antispOm.comhem.se> wrote: Have you tried compiling against the gd, png, and jpeg libraries that comes with your linux distribution? You will need the lib*-devel packages installed too.
Found a package that solved the problem with yum. The package
name is php-gd.i386, and it worked like a charm.
Mark Porter
"I spread this teaching because I too heard thus"
Try the new refined search feature on 175 Gosho at http://hokkeko.us This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: RJS |
last post by:
Hi all,
I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32-
py2.2).
Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222.
In the sample below, commenting out...
|
by: Chris Hadley |
last post by:
I am installing Python 2.3.2 on AIX 4.3.3
I get to the point where I'm ready to "make install" and I get an
error, with no idea how to get around it.
Here's the tail end of the output:
...
|
by: Zdenda |
last post by:
Hi, i have RH9 and i need python 2.3. I executed tgz file and typed ./configue.
Then i type make. It is without problem. When I type make install ...
....
....
Compiling...
|
by: Nikola Milutinovic |
last post by:
Hi all.
I'm not subscribed to the list, so all replies to me mail directly.
I ran into a small problem, for which we have found a workaround. I was compiling PostgreSQL v7.4.1 and it's...
|
by: Club-B42 |
last post by:
i've compiled my programm using command "python setup.py py2exe >1"
python script works fine, but .exe version fails with
=====================================================================...
|
by: David++ |
last post by:
Hi there,
I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for
the debug version of the DLL (and this DLL works fine), however, I seem
unable to build a Release version of...
|
by: kamaraj80 |
last post by:
Hi
I am using the std:: map as following.
typedef struct _SeatRowCols
{
long nSeatRow;
unsigned char ucSeatLetter;
}SeatRowCols;
typedef struct _NetData
|
by: Tio |
last post by:
I have project in MFC(vc++) . There are files and classes:
classes:dialog1,dialog2,aaa,bbb
----------------------
main.cpp
---------------------
#include "mainfrm.h"
#include "dialog1.h"...
|
by: Sebastian Bassi |
last post by:
I was trying to install Python 2.5 compiling from sources. I used:
../compile
It run OK.
Then:
make altintall
After a lot of output, got this:
Listing /usr/local/lib/python2.5/xml/sax ......
|
by: Rene |
last post by:
Hello to all!
For a long time I have been "fighting" a problem compiling an OpenGL
program which uses GLUT. First I have put a question in a Watcom group
(I want to use this compiler) to which I...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |