I cant 'make' it on 14-04LTS

Asked by pipiscrew

hi, the steps I follow :

-download&extract the tar 'gvfs-1.8.2.tar.gz'
-run : ./configure
-I install some missing libs (found solution through inet search)
-is time to 'make' it I got :

make[2]: Leaving directory `/home/adm1n/.local/share/Trash/files/gvfs-1.8.2/common'
Making all in metadata
make[2]: Entering directory `/home/adm1n/.local/share/Trash/files/gvfs-1.8.2/metadata'
  CC metatree.lo
metatree.c:71:1: error: unknown type name 'GStaticRWLock'
 static GStaticRWLock metatree_lock = G_STATIC_RW_LOCK_INIT;
 ^
metatree.c:71:38: error: 'G_STATIC_RW_LOCK_INIT' undeclared here (not in a function)
 static GStaticRWLock metatree_lock = G_STATIC_RW_LOCK_INIT;
                                      ^
metatree.c: In function 'meta_tree_ref':
metatree.c:594:3: warning: 'g_atomic_int_exchange_and_add' is deprecated (declared at /usr/include/glib-2.0/glib/gatomic.h:80): Use 'g_atomic_add' instead [-Wdeprecated-declarations]
   g_atomic_int_exchange_and_add ((int *)&tree->ref_count, 1);
   ^
make[2]: *** [metatree.lo] Error 1
make[2]: Leaving directory `/home/adm1n/.local/share/Trash/files/gvfs-1.8.2/metadata'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/adm1n/.local/share/Trash/files/gvfs-1.8.2'
make: *** [all] Error 2

any clues?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gvfs Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

lsb_release -a; uname -a; apt-cache policy gvfs

Thanks

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

The latest sources for gvfs are here:

http://ftp.gnome.org/pub/gnome/sources/gvfs/1.23/

Why are you trying to compile gvfs and especially trying to compile from source code that is 4 years old and obsolete ??

Why not simply install it using this command?

sudo apt-get install gvfs

Revision history for this message
pipiscrew (pipiscrew) said :
#3

2 x thanks! for the quick response.

@actionparsnip
http://tny.cz/90ad206f

@MarkRIJ
Im using ubuntu 7days now, I would like to edit file @ ftp server and all editors require the gvfs. Could found any info about apt-get, please explain me is a list of app names or what?

$>sudo apt-get install gvfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
gvfs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 220 not upgraded.

so Im up to date^ (LOL) how I use the gvfs feature any guide?

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#4
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

I also suggest learning more about Ubuntu using these guides:

https://help.ubuntu.com/community/ExternalGuides

Revision history for this message
pipiscrew (pipiscrew) said :
#6

so
gvfs-mount "ftp://ftp.symantec.com"

made the trick :)

--

@MarkRIJ

what is the most common, curlftpfs or gvfs ?

you know any PHP IDE ? I end up with bluefish but still something 'missing' :(

thanks

Revision history for this message
pipiscrew (pipiscrew) said :
#7

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

You didn't need to paste in the output of the command. You could have just pasted it as an update

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

You didn't need to paste in the output of the command. You could have just pasted it as an update

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#10

Your original issue has been solved.

Please create a separate thread for each new question here:

https://answers.launchpad.net/ubuntu/+addquestion

It is counterproductive and confusing to mix several different types of questions into the same thread.