xoligy Posted July 18, 2008 Share Posted July 18, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/115411-localhost-on-a-pendrive-gdlib-question/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.