Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 12th November 2010, 09:41
whatdoesitwant whatdoesitwant is offline
Junior Member
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default recompiling php5 with bundled support for gd on ubuntu

After first forgetting to sed -i 's_\(--with-gd=shared\),/usr\( --enable-gd-native-ttf \\\)_\1\2_ debian/rules, I tried a recompile on a 64-bit ubuntu 9.10 for php5.2 on virtualbox with this manual again.
But the process has choked on a call trace ending in child_rip+0x0/0x20

I ran make clean from within the source directory to clean up before recompile but that just said that There is no rule to target 'clean' it.

Is it necessary to symlink to the correct libraries for jpeg like described at http://php.net/manual/en/image.installation.php by Larry Kluger? They seem to be in place. If so, how do I go about it with the above tutorial.

Also @Chad, thanks for the precompile but unfortunately the link is buggered. Do you have a correct address?
Reply With Quote
Sponsored Links
Old 13th November 2010, 13:32
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Why do youwant to recompile PHP5? There's a php5-gd package for Ubuntu 9.10: http://packages.ubuntu.com/karmic/php5-gd
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 13th November 2010, 13:59
whatdoesitwant whatdoesitwant is offline
Junior Member
Join Date: Nov 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Up until Ubuntu 9.10 the gd-package provided by the debian installer is the original gd package that does not have the proper image rendering capabilities required by modern standards. Normally you would want to use the php5 package instead. Because of an argument between the Debian and the PHP5 team this wasn't integrated in the deb installer until Ubuntu 10.04 Lucyd Lynx with integrated PHP5.3.
On Debian Lenny proper php-gd functionality is not a problem either because the proper package is available through dotdeb.
But for Ubuntu 9.10 with PHP5.2 specificly no proper prefab packages are available and you need to compile these yourself. Read more in the actual topic:

I use an Ubuntu 9.10 Karmic server to check if my distributions function on PHP5.2, which is a backwards compatibility requirement in Drupal 7 and default in Drupal 6.
I could switch to Debian but I am still a n00b on that system, hardening a Debian installation is a bit above my pay grade.
Compiling the proper gd-library per the instricutions in the mentioned topic seemed to be the lesser of two evils. But now i'm stuck anyway. Maybe someone else has run into this and knows what i should do or what it's caused by. My user has sudo rights and i ran the compilation with -rfakeroot.

I hope this clarifies my question & reasons a bit.
Reply With Quote


bundled gd, karmic, php5, recompile, ubuntu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection timed out on intermail outgoing mails gouravgarg Server Operation 6 5th March 2010 21:31
server Installation Configuration deco5003 Installation/Configuration 12 5th August 2009 13:00
Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault zerman Installation/Configuration 2 24th September 2008 00:58
Update php shajazzi Server Operation 6 6th April 2008 19:20
ISPConfig Failure on SuSe 9.3 gimhan90 Installation/Configuration 13 2nd February 2006 11:29

All times are GMT +2. The time now is 00:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.