newbie question about bsd ports/list archives and 5.1 current/xfce ports compile

Scott W wegster at mindcore.net
Wed Oct 8 18:04:44 PDT 2003


Hey all.  I've been trying to successfully get xfce compiled on a 5.1 
current snapshot, mostly unsuccessfully. 
I've found a half dozen problems in the port (SOCKLEN_T undefined, C++ 
style comments the C compiler settings are puking on, etc etc), but am 
at an annoying stopping point at the moment, an error in scramble.c

If anyone would be so kind as to answer a few questions, I'd appreciate 
it...  (And before anyone says it, I've RTFM, Googled, and attempted to 
search the list archives, although I may have well been looking in the 
wrong FM ;-)
1.  Is there an existing patch or defect listed against XFCE current?  
(where should I be looking specifically if not in the ports list?)
2.  Is there more complete documentation on ports, as in:
    a.  relationship between /usr/ports/X and /usr/src
    b.  Have seen mention of the INDEX file, along with portsdb(not on 
my system) and pkgindex (also not on my system)
3. anyone happen to know offhand where the current stumbling block in 
building xfce is?
Compile error as follows: 

===>  Installing for xfce-4.0.0
===>   xfce-4.0.0 depends on file: 
/usr/X11R6/lib/xfce4/mcs-plugins/ui_plugin.so - found
===>   xfce-4.0.0 depends on executable: xfwm4 - found
===>   xfce-4.0.0 depends on executable: xfce4-panel - found
===>   xfce-4.0.0 depends on executable: xfdesktop - found
===>   xfce-4.0.0 depends on executable: startxfce4 - found
===>   xfce-4.0.0 depends on executable: xffm - not found
===>    Verifying install for xffm in /usr/ports/x11-fm/xfce4-fm
===>  Building for xfce4-fm-4.0.0
make  all-recursive
Making all in scramble
if cc -DHAVE_CONFIG_H -I. -I. -I..    -I../libs -O -pipe -DSMP -DAPIC_IO 
-march=pentiumpro -W -Wall -ansi -pedantic -Wbad-function-cast 
-Wcast-align  -Wcast-qual -Wchar-subscripts -Winline  
-Wmissing-prototypes -Wnested-externs -Wpointer-arith  -Wredundant-decls 
-Wshadow -Wstrict-prototypes -Wwrite-strings -march=pentiumpro -MT 
scramble-scramble.o -MD -MP -MF ".deps/scramble-scramble.Tpo"  -c -o 
scramble-scramble.o `test -f 'scramble.c' || echo './'`scramble.c;  then 
mv -f ".deps/scramble-scramble.Tpo" ".deps/scramble-scramble.Po";  else 
rm -f ".deps/scramble-scramble.Tpo"; exit 1;  fi
In file included from /usr/include/sys/stat.h:100,
                 from scramble.c:13:
/usr/include/sys/time.h: In function `timespec2bintime':
/usr/include/sys/time.h:125: warning: ISO C89 forbids long long integer 
constants
/usr/include/sys/time.h: In function `timeval2bintime':
/usr/include/sys/time.h:142: warning: ISO C89 forbids long long integer 
constants
scramble.c: In function `main':
scramble.c:112: syntax error before '/' token
scramble.c:113: syntax error before ')' token
scramble.c:113: warning: statement with no effect
scramble.c: At top level:
scramble.c:123: warning: initialization discards qualifiers from pointer 
target type
scramble.c: In function `cifrador':
scramble.c:129: syntax error before '/' token
scramble.c:141: syntax error before '/' token
scramble.c:143: syntax error before '/' token
scramble.c:162: warning: comparison between signed and unsigned
scramble.c:167: warning: comparison between signed and unsigned
scramble.c: At top level:
scramble.c:176: syntax error before '&' token
scramble.c:176: warning: ISO C does not allow extra `;' outside of a 
function
*** Error code 1

Stop in /usr/ports/x11-fm/xfce4-fm/work/xffm-4.0.0/scramble.
*** Error code 1

Stop in /usr/ports/x11-fm/xfce4-fm/work/xffm-4.0.0.
*** Error code 1

Stop in /usr/ports/x11-fm/xfce4-fm/work/xffm-4.0.0.
*** Error code 1

Stop in /usr/ports/x11-fm/xfce4-fm.
*** Error code 1

Stop in /usr/ports/x11-wm/xfce4.
freeb#

Thanks,

Scott



More information about the freebsd-ports mailing list