f



freebsd-5.2.1+ php-4.3.9 + gd-2.0.33

Hello there,
I am tryin to compile PHP with GD support under FreeBSD-5.2.1:

# cd php-4.3.11
# ./configure \
--with-gd=/usr/local/src/gd-2.0.33/ \
--with-png-dir=/usr/local/src/libpng-1.2.8/ \
--with-zlib-dir=/usr/local/src/zlib/ \
--with-jpeg-dir=/usr/local/src/jpeg-6b/

....
checking for GD support... yes
checking for the location of libpng... /usr/local/src/libpng-1.2.8/
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.

why libpng.(a|so) not found ?

# ls -l /usr/local/src/libpng-1.2.8/libpng.a
-rw-r--r--  1 root  wheel  160448 May 31 12:48
/usr/local/src/libpng-1.2.8/libpng.a

What is my mistake? Where to read about correct way to install php
+ gd + libjpeg + libpng ?

0
Encapsulin
5/31/2005 1:16:35 PM
comp.unix.bsd.freebsd.misc 13187 articles. 1 followers. Post Follow

1 Replies
828 Views

Similar Articles

[PageSpeed] 55

Encapsulin wrote:
> Hello there,
> I am tryin to compile PHP with GD support under FreeBSD-5.2.1:
> 
> # cd php-4.3.11
> # ./configure \
> --with-gd=/usr/local/src/gd-2.0.33/ \
> --with-png-dir=/usr/local/src/libpng-1.2.8/ \
> --with-zlib-dir=/usr/local/src/zlib/ \
> --with-jpeg-dir=/usr/local/src/jpeg-6b/
> 
> ...
> checking for GD support... yes
> checking for the location of libpng... /usr/local/src/libpng-1.2.8/
> If configure fails try --with-jpeg-dir=<DIR>
> configure: error: libpng.(a|so) not found.
> 
> why libpng.(a|so) not found ?
> 
> # ls -l /usr/local/src/libpng-1.2.8/libpng.a
> -rw-r--r--  1 root  wheel  160448 May 31 12:48
> /usr/local/src/libpng-1.2.8/libpng.a
> 
> What is my mistake? Where to read about correct way to install php
> + gd + libjpeg + libpng ?
> 

doesn't look like you have compiled your png and zlib and jpeg code! i 
think you need to compile those babies first and then provide the path 
of the compiled code to php for compilation.

i think you can read a lot of php related stuff and how to compile 
different sources into it at their site php.net

hope this helps.
0
lark
5/31/2005 4:26:15 PM
Reply:

Similar Artilces:

