Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm new to Linux - Fedora, and having trouble getting gxine loaded.
I have it downloaded and when I go to configure it I get:
"checking for smjs/jsapi.h... no
checking for js/jsapi.h... no
configure: error: libjs not found"which would imply it can't find libjs.
But when I do whereis libjs I get:
"whereis libjs
libjs: /usr/lib/libjs.so"I assume that's the right file but gxine doesn't seem to see it.
I'm wondering if it's not looking in the right path?
Any recommendations on how I might gxine to work?
Thx
D

Perhaps you should try to reinstall the library.
You might find the source code searching at www.gnu.org, or as rpm or src.rpm package on your distribution CD-s.Or, the problem is with the path of your current installed library -ain't the standard one. In this case, when you run ./configure, should append at the command the prefix of your installation.
Read ./configure --help for informations about how to do this.
Good luck!

I appreciate the recommendation...a little light though...I mean, I left the info on which path my libjs is listed in the post..."/usr/lib"....a very standard library which makes your recommendation:
"Or, the problem is with the path of your current installed library -ain't the standard one"...not exactly a good one.
As for re-installing the library, I'm not sure I'm following your logic. The file is present as I posted the "whereis" ...so why would I want to re-install the library? - seems to me that it's the program looking in the wrong path...not a misconfigured library.
Not much help there eugensth...but thanks for trying...
Anyone have some tangible insight?
D

It is probably complaining that you don't have the development libraries installed. It's checking for the header file jsapi.h and not libjs.so.
Here's something I found on hte net which may help, you may need to change the mozilla version number to reflect your system:
1)Make a symlink of js directory from mozilla:
# ln -s /usr/include/mozilla-1.7.12/js /usr/include/js2)Make a symlink of libmozjs.so to libjs.so to avoid a problem at compilation
# ln -s /usr/lib/mozilla-1.7.12/libmozjs.so /usr/lib/libjs.so

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |