Ask Your Question

spacemoose's profile - activity

2017-07-31 11:13:18 -0500 received badge  Notable Question (source)
2017-01-31 01:47:36 -0500 received badge  Popular Question (source)
2017-01-31 01:47:19 -0500 commented answer canonical way to specify path to java includes from C or C++?

Thanks, I went down the wrong path because when I did 'find /urs -name "jni.h"', only the version specific file was displayed, not the alternatives provided symlink.

2017-01-26 03:57:50 -0500 asked a question canonical way to specify path to java includes from C or C++?

I build a project which includes jni.h and jni_md.h. I have modified the Makefiles to specify the include path, so that these are found by the build system, i.e. I've added

    -isystem/usr/lib/jvm/java-1.8.0-openjdk- \
        -isystem/usr/lib/jvm/java-1.8.0-openjdk- \

But of course, every time the openjdk-devel package gets an update the path changes, and I have to adjust the file. If I'm building on different versions of fedora I have even more headaches.

Is there a canonical or best way to handle this? Some way to have the path update automatically when the package is updated?

2016-05-01 16:55:48 -0500 received badge  Famous Question (source)
2015-11-07 06:12:44 -0500 received badge  Notable Question (source)
2015-09-12 10:32:22 -0500 commented answer Configure nfs on fedora server (f22)

Took me a while to test your answer, so it took me a while to accept it. Thanks for the help.

2015-09-12 10:31:22 -0500 received badge  Scholar (source)
2015-09-12 10:31:21 -0500 received badge  Supporter (source)
2015-09-12 10:16:00 -0500 received badge  Popular Question (source)
2015-06-21 14:00:38 -0500 received badge  Student (source)
2015-06-21 12:06:38 -0500 asked a question Configure nfs on fedora server (f22)

I don't think this is fedora 22 specific, but I am running Fedora 22 on both client and server.

I followed the instructions in the fedora documentation regarding the issue, and I have setup an NFS share on a server, and I am able to mount the NFS drive from the client, but after every reboot of the server I have to do the following:

systemctl start rpcbind
firewall-cmd --add-port=2049/udp ; firewall-cmd --add-port=2049/tcp; firewall-cmd --add-port=111/udp; firewall-cmd --add-port=111/tcp

I got the firewall commands off the net, and I don't know if all of them are necessary for the NFS mount to work correctly, but with those two steps everything works fine until the next reboot.

What do I have to do so that rpcbind starts after reboot, and so that the firewall has the correct ports open?

Additionally, it seems that it would be good to update the Fedora documentation so that following the documentation is sufficient to run an NFS server, without further problem solving. Is this an oversight, or is this something I could submit as a patch to the documentation?

2015-06-12 10:15:23 -0500 asked a question gnu global can't find


I'm on fedora 22. I've install the gnu-global package, as well as all the ctags packages I could find (ctags-etags, and global-ctags). I modified my .globalrc as follows:


to make ctags the default parser. But when I run gtags, I get the following message: gtags: cannot open shared object '/usr/lib/gtags/'

Looking in /usr, i see that lib64/gtags has, but no .la file.

What do I have to do to use gnu-global with exuberant c-tags?

Thanks kindly

2013-07-11 03:06:12 -0500 commented answer How can I capture a video of my screen in fedora?

This is wonderful. I have a dual monitor setup, so I'm wondering if it's possible to specify that the tool only record from one monitor, or perhaps a single window?