Re: Re: compiling php with libjpg64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ashley Sheridan wrote:
> On Fri, 2009-02-27 at 12:43 -0600, Shawn McKenzie wrote:
>> Merlin Morgenstern wrote:
>>> Hi there,
>>>
>>> I am trying to get a 64 bit suse 10.3 system to run with php 5. Somehow
>>> it does not recognize the libjpg which is definatelly in place:
>>>
>>> server:/home/sw/php-5.2.9 # './configure' '--enable-fastcgi'
>>> '--with-mysql=/usr/local/mysql' '--prefix=/usr/local/php'
>>> '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-mbstring'
>>> '--with-pdo-mysql=/usr/local/mysql/' '--enable-soap'
>>> '--with-zlib-dir=/usr/lib64' '--with-freetype-dir=/usr/lib64'
>>> '--with-gd' '--with-jpeg-dir=/usr/lib64' '--with-png-dir=/usr/lib64'
>>> '--enable-exif' '--with-pdflib=/usr/local' > configure.txt
>>>
>>> configure: warning: bison versions supported for regeneration of the
>>> Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found:
>>> none).
>>> configure: warning: flex versions supported for regeneration of the
>>> Zend/PHP parsers: 2.5.4  (found: 2.5.33)
>>> configure: warning: You will need re2c 0.13.4 or later if you want to
>>> regenerate PHP parsers.
>>> configure: error: libjpeg.(a|so) not found.
>>>
>>> but:
>>> # locate libjpeg.so
>>> /usr/lib64/libjpeg.so
>>> /usr/lib64/libjpeg.so.62
>>> /usr/lib64/libjpeg.so.62.0.0
>>>
>>> # locate libjpeg.a
>>> /usr/lib64/libjpeg.a
>>>
>>> I am kind of lost with this one. I can not find the error. Has somebody
>>> an idea how to fix this?
>>>
>>> Thank you for any help, Merlin
>> Might try adding:  --with-libdir=lib64
>>
>> -- 
>> Thanks!
>> -Shawn
>> http://www.spidean.com
>>
> I've got Suse10.3 on my laptop, all 64-bit, and running the correct
> graphics libraries which I use for GD. I used Yast to install the whole
> thing, as it sorts out everything for me. For Suse, I'd recommend it, as
> it really is a great admin tool, albeit a little slow when building
> repository lists when you install things!
> 
> 
> Ash
> www.ashleysheridan.co.uk
> 

Yes, I always use a package from whatever distro (ubuntu for my desktop
for several years and fedora on my web host).  I've never needed to
compile apache/php/mysql or most anything else.  Sometimes there's
something that I want that you can only get from source, but normally
that builds easily for me.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux