Recently I wrote about how to solve some issues with Mendeley Desktop in Fedora 14 but in that post I didn’t show how to properly install the application adding the necessary menu entries and installing the files in the right directories. The ideal approach would be to create an RPM to handle de installation process, however, this time I just created a short script that downloads Mendeley Desktop, install the files and apply the fixes from my previous post.
The script is available as Gist in Github and I invite you to fork it if you find any problem or have something to improve it.
UPDATE (2011/06/13): The script was modified to work on i386, i686, i586 and x86_64 machines. Not tested for other machines. Please let me know if you have any problem.
Comments
I tried running the above script to install Mendeley desktop on Fedora 14, but I did not have any success. The icon is there in applications under education; however, when I click on it nothing happens. I am new to Fedora any suggestions?
Hello Wkistler, are you using Fedora 14 32bit or 64bits? The above installer is for 64bits (I should have noted that somewhere in the content of the post or the script :).
If you are running Fedora 14 64bits, could you please try to run Mendeley from the terminal and post the output here? The command to start Mendeley from the terminal is mendeleydesktop, run it as your normal user, not as root.
If you are running Fedora 14 32bits, please let me know and give me some time to run a couple of tests on a 32bits installation and see if I can create an installer that works.
I am running 32bits
Wkistler, I have updated the script to make it work in Fedora 14 32bits. It “detects” your architecture and download the appropriate files for your system. Let me know if it works for you.
I will have to try it when I get my new HD mine just crashed.
didn’t work for me. but i tried with fedora 15 beta
I haven’t tested with f15 yet. I’ll take a look as soon as I can and post updates. Thanks for reporting it.
Can you quickly find a fix for fedora 15 … I fell like I’m paralysed
I just used this on Fedora 15 and it worked perfectly. Thanks!
Same here, worked flawlessly on Fedora 15!
Thank you Jeff and Jan Vydra for reporting, I’m glad it worked for you.
Naren, did you get any particular error when running the installation script?
Works for me too …
Here is the problem ..
The package for fedora the old openssl library in F-11 archive is located in the following location (for 32 bit arch)..
http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i386/os/Packages/
Note the 1386 in the path name … if you are running the script from a i686 machine … which I did previously the script will look for the library in this location
http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Fedora/i686/os/Packages/
This will result in 404 error. The obvious reason for this is the $ARCH in the pathname inside the script (…. Fedora/$ARCH/os …. ).
A simple correction to the script where you replace the $ARCH in pathname with i386 will fix the problem
Sadly for me mendeley does not run even after this correction (in RHEL 5).
I get this error ..
/usr/local/mendeley/bin/../lib/mendeleydesktop/libexec/mendeleydesktop.i486: /lib/libc.so.6: version `GLIBC_2.7′ not found (required by /usr/local/mendeley/bin/../lib/libcrypto.so.8)
Thanks Narendiran, I have updated the script to apply the fix you describe.
Unfortunately, I don’t have access to a RHEL installation and can’t test the script there. Have you tried installing Mendeley normally, without downloading opensll from F11 archives?
Thanks for the Credit, but the script still has a problem
It is only the path name that contains ‘i386’ …
The Packages available inside are
openssl-0.9.8k-1.fc11.i586.rpmopenssl-0.9.8k-1.fc11.i686.rpmThere is no package with i386 arch. A new 404 error 🙁
So we should use the value returned by ‘uname -m’ to name the package only with i386 in the path name in the case of 32 bit arch.
In RHEL (actually Scientific Linux 6) … mendeley gets installed and starts but after the splash screen it suddenly closes with a segmentation fault. I don’t think anything can be done about that.
—
Naren
Thanks for your feedback. I was too careless when editing the script. I have updated it again and this time it should work for any x86_64 or i*86 machine.
Hello – Just a quick note to say that under Mendeley Desktop 1.0 and later, you should be able to run MD under recent Fedora versions using the system SSL libraries, provided that the QtWebKit and QtSvg libraries are installed.
We are aware of some problems with the F16 beta at the moment – they should be fixed in the next update.
Rob – Mendeley developer