/ Forside / Teknologi / Udvikling / PHP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
PHP
#NavnPoint
rfh 3959
natmaden 3372
poul_from 3310
funbreak 2700
stone47 2230
Jin2k 1960
Angband 1743
Bjerner 1249
refi 1185
10  Interkril.. 1146
build php --with-gd
Fra : John K. Jensen


Dato : 05-04-02 19:57

Hej

Nogen som har prøvet at compile php med gd?


../configure --with-mysql --with-apache=../apache_1.3.24/ --enable-tarck-vars
--with-gd=/usr/src/gd-1.8.4/ --with-jpeg-dir=/usr/src/jpeg-6b/ --with-png-d
ir=/usr/src/libpng-1.2.1/

giver følgende output i config.log:

configure:19310: checking whether to include GD support
configure:19508: checking whether to enable truetype string function in gd
configure:19561: checking for the location of libjpeg
configure:19610: checking for jpeg_read_header in -ljpeg
configure:19631: gcc -o conftest -g -O2 conftest.c -ljpeg
-L/lib
-lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
configure: failed program was:
#line 19620 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }



 
 
Jonas Koch Bentzen (05-04-2002)
Kommentar
Fra : Jonas Koch Bentzen


Dato : 05-04-02 20:15

John K. Jensen skrev:

> /usr/bin/ld: cannot find -ljpeg

Installer libjpeg.

--
Jonas Koch Bentzen

PHP-databaseklasse til PostgreSQL og MySQL:
http://understroem.dk/fasdab/

John K. Jensen (06-04-2002)
Kommentar
Fra : John K. Jensen


Dato : 06-04-02 11:11

Jonas Koch Bentzen wrote in message news:a8kt2p$74m$1@sunsite.dk...
> John K. Jensen skrev:
>
> > /usr/bin/ld: cannot find -ljpeg
>
> Installer libjpeg.
>
--with-jpeg-dir=/usr/src/jpeg-6b/ <-- det burde være det



Søg
Reklame
Statistik
Spørgsmål : 177506
Tips : 31968
Nyheder : 719565
Indlæg : 6408558
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste