Xfce Forum

Sub domains
 

You are not logged in.

#1 2009-07-18 18:59:30

bedubyah
Member
Registered: 2009-07-17
Posts: 1

Thunar DEFFILEMODE

Hi.

I am trying to compile Xfce 4.6.1 on Solaris 10u7 (05/09).  I am building in an order loosely based on this page: http://wiki.archlinux.org/index.php/Bui … r_for_XFCE.

All has gone very well until I try to compile Thunar.  I have the problem that DEFFILEMODE is undefined:

thunar-vfs-io-jobs.c: In function `_thunar_vfs_io_jobs_create':
thunar-vfs-io-jobs.c:436: error: `DEFFILEMODE' undeclared (first use in this function)
thunar-vfs-io-jobs.c:436: error: (Each undeclared identifier is reported only once
thunar-vfs-io-jobs.c:436: error: for each function it appears in.)
make[3]: *** [libthunar_vfs_1_la-thunar-vfs-io-jobs.lo] Error 1

It looks like on GNU/Linux or BSD DEFFILEMODE is usually defined in /usr/include/sys/stat.h as:

#define DEFFILEMODE(S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*    /

Solaris 10 does not have this defined however.

I tried adding this line to my stats.h on my Solaris 10 system, but on Solaris I get get the error: "|" may not appear in macro parameter list.

Does anyone know of a solution to this problem?  I am hoping to either get DEFFILEMODE properly defined in Solaris or get Thunar to use something besides DEFFILEMODE.

Thanks.

Offline

#2 2009-07-19 01:23:08

s0ulslack
Moderator
From: Idaho
Registered: 2005-12-25
Posts: 291

Re: Thunar DEFFILEMODE

Just an FYI, if you don't have any luck here on the forum try the Mailing List.

Offline

Board footer

Powered by FluxBB