Changing (1,2,3,4,5...) to (1,1,2,2,3,3,4,4,5,5...)
Hi All, I have a column vector of numbers that I would like to extrapolate by "doubling up": e.g. turn 2 4 6 8 into: 2 2 4 4 6 6 8 8 any ideas on an easy vectorised way to do this? TIA, Rob v=repmat([2; 4; 6; 8].',2,1); v=v(:) "Robert Barrie" <askme@ifuwant.com> wrote in message <hlt7kp$rut$1@fred.mathworks.com>... > Hi All, > > I have a column vector of numbers that I would like to extrapolate by "doubling up": > > e.g. turn > 2 > 4 > 6 > 8 > > into: > 2 > 2 > 4 > 4 > 6 > 6 > 8 >...

if time = 3 seconds, how do i set the values of the time steps 0,0.1,0.2,0.3,0.5,1.0,1.5,2.0,3.0,5.0 to -9999 from time =3 seconds
Hi &nbsp; I have 18 inputs (arrays) which contain certain statistics and if time&nbsp;&nbsp;= 3 seconds, set the values of time step 5.0 to -9999.0. &nbsp; I was wondering if there is an efficient way to do this without using a lot of case statements? &nbsp; Thank you. Hello AdrianT, it's not really clear to me what you want to do... I suspect: you have an array containing values and you want to output them with a fixed timing of 3 seconds: you should use a for loop autoindexing trough your array and sending the value to your indicator/output/whatever. Put a "wa...

Load average differences between Apache 1.3.37/PHP 4.4.6 and Apache 2.2.4/PHP 5.2.1
Hi folks, I've encountered something rather strange. This morning, I upgraded our production server, providing web services for our library website, from Apache 1.3.37/PHP 4.4.6 to Apache 2.2.4/PHP 5.2.1. The server, which normally exhibits a load average below 1 most of the time, spiked to loads that approached 100 if left alone. The interesting part of this is that this load average seems to be almost artificial - it appears to be caused by httpd processes stuck in a "closing connection" state (TIME_WAIT, in netstat). These processes are still running according t...

Upgrade from VO 1 - 2 - 2..1 -2.2 - 2.3 -2.4 - 2.5 - 2.6 - 2.7
About upgrade 2.5 - 2.7 at $ 384.00 For most products I'm using - the updates (2.0 - 2.1 - 2.7) are free... 2.0 to 3.0 might be worth + 10-30% of the original price? VO is + full price again & again - Full program price for every minor upgrade/bug-fix? I dropped out of the money/bugs [VO] at 2.5 after starting at 1.0 more than 10 years ago. Certainly whoever is making VO have to make a living; earning moneys: - that is OK! A 10 years old VO site; - 10 years later, how much have changed? http://www.yi.com/prany/cavo/cavofront.htm Even MS is not ...

Trying to build PHP 4.3.0 with Apache 2.2.2 on SUSE 9.1
What a mix! Whilst I grep around for the first set of problems, I thought I'd ask any generous members of this PHP community for clues... I've started by trying out the instructions at: http://dan.drydog.com/apache2php.html Got this out of the make: ----------------------------------------------------------------------------------------------- /bin/sh libtool --silent --mode=compile gcc -Isapi/apache2filter/ -I/root/downloads/php-4.3.0/sapi/apache2filter/ -DPHP_ATOM_INC -I/root/downloads/php-4.3.0/include -I/root/downloads/php-4.3.0/main -I/root/downloads/php-4.3.0 -I/usr/local/Apa...

optimizer_features_enable difference between 9.2.0.1/9..2.0.3/9.2.0.6?
Hi, All, I noticed for this parameter optimizer_features_enable , oracle document says: Syntax OPTIMIZER_FEATURES_ENABLE = {8.0.0 | 8.0.3 | 8.0.4 | 8.0.5 | 8.0.6 | 8.0.7 | 8.1.0 | 8.1.3 | 8.1.4 | 8.1.5 | 8.1.6 | 8.1.7 | 9.0.0 | 9.0.1 | 9.2.0} I noticed when I keep it default to 9.2.0 in init.ora, in version 9.2.0.3 and 9.2.0.5 with exact same database and exact same init.ora, oracle CBO did choose different plan. So there is some difference between 9.2.0.X versioin for the CBO. Where can we get such information about the difference? Thanks On 12 Jul 2005 23:37:28 -0700, "ch...

ANN: ActivePython 2.6.2.2, 3.1.0b1.0, 2.5.4.4 is now available
I'm happy to announce that ActivePython 2.6.2.2, 3.1.0b1.0 and 2.5.4.4 are now available for download from: http://www.activestate.com/activepython/ This is a patch release that updates ActivePython to core Python 2.6.2 and 3.1b2. This release also contains updates to Tcl/Tk 8.5.7 and Tix 8.4.3. We recommend that you try 2.6 version first. See the release notes for full details: http://docs.activestate.com/activepython/2.6/relnotes.html What is ActivePython? --------------------- ActivePython is ActiveState's binary distribution of Python. Builds for W...

ANN: ActivePython 2.6.2.2, 3.1.0b1.0, 2.5.4.4 is now available
I'm happy to announce that ActivePython 2.6.2.2, 3.1.0b1.0 and 2.5.4.4 are now available for download from: http://www.activestate.com/activepython/ This is a patch release that updates ActivePython to core Python 2.6.2 and 3.1b2. This release also contains updates to Tcl/Tk 8.5.7 and Tix 8.4.3. We recommend that you try 2.6 version first. See the release notes for full details: http://docs.activestate.com/activepython/2.6/relnotes.html What is ActivePython? --------------------- ActivePython is ActiveState's binary distribution of Python. Builds for Windows, Mac OS X,...

Mcrypt problem on PHP 4.3.1 / FreeBSD 5.3 #2
Hi, I'm getting some strange errors that I cannot pin down: Warning: mcrypt_generic_init(): Iv size incorrect; supplied length: 7, needed: 8 in...... This is strange because the data is encrypted, inserted into the databse, then later retrieved and decrypted with the necessary hash and ivector keys. The data itself is decrypted OK. But the error comes up. The error does not occur when I run the same code on another machine running on Mac OS X. Is this a known bug on this FreeBSD build ? As this is for a production site, I'm just tempted to set the error_reporting directive in ph...

Oracle server 9.2.0.1.0, Client 9.2.0.4.0, Red Hat Linux enterprise advanced server 2.1
Hi Everybody, My Database server is running on Red Hat Linux enterprise advanced server 2.1, And my Oracle version is 9.2.0.1.0. My Client mechine also Red Hat Linux enterprise advanced server 2.1 , Oracle client version is 9.2.0.4.0. I am running a web application. Our application is in Magic edeveloper. I connect to Oracle using oracle gateway to my application. My Problem is my application is is becoming slow. I am not able to trace where the problem is. Before our application was running fine. recently i upgraded Oracle client version to 9.2.0.4.0. My Oracle client & server versi...

[wx 2.4.2/2.5.5, MacOS X 10.3.9, gcc 3.1] build failed: wcslen undeclared
Hello, I've been trying to build wxWidgets under MaxOS X 10.3.9 using Apple's developer tools (gcc etc.). I have tried both the 2.4.2 version and the 2.5.5, but the build fails during make with the same problem (I believe). For 2.4.2 I get: c++ -c -I./lib/wx/include/mac-2.4 -I./include -I./src/png -I./src/jpeg -I./src/tiff -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -no-cpp-precomp -fpascal-strings -I./src/mac/morefile -I/Developer/Headers/FlatCarbon -D__WXMAC__ -O2 -MMD -Wall -o accel.o ./src/mac/accel.cpp In file included from include/wx/string.h:62, ...

[0 0 1 1 2 2 3 3 4 4 ... n n]
Is there a way to achieve a vector like the one below without using loops? [0 0 1 1 2 2 3 3 4 4 ... n n] "Ulrik Nash" <uwn@sam.sdu.dk> wrote in message <kp999d$a8e$1@newscl01ah.mathworks.com>... > Is there a way to achieve a vector like the one below without using loops? > > [0 0 1 1 2 2 3 3 4 4 ... n n] You could try this: floor(0:1/rep:n+1-1/rep) where rep is the number of repetitions (2 in your case) Hi, a cool way to do that is using the kronecker product kron(0:n,[1 1]); "Ulrik Nash" <uwn@sam.sdu.dk> wrote in message <...

how can i write this statement labels=[1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;3;]; in compress fo
How to write it in compact form to avoid repetition "shah " <shahkhn3@gmail.com> wrote in message <lodugh$8hr$1@newscl01ah.mathworks.com>... > How to write it in compact form to avoid repetition You'll find in this thread different solutions for similar question http://www.mathworks.fr/matlabcentral/newsreader/view_thread/335814 Bruno ...

Printing 2^1, 2^2, 2^3, 2^4 and 2^5
Hi, When I use a while loop, the output is: 2 4 8 16 32, as desired: <?php $c=1; while($c<=5) { $d = newpow(2, $c); print "$d "; $c++; } function newpow($base, $power) { // statements... } ?> The But when I use a for loop, the output is: 64: <?php for($c=1; $c<=5; $c++); { $d = newpow(2, $c); print "$d "; } function newpow($base, $power) { // statements... } ?> Why is this?? Many thanks, Michael mejpark wrote: > When I use a while loop, the output is: 2 4 8 16 32, as desired: [...] > The But when I use a for loop, the output is: 64...

PHPBB2, PHP 4.3.4, MySQL 4.1.1, Apache 2.0.49, Fedora 2
My combination is: PHPBB2, PHP 4.3.4, MySQL 4.1.1, Apache 2.0.49, Fedora 2 Anyone out there has a successful combination of newer versions ? fr gr Erik ...

{{1,2,3},{4,5,6},...} --> {1,2,3,4,5,6,...} ?
What's a simple way to turn an "array of arrays" into one big array? Essentially I want to concatenate every member of a cell array. I was thinking something like this: feval(horzcat,deal(array)) But that doesn't seem to work. Is there a similar form that does? thanks, Tobin http://web.pas.rochester.edu/~tobin/ In article <Pine.GSO.4.64.0604051040090.34@apocalypse.OCF.Berkeley.EDU>, Tobin Fricke <fricke@ocf.berkeley.edu> wrote: > What's a simple way to turn an "array of arrays" into one big array? > > Essentially I want to conc...

Newbie question; why (cons (list 1 2) (list 3 4)) is ((1 2) 3 4) and not ((1 2) (3 4))
Hi, I just started to learn LISP, and stumbled in SICP upon (cons (list 1 2) (list 3 4)) is evaluated to ((1 2) 3 4) I do not understand why this is not: ((1 2) (3 4)) because (cdr (cons (list 1 2) (list 3 4))) is (3 4) and (car (cons (list 1 2) (list 3 4))) is (1 2) Is there a logical explanation? Thank you for your patience. -- Greg Out of order, gregor <gregor@ediwo.com> writes: > Is there a logical explanation? Yes. > I just started to learn LISP, and stumbled in SICP...

Problem running bind 9.2.3, bind 9.2.4rc2 and bind 9.3.0beta2 on bsd/os 5.1
named.run gives me: 16-Apr-2004 17:35:17.656 starting BIND 9.3.0beta2 -d 9 -n 2 16-Apr-2004 17:35:17.668 found 1 CPU, using 2 worker threads 16-Apr-2004 17:35:17.679 loading configuration from '/etc/named.conf' 16-Apr-2004 17:35:17.705 set maximum stack size to 67108864: success 16-Apr-2004 17:35:17.706 set maximum data size to 1073741824: success 16-Apr-2004 17:35:17.706 set maximum core size to 0: success 16-Apr-2004 17:35:17.706 set maximum open files to 128: success 16-Apr-2004 17:35:17.719 listening on IPv4 interface lo0, 127.0.0.1#53 16-Apr-2004 17:35:17.720 clientmgr @0x8189b40: create 16-Apr-2004 17:35:17.721 clientmgr @0x8189b40: createclients 16-Apr-2004 17:35:17.721 clientmgr @0x8189b40: create new 16-Apr-2004 17:35:17.721 client @0x8195000: create 16-Apr-2004 17:35:18.137 clientmgr @0x8189b40: create new 16-Apr-2004 17:35:18.138 client @0x8195800: create 16-Apr-2004 17:35:18.558 clientmgr @0x8189b40: createclients 16-Apr-2004 17:35:18.558 clientmgr @0x8189b40: create new 16-Apr-2004 17:35:18.558 client @0x8207000: create 16-Apr-2004 17:35:19.438 res 0x8318f00: create and rndc status gives me rndc: connect failed: connection refused Why? -- Member - Liberal International On 11 Sept 2001 the WORLD was violated. This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca Society MUST be saved! Extremists must dissolve. Time to see the eternal relegation of Man U, Liverpool, Everton and Millwall ...

convert String "1;2;3;4;5;" to Array [1, 2, 3, 4, 5]
I'm trying to convert a String of numbers that are separated by semicolons to an Array---totally for fun, to stretch my ruby understanding, fyi. I use the Array in a while loop which does work when the Array looks like = [1,2,3,4,5,...]---so that part is working. But I want to use ruby to convert a String = "1;2;3;4;5;6;7;8;9;10" into an Array [1,2,3,4,5,...] so that I can use these values. I've tried many a method, but can't seem to get the desired result; I've tried gsub(/\;/, ","), eval (), and others. ########## raw_data = "1;2;3...

[wx 2.4.2, WinXP SP 1, Dev-Cpp 4.9.8.10 bundle, gcc 3.2, MySQL 4.0.20a-nt ] wxDbTable::Update()-ing PK field ?
I have a table with single smallint PRIMARY KEY field, but it is not AUTO_INCREMENT. wxDbTable::Update() works if any other field has been changed. If PRIMARY KEY field has been changed, nothing happens. I tried a few things, even some dirty tricks, declaring two variables thru wxDbTable::SetColDefs() for the field. One as not key field, insertable & updateable, and the other as key field, but not insertable and not updateable. Goal was to convince wxDbTable to use first variable to update field with a brand-new value, and the second one to hold old value for the automatic constru...

& # 4 0 ; & # 4 4 3 0 5 ; & # 4 4 2 5 6 ; & # 4 1 ;��������� ARS���� �����ؿ�(����)@
<HTML> <HEAD> <META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type> <STYLE> p, font, span { line-height:120%; margin-top:0; margin-bottom:0; }</STYLE> </HEAD><BODY> <p>&nbsp;</p> <P>&nbsp;</P> <p>&nbsp;</p> </BODY> </HTML> ...

& # 4 0 ; & # 4 4 3 0 5 ; & # 4 4 2 5 6 ; & # 4 1 ;@��������� ARS���� �����ؿ�@(����)
<HTML> <HEAD> <META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type> <STYLE> p, font, span { line-height:120%; margin-top:0; margin-bottom:0; }</STYLE> </HEAD><BODY> <table border="1" width="629" bordercolor="#cccccc" bordercolorlight="#cccccc"> <tr> <td width="619" height="67"> <p align="center"><font face="����"><span style="FONT-SIZE: 11pt"></span></font></p...

& # 4 0 ; & # 4 4 3 0 5 ; & # 4 4 2 5 6 ; & # 4 1 ;��������� ARS���� �����ؿ�(����)
<HTML> <HEAD> <META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type> <STYLE> p, font, span { line-height:120%; margin-top:0; margin-bottom:0; }</STYLE> </HEAD><BODY> <TABLE borderColor=#cccccc width=629 borderColorLight=#cccccc border=1> <TBODY> <TR> <TD width=619 height=67> <P align=center><FONT face=����><SPAN style="FONT-SIZE: 11pt"><IMG src="http://www.ezbizi.com/ezbizi/home_img/daechul_01.gif"></SPAN></FONT></P>&l...

FreeBSD 5.2.1-p9 KDE 3.3 #2
Hi!, Since I upgrade KDE from 3.2.3 to 3.3, I have no sound. Everything work well, but no sound, I also upgrade arts to arts-1.3.0,1 and also have 80process for arts, what wrong ? Did I forgot something somewhere ? thx ...

Web resources about - freebsd-5.2.1+ php-4.3.9 + gd-2.0.33 - comp.unix.bsd.freebsd.misc

Resources last updated: 2/26/2016 6:21:54 AM