Re: gnome-vfs: Can anyone compile it on Solaris 2.6?



I have also been trying to compile gnome-vfs on solaris 2.6 for a while.
The problem is that libpthread on solaris 2.6 does not have recursive
mutexes.  This is only in Solaris 7 or 8.  So, if gnome-vfs continues to
use them, it will not compile on solaris 2.6.  I think that they are
being removed from gnome-vfs, at least this is the indication I have got
poking around mailing list archives.  I have been trying to compile
gnome-vfs HEAD from cvs (anoncvs).  It seems that the recursive mutexes
are gone (at least it seems that way from briefly perusing the source,
not that I am a hacker), but now I can't get it to compile for other
reasons (if anyone is listening who could help, the compile error I am
getting is:
cc1: warnings being treated as errors
gnome-vfs-application-registry.c: In function
`strip_trailing_whitespace':
gnome-vfs-application-registry.c:668: warning: subscript has type `char'
make[2]: *** [gnome-vfs-application-registry.lo] Error 1
make[2]: Leaving directory
`/p/mrxdata2/usr2/src/gnome-1.4/gnome-vfs/libgnomevfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/p/mrxdata2/usr2/src/gnome-1.4/gnome-vfs'
make: *** [all-recursive-am] Error 2
)


-Troy

>gnome-vfs-0.6.2 sill fails to compile here on Solaris 2.6 with
>PTHREAD_MUTEX_RECURSIVE undelclared in gnome_vfs_pthread.c
>
>It has been suggested that this release should compile on Solaris,
>but I'm not sure if this includes 2.6.
>
>Should I file a bug, or is this already fixed?


-- 
Troy Carter
tcarter princeton edu









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]