Mail Index


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

Re: [ApacheGallery] Image:Imlib2 compile errors



michnix <[email protected]> writes:

> When installing Image::Imlib2 (thru CPAN) I get a missing lib error
> from ld:
> 
> gcc -shared -L/usr/local/lib -o blib/arch/auto/Image/Imlib2/Imlib2.so lib/Image/Imlib2.o -L/usr/lib -lImlib2 -lttf -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib
> /usr/bin/ld: cannot find -lttf

Try this patch:

--- Image-Imlib2-0.12/Build.PL.orig	Wed Sep 10 22:26:32 2003
+++ Image-Imlib2-0.12/Build.PL	Wed Sep 10 22:26:59 2003
@@ -30,7 +30,7 @@
     'Test::More' => '0.01',
   },
   extra_linker_flags => $libs,
-  cc_flags => $cflags,
+  extra_compiler_flags => $cflags,
   c_source     => './lib/Image',                                               
 );
 $build->create_build_script;


-- 
Best regards
    Christian Laursen
_______________________________________________
users mailing list
[email protected]
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers