xffm fails to build on Fedora Core 3 test 3 (xfce4-session bug)

David Fraser davidf at sjsoft.com
Mon Oct 4 09:51:51 CEST 2004


David Fraser wrote:

> Jasper Huijsmans wrote:
>
>> Randy Chung wrote:
>>
>>> Assuming you fix that, you'll likely then find yourself running into 
>>> the situation where some binaries are linked against the old 
>>> (stable) libraries rather than the shiny new ones, depending on how 
>>> you have 4.0 installed and how you're installing 4.2.  There's no 
>>> real clean solution for that yet, though :) (but hacks do exist)
>>
>>
>> export PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${PKGCONFIG_PATH}"
>> export LD_LIBRARY_PATH="${prefix}/lib:${LD_LIBRARY_PATH}"
>> export PATH="${prefix}/bin:${PATH}"
>>
>> That has worked just fine for me.
>
>
> And it has worked just fine for me in the past too...
> I've even had a very similar bug that I thought was fixed...
> http://bugzilla.xfce.org/show_bug.cgi?id=304
> Hmmm, this looks like exactly the same problem, and applying a similar 
> patch solves it.
>
> Sorry, should have checked that beforehand. I've updated the patch on 
> the bug, and attached it here, would it be possible for it to be 
> applied? Could someone else test with a standard setup to make sure it 
> doesn't break anything, can't see how it could.
>
> David 

Should have done this in one thread ... this bug and patch were for the 
xfce4-session bug I described here:

> Hi
>
> I have a number of linker errors trying to build xfce4-session on 
> Fedora from latest cvs.
> I am building and installing xfce4 CVS into a separate directory 
> (/usr/local/xfce4) and I have xfce 4.0.x installed in /usr
> It seems that it is linking against /usr/lib/libxfcegui4.so instead of 
> the one in /usr/local/xfce4/lib
> I presume this is an error with the Make scripts somewhere...
> Any hints on how to fix it?
>
> David
>
> The command that produces them is:
> gcc -g -O2 -o xfce4-session xfce4_session-ice-layer.o 
> xfce4_session-main.o xfce4_session-shutdown.o xfce4_session-sm-layer.o 
> xfce4_session-xfsm-chooser.o xfce4_session-xfsm-client.o 
> xfce4_session-xfsm-compat-gnome.o xfce4_session-xfsm-compat-kde.o 
> xfce4_session-xfsm-dns.o xfce4_session-xfsm-fadeout.o 
> xfce4_session-xfsm-global.o xfce4_session-xfsm-legacy.o 
> xfce4_session-xfsm-manager.o xfce4_session-xfsm-properties.o 
> xfce4_session-xfsm-shutdown-helper.o 
> xfce4_session-xfsm-splash-screen.o xfce4_session-xfsm-startup.o 
> -Wl,--export-dynamic -Wl,--export-dynamic  ./.libs/libxfsm.a -pthread 
> -lgnome-2 /usr/lib/libpopt.so -lbonobo-2 -lgconf-2 -lgnomevfs-2 
> -lbonobo-activation -lORBit-2 -lgthread-2.0 -L/usr/X11R6/lib 
> -L/usr/local/xfce4/lib/usr/lib/libxfce4mcs-client.so 
> /usr/lib/libxfcegui4.so -lSM -lICE -lX11 -lXinerama -lXext 
> -lgtk-x11-2.0 /usr/lib/libxfce4util.so -lgdk-x11-2.0 -latk-1.0 
> -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 
> -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
>
> The first couple of errors are:
> xfce4_session-main.o(.text+0x56): In function 
> `setup_environment':/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:85: 
> undefined reference to 
> `xfce_setenv'xfce4_session-main.o(.text+0x77):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:91: 
> undefined reference 
> to`xfce_setenv'xfce4_session-main.o(.text+0x83):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:92: 
> undefined reference 
> to`xfce_unsetenv'xfce4_session-main.o(.text+0x215): In function 
> `main':/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:134: 
> undefined reference to 
> `xfce_rc_set_group'xfce4_session-main.o(.text+0x225):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:135: 
> undefined reference to 
> `xfce_rc_read_entry'xfce4_session-main.o(.text+0x2e3):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:196: 
> undefined reference to 
> `xfce_rc_set_group'xfce4_session-main.o(.text+0x2f3):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:197: 
> undefined reference to 
> `xfce_rc_read_bool_entry'xfce4_session-main.o(.text+0x308):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:198: 
> undefined reference to 
> `xfce_rc_read_bool_entry'                                                                                                
>





More information about the Xfce4-dev mailing list