Graphic Links patch

John S. Skogtvedt jss2k2 at chello.no
Sun Apr 15 17:39:33 CEST 2007


Stefan Sperling skrev:
> On Sun, Apr 15, 2007 at 05:12:39PM +0200, John S. Skogtvedt wrote:
>> Doesn't seem to compile. Ran svn up (at r1724), cleaned out my config,
>> did make clean and make, and got the following error when it ran the
>> links configure script:
>>
>> checking for libpng >= 1.0.0... yes
>> checking LIBPNG_CFLAGS... -I/usr/include/libpng12
>> checking LIBPNG_LIBS... -lpng12
>> checking for png.h... yes
>> checking for libpng/png.h... no
>> checking for png_create_info_struct in -lpng... no
>> configure: error: You need libpng to compile Links in graphics mode
>> make[2]: *** [.configured] Fejl 1
>> make[2]: Forlader katalog '/home/jss/dslinux/user/links'
>> make[1]: *** [all] Fejl 2
>> make[1]: Forlader katalog '/home/jss/dslinux/user'
>> make: *** [subdirs] Fejl 1
> 
> I don't understand why this happens.
> 
> The library dependencies have been taken care of:
> 
>   if [ "$CONFIG_USER_LINKS_LINKS" = "y" ]; then
>           define_bool CONFIG_LIB_LIBSSL y
>           bool '  links with mouse'       CONFIG_USER_LINKS_WITH_GPM
>           if [ "$CONFIG_USER_LINKS_WITH_GPM" = "y" ]; then
>                   define_bool CONFIG_USER_GPM_GPM y
>           fi
>           bool '  links with graphics'    CONFIG_USER_LINKS_WITH_GRAPHICS
>           if [ "$CONFIG_USER_LINKS_WITH_GRAPHICS" = "y" ]; then
>                   define_bool CONFIG_LIB_LIBPNG y
>                   define_bool CONFIG_LIB_LIBJPEG y
>           fi
>   fi
> 
> Do you have a libpng.a symlink in lib/ ?
> 
> 

Yes.



More information about the dslinux-devel mailing list