Jump to content

localhost on a pendrive & GDlib question


Recommended Posts

Is it possible to run a localhost from a pen drive/other small device (ipod) for portability?

 

How do I check that the GD Lib is installed? I donwloaded “gd-2.0.35.zip” did the configure and make then install but whenever I try and use the imagecreate for a captcha I get this: “Fatal error: Call to undefined function imagecreate() in /home/xoligy/public_html/Medi/test1.php on line 5” the reason im doing it from gd.zip is because i dont have the net at home at the moment.

 

/gd-2.0.35$ sudo make install

 

[sudo] password for xoligy:

 

Making install in config

 

make[1]: Entering directory `/home/xoligy/Desktop/tinternet/gd-2.0.35/config'

 

make[2]: Entering directory `/home/xoligy/Desktop/tinternet/gd-2.0.35/config'

 

test -z "/usr/bin" || mkdir -p -- "/usr/bin"

 

/usr/bin/install -c 'gdlib-config' '/usr/bin/gdlib-config'

 

make[2]: Nothing to be done for `install-data-am'.

 

make[2]: Leaving directory `/home/xoligy/Desktop/tinternet/gd-2.0.35/config'

 

make[1]: Leaving directory `/home/xoligy/Desktop/tinternet/gd-2.0.35/config'

 

Making install in test

 

make[1]: Entering directory `/home/xoligy/Desktop/tinternet/gd-2.0.35/test'

 

make[2]: Entering directory `/home/xoligy/Desktop/tinternet/gd-2.0.35/test'

 

make[2]: Nothing to be done for `install-exec-am'.

 

make[2]: Nothing to be done for `install-data-am'.

 

make[2]: Leaving directory `/home/xoligy/Desktop/tinternet/gd-2.0.35/test'

 

make[1]: Leaving directory `/home/xoligy/Desktop/tinternet/gd-2.0.35/test'

 

make[1]: Entering directory `/home/xoligy/Desktop/tinternet/gd-2.0.35'

 

/bin/bash ./libtool --tag=CC --mode=link gcc  -g -O2  -o gdparttopng  gdparttopng.o ./libgd.la  -lm

 

gcc -g -O2 -o .libs/gdparttopng gdparttopng.o  ./.libs/libgd.so -lm

 

gdparttopng.o: In function `main':

 

/home/xoligy/Desktop/tinternet/gd-2.0.35/gdparttopng.c:42: undefined reference to `gdImageCreateFromGd2Part'

 

collect2: ld returned 1 exit status

 

make[1]: *** [gdparttopng] Error 1

 

make[1]: Leaving directory `/home/xoligy/Desktop/tinternet/gd-2.0.35'

 

make: *** [install-recursive] Error 1

 

Link to comment
https://forums.phpfreaks.com/topic/115411-localhost-on-a-pendrive-gdlib-question/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.