Xfce 4.4beta1 build problem with panel
juha
kautto.juha at kolumbus.fi
Wed Apr 19 18:29:51 CEST 2006
Alexander Iliev wrote:
>I just don't get it.
>
>What I do is:
>
>$ export PKG_CONFIG_PATH=/usr/testing-xfce4.4beta1/lib/pkgconfig
>$ ./configure --prefix=/usr/testing-xfce4.4beta1
>$ make
>
>./configure locates the libraries right:
>
>--------------------------------------
>checking LIBXFCE4UTIL_CFLAGS...
>-I/usr/testing-xfce4.4beta1/include/xfce4 -I/usr/include/glib-2.0
>-I/usr/lib/glib-2.0/include
>checking LIBXFCE4UTIL_LIBS... -L/usr/testing-xfce4.4beta1/lib
>-lxfce4util -lglib-2.0
>checking for libxfcegui4-1.0 >= 4.3.90.1... 4.3.90.1
>checking LIBXFCEGUI4_CFLAGS... -DXTHREADS -I/usr/X11R6/include
>-I/usr/testing-xfce4.4beta1/include/xfce4 -I/usr/include/gtk-2.0
>-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo
>-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0
>checking LIBXFCEGUI4_LIBS... -L/usr/X11R6/lib
>-L/usr/testing-xfce4.4beta1/lib -lxfcegui4 -lgtk-x11-2.0 -lxfce4util
>-lgdk-x11-2.0 -lXrandr -lXi -lXinerama -lXext -latk-1.0 -lgdk_pixbuf-2.0
>-lm -lpangocairo-1.0 -lfontconfig -lXcursor -lpango-1.0 -lcairo
>-lXrender -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
>--------------------------------------
>
>Then when I run make I get this:
>
>--------------------------------------
>gcc -g -O2 -o .libs/xfce4-panel xfce4_panel-main.o
>xfce4_panel-panel-app.o xfce4_panel-panel-app-messages.o
>xfce4_panel-panel-config.o xfce4_panel-panel-dnd.o
>xfce4_panel-panel-item-manager.o xfce4_panel-panel-properties.o
>xfce4_panel-panel-dialogs.o xfce4_panel-panel.o -Wl,--export-dynamic
>../libxfce4panel/.libs/libxfce4panel.so -L/usr/X11R6/lib
>-L/usr/testing-xfce4.4beta1/lib /usr/lib/libxfcegui4.so
>/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so
>/usr/lib/libstartup-notification-1.so -lSM -lICE
>/usr/lib/libgtk-x11-2.0.so /usr/lib/libxfce4util.so
>/usr/lib/libgdk-x11-2.0.so -lXrandr -lXi -lXinerama -lXext
>/usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so
>/usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so
>/usr/lib/libXcursor.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so
>-lpng12 -lfontconfig /usr/lib/libfreetype.so -lz -lm
>/usr/lib/libXrender.so -lX11 /usr/lib/libgobject-2.0.so
>/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -Wl,--rpath
>-Wl,/usr/testing-xfce4.4beta1/lib
>--------------------------------------
>
>Can someone explain to me how is this possible that configure
>figures out the right place of the libraries, and then make
>looks for them in /usr/lib (note the /usr/lib/libxfcegui4.so and
>/usr/lib/libxfce4util.so above)?
>
>Cheers,
>
>
ld and gcc are very keen in looking libraries form standard
places. You will have hard time installing anything to
non-standard places after you have those tools in standard
locations.
I recommend either
1) use only standard places (and install on top of old release)
or
2) install everything in non-standard only (delete your old code
fromthe stanrard places.)
/Juha
More information about the Xfce4-dev
mailing list