[Xfce-bugs] [XFCE 0000303]: Can't build xffm.

xfce-bugs at xfce.org xfce-bugs at xfce.org
Fri Aug 27 06:49:19 CEST 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000303
=======================================================================
Reporter:                   myoung
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000303
Category:                   xffm
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
=======================================================================
Date Submitted:             2004-08-23 20:08 GMT
Last Modified:              2004-08-27 04:49 GMT
=======================================================================
Summary:                    Can't build xffm.
Description: 
I can't get xffm to compile.This is diff then the two threads in the dev
mailing list earlier this month.Those two had the same error message this
one is diff.Ask if you need more info.

http://lunar-linux.org/pipermail/xfce4-dev/2004-August/011861.html
http://lunar-linux.org/pipermail/xfce4-dev/2004-August/011873.html
=======================================================================

-----------------------------------------------------------------------
 edscott - 2004-08-23 21:36 GMT 
-----------------------------------------------------------------------
The error message for today indicates a line with C99 code. I've fixed that
so xffm should compile on non C99 now. Nothing to do with the previous
build errors you mention. I suppose those are now fixed.

-----------------------------------------------------------------------
 myoung - 2004-08-23 22:47 GMT 
-----------------------------------------------------------------------
I'll get the latest cvs and check.I'll report back.

Update:Still get the same error.I redirected my ./configure and make to
two files.I'll upload them,they may help.some stuff did not get redirected
tho.

For configure
./configure: line 24462: AUTHORS: command not found

For make
In file included from properties.c:47:
../libs/constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from recent.c:48:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
recent.c: In function `add2history':
recent.c:131: parse error before `*'
recent.c:132: `dbh' undeclared (first use in this function)
recent.c:132: (Each undeclared identifier is reported only once
recent.c:132: for each function it appears in.)
make[2]: *** [libxffm_actions_la-recent.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I can build all other parts of xfce from cvs but xffm.I'm using benny
installer version of xffm for now.

edited on: 08-23 22:47

-----------------------------------------------------------------------
 myoung - 2004-08-24 04:09 GMT 
-----------------------------------------------------------------------
Just got home from night school and got the latest xffm from cvs and i'm
getting a new error message now.

In file included from cpy.c:50:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
cpy.c: In function `watch_stop':
cpy.c:431: parse error before `*'
cpy.c:432: `g' undeclared (first use in this function)
cpy.c:432: (Each undeclared identifier is reported only once
cpy.c:432: for each function it appears in.)
make[2]: *** [libxffm_cpy_la-cpy.lo] Error 1
make[2]: Leaving directory `/home/matthew/stuff/programs/xfce4/xffm/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matthew/stuff/programs/xfce4/xffm'
make: *** [all] Error 2


I compiled the same way as my first post.

edited on: 08-24 04:09

-----------------------------------------------------------------------
 edscott - 2004-08-24 13:02 GMT 
-----------------------------------------------------------------------
The error was another C99 code. It is now fixed at CVS so your compilation
should not stop at this point any more.

-----------------------------------------------------------------------
 myoung - 2004-08-25 04:39 GMT 
-----------------------------------------------------------------------
Just download the latest cvs a min ago and i'm getting a new error message
now.If you need more info please tell me.I uploaded my config and make
output(agian somethings did not go into the txt files).

[root at localhost xffm]# ./configure --enable-panel --enable-filter
--enable-extendprefs --enable-scrambledir > config082404.txt
./configure: line 24462: AUTHORS: command not found

[root at localhost xffm]# make > make082404.txt
In file included from properties.c:47:
../libs/constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from recent.c:48:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from new.c:42:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from new_win.c:40:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from print.c:41:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from rename.c:40:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from run.c:55:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from scramble.c:40:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from symlink.c:41:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from terminal.c:41:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from touch.c:41:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from xfdiff.c:44:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from cpy.c:50:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from countfiles.c:50:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from duplicate.c:42:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from remove.c:47:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from rcp.c:44:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from goto.c:42:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from trash.c:46:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from dnd.c:47:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from input.c:48:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from menu.c:42:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from menu_callbacks.c:41:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from pasteboard.c:40:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from refresh.c:38:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from zoom.c:37:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from fstab.c:86:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from bookmarks.c:47:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
In file included from find.c:47:
constants.h:56:4: warning: #warning "Confirm this MACRO!"
find.c: In function `watch_stop':
find.c:357: parse error before `*'
find.c:358: `g' undeclared (first use in this function)
find.c:358: (Each undeclared identifier is reported only once
find.c:358: for each function it appears in.)
make[2]: *** [libxffm_fgr_la-find.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I don't know how to code but if you need testing of patchs,please email me
them and I can end you the error message I get if they don't work.

-----------------------------------------------------------------------
 myoung - 2004-08-25 20:50 GMT 
-----------------------------------------------------------------------
Just got the latest cvs and a new error.Config and make uploaded agian.Make
is getting stoped later and later if you look at the make files I
uploaded,so it's getting closer to compiling right.

[root at localhost xffm]# ./configure --enable-panel --enable-filter
--enable-extendprefs --enable-scrambledir > config082504.txt
./configure: line 24462: AUTHORS: command not found

[root at localhost xffm]# make > make082504.txt 
toolbar.c:1084:2: warning: #warning "remove this warning AFTER first alpha
release of 4.1"
treeview.c: In function `IterCompareFunc':
treeview.c:320: parse error before `int'
treeview.c:323: `caso' undeclared (first use in this function)
treeview.c:323: (Each undeclared identifier is reported only once
treeview.c:323: for each function it appears in.)
make[2]: *** [xffm-treeview.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

edited on: 08-25 20:50

-----------------------------------------------------------------------
 edscott - 2004-08-26 00:51 GMT 
-----------------------------------------------------------------------
I put in some stricter compilation rules and fixes at CVS and I'm almost
sure it will compile OK now.

-----------------------------------------------------------------------
 myoung - 2004-08-26 04:56 GMT 
-----------------------------------------------------------------------
Matthew walks in.
Edscott glares at matthew.
"New error" matthew says.
Edscott attacks matthew.

This one happens a few seconds into the make.The Config and make are
uploaded.

[root at localhost xffm]# ./configure --enable-panel --enable-filter
--enable-extendprefs --enable-scrambledir > config082604.txt
./configure: line 24462: AUTHORS: command not found

[root at localhost xffm]# make > make082604.txt
cc1: Unrecognized option `-Wdeclaration-after-statement'
make[2]: *** [scramble-scramble.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Tell me if I need to recompile other packages.Every other package but xffm
is from 08/21/04 at the moment.Question, how long does it take for the
updates to get into anon cvs.Is it possible for me to get a login for cvs.

edited on: 08-26 04:56

-----------------------------------------------------------------------
 edscott - 2004-08-26 19:52 GMT 
-----------------------------------------------------------------------
The Unrecognized option `-Wdeclaration-after-statement' is precisely the
option that allows me to catch all the previous errors :-(

Well, I've removed the option from the build process so that should not be
a problem anymore. I'm curious as to what will happen next...

You will need to grab the latest libxfcegui4 and xfce4-icon-theme (if
installed).
I think the anon cvs takes 30 minutes to get in sync. Currently the xfce
cvs server is going to be moved to another location, so I don't know how
easy it would be to get a cvs login, you'd have to ask Auke about that.

-----------------------------------------------------------------------
 myoung - 2004-08-26 21:26 GMT 
-----------------------------------------------------------------------
During the ./configure of xffm i'm getting this.

checking for libxfcegui4-1.0 >= 4.1.29... Requested 'libxfcegui4-1.0 >=
4.1.29' but version of libxfcegui4 is 4.1.28

configure: error: Library requirements (libxfcegui4-1.0 >= 4.1.29) not
met; consider adjusting the PKG_CONFIG_PATH environment variable if your
libraries are in a nonstandard prefix so pkg-config can find them.

But I downloaded and compiled the latest libxfcegui4 from cvs.Also I did
"export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ ".

I'll try agian when I get home from night school.

I using gcc2.96 does that make any difference with all of this.I'm asking
because of your post here
http://lunar-linux.org/pipermail/xfce4-dev/2004-August/012175.html

-----------------------------------------------------------------------
 edscott - 2004-08-26 23:44 GMT 
-----------------------------------------------------------------------
Oops. It seems I forgot to commit the update to the version number of
libxfcegui4.
It's changed now to 4.1.29 so configure should proceed fine.

Xffm should compile with 2.96. If not, then something has to be fixed.

-----------------------------------------------------------------------
 myoung - 2004-08-27 04:49 GMT 
-----------------------------------------------------------------------
Here is the make output error

[root at localhost xffm]# make > 082604.txt
keybindings.c:79: warning: `Rref' defined but not used
keybindings.c:79: warning: `Lref' defined but not used
keybindings.c:83: warning: `show_alt_treeview' defined but not used
keybindings.c:98: warning: `hide_alt_treeview' defined but not used
main.c: In function `insert_dir':
main.c:677: warning: value computed is not used
make[2]: *** No rule to make target `p-unknown.png', needed by `all-am'. 
Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It getting closer to compiling.
6,000bytes
72,000 bytes
101,000 bytes
153,000 bytes

Question does it compile right for you.Odd that only I have been having
problems.



More information about the Xfce-bugs mailing list