FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Getting Another Editor to Work on an NSLU2 with mt-daapd
- This topic has 14 replies, 4 voices, and was last updated 18 years, 6 months ago by Sherlock.
-
AuthorPosts
-
08/06/2006 at 5:31 PM #4932fizzeParticipant
well, you sure you did the whole ‘ipkg update’ stuff ?
here’s parts of the ls -l from my /opt/bin dir:
lrwxrwxrwx 1 root root 3 May 1 20:07 jmacs -> joe
-rwxr-xr-x 1 root root 280836 Apr 17 05:24 joe08/06/2006 at 6:06 PM #4933SherlockGuest@fizze wrote:
well, you sure you did the whole ‘ipkg update’ stuff ?
here’s parts of the ls -l from my /opt/bin dir:
lrwxrwxrwx 1 root root 3 May 1 20:07 jmacs -> joe
-rwxr-xr-x 1 root root 280836 Apr 17 05:24 joeI printed out all the IPKG instructions and followed them to the letter. I also made sure that the two other items that were required for ‘joe’ were also installed OK as part of the install.
Other than the dates being different on my ls -l, are you saying there are other problems with what mine shows?
lrwxrwxrwx 1 root root 3 May 26 19:06 jmacs -> joe
-rwxr-xr-x 1 root root 280836 May 23 08:32 joe10/06/2006 at 10:43 AM #4934sonichouseParticipantYou need to ensure that /opt/bin is in your path. This is required for most ipkg installed apps.
More info http://slugbug.nslu2-linux.org/bug.php?op=print&bugid=236
10/06/2006 at 7:01 PM #4935SherlockGuest@sonichouse wrote:
You need to ensure that /opt/bin is in your path. This is required for most ipkg installed apps.
More info http://slugbug.nslu2-linux.org/bug.php?op=print&bugid=236
Thanks for the pointer. What is outlined got me ‘pass go’, but the ‘joe’ editor would still not run. However, in reviewing some information I found on solutions people found for the ‘nano’ editor, by setting my TERM variable, then ‘joe’ worked. I don’t have time right now to try and create a permanent solution, but as soon as I do I will post it for the Linux experts to review and for Linux Newbies like myself who need a better editor than ‘vi’.
11/06/2006 at 5:27 AM #4936SherlockGuestI will post what I learned from my efforts to get the ‘joe’ editor to work on my Unslung V2.3R63-uNSLUng-6.8-beta NSLU2. If those more skilled in Linux will check this over and let me know if I have made changes in error, I will edit this to hopefully have an accurate solution.
My configuration is a single USB disk drive in port 2 which seems to be the recommendation to allow future options with the more capable port 1. I don’t know if the problems I experienced with getting the ‘joe’ editor to work are due to my configuration.
The first thing to check on your system if the ‘joe’ editor does not work after doing an IPKG INSTALL JOE (assuming there were no errors in the install) are the settings for the following variables:
echo $PATH
Check if the current setting includes /opt/bin. In my case, it did not. I issued the command:
export PATH=/opt/local/bin:/opt/bin:$PATH:/opt/sbin:/opt/usr/bin:/opt/usr/sbin
echo $LD_LIBRARY_PATH
I failed to check this but it probably was blank. Issue the command:
export LD_LIBRARY_PATH=/opt/lib
echo $TERMINFO
In my case this variable was blank. Issue the command:
export TERMINFO=/opt/share/terminfo
echo $TERM
In my case this variable was blank. I found discussion from people with similar problems getting the ‘nano’ editor to work that indicated this variable needs to be set to a valid terminal emulator. I tried first not setting this variable but when I tried to run ‘joe’ I received the message ‘Couldn’t load termcap/terminfo entry’. I did not know how to list the available terminals in the terminfo database, so I simply tried:
export TERM=vt100
After I did this, the ‘joe’ editor worked.
At this point I had a working editor, so the next step was to use the solution outlined in the slugbug document and create /etc/profile.
export PATH=/opt/local/bin:/opt/bin:$PATH:/opt/sbin:/opt/usr/bin:/opt/usr/sbin
export LD_LIBRARY_PATH=/opt/lib
export TERMINFO=/opt/share/terminfo
export TERM=vt100A reboot of my NSLU2 and now I can run ‘joe’.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.