Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-10-14 03:47:42

towheedm
Member
Registered: 2012-09-27
Posts: 5

[Solved] Problem with libxfce4ui-4.10.0 and make distclean

After configuring and building libxfce4ui-4.10.0:

./configure && make

The build is successful.  I then do a make distclean:

make distclean

However, if I re-configure and make, I get this error:

make[3]: Entering directory `/home/towheed/src/src/libxfce4ui-4.10.0/xfce4-about'
  CC     xfce4_about-main.o
main.c:33:29: error: about-dialog-ui.h: No such file or directory
main.c: In function ‘main’:
main.c:468: error: ‘xfce_about_dialog_ui’ undeclared (first use in this function)
main.c:468: error: (Each undeclared identifier is reported only once
main.c:468: error: for each function it appears in.)
main.c:469: error: ‘xfce_about_dialog_ui_length’ undeclared (first use in this function)
make[3]: *** [xfce4_about-main.o] Error 1

If I check the xfce4-about directory, there is no about-dialog-ui.h file:

ls xfce4-about/
contributors.h  Makefile     Makefile.in    xfce4-about.desktop.in
main.c          Makefile.am  translators.h  xfce4-about-dialog.glade

Checking the output of make distclean, I see this:

Making distclean in xfce4-about
make[1]: Entering directory `/home/towheed/src/src/libxfce4ui-4.10.0/xfce4-about'
 rm -f xfce4-about
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
test -z "about-dialog-ui.h xfce4-about.desktop" || rm -f about-dialog-ui.h xfce4-about.desktop
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[1]: Leaving directory `/home/towheed/src/src/libxfce4ui-4.10.0/xfce4-about'

Note that this not happen with the clean target.

Is it normal for distclean to remove header files from the sources, or is this a bug in the makefile?

Thanks.

Offline

#2 2012-10-14 19:09:28

towheedm
Member
Registered: 2012-09-27
Posts: 5

Re: [Solved] Problem with libxfce4ui-4.10.0 and make distclean

I'll mark this as solved.  It's already reported in Bugzilla: https://bugzilla.xfce.org/show_bug.cgi?id=8974

Offline

Board footer

Powered by FluxBB