On 12/12/2012 04:35 PM, Bruce Dubbs wrote:

>
> Try going to the directory where that is running and do:
>
> gcc  -g -O2   -o lxappearance main.o glade-support.o main-dlg-ui.o \
>    main-dlg.o demo-ui.o demo.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 \
>    -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo \
>    -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 \
>    -lX11
>
> Note the last line.

OK, that worked fine.  What's the difference between brute-forcing it 
like this, and adding '-lX11' to the Makefile itself (i.e. to the LIBS 
macro, or to the PACKAGE_LIBS macro -- I tried both of those)?
>
> You could also go into the Makefile and add -lX11 to the place where
> things like -lfreetype -lfontconfig are specified.
>
Like I said, that hadn't worked.


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to