LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2015, 01:03 AM   #16
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231

Quote:
Those errors suggest that some Windows editor has been used
since in my office we have to use windows, I must copy and past codes to notepad. I tried to use cygwin and virtualbox to run linux on windows platform but the result is not functional due to my system resources.
anyway I will test it tonight at home
thanks again my friend
 
Old 03-02-2015, 07:27 AM   #17
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by travis82 View Post
since in my office we have to use windows, I must copy and past codes to notepad. I tried to use cygwin and virtualbox to run linux on windows platform but the result is not functional due to my system resources.
anyway I will test it tonight at home
thanks again my friend
If your work allows you to install programs, I can highly recommend Notepad++ for editing files meant for linux (and for files meant for Windows). It is just a great, simple program. I know wordpad (included with Windows and is a step up from notepad) can properly read files that were created using LF instead of CRLF, however, I don't know whether it will create files that way, so that would need to be determined by you.
 
Old 03-02-2015, 11:47 AM   #18
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Those errors suggest that some Windows editor has been used, which has created CRLF line endings.
In your Linux , try
Code:

mv goldendict.SlackBuild goldendict.SlackBuild.old
fromdos < goldendict.SlackBuild.old > goldendict.SlackBuild

and then rerun the SlackBuild.
worked. although there is some problem during installation some persian dictionary. but there are many useful bgl dictionary I can use.

Quote:
If your work allows you to install programs, I can highly recommend Notepad++ for editing files meant for linux (and for files meant for Windows)
thanks a lot. I will use it.

Last edited by travis82; 03-02-2015 at 11:53 AM.
 
Old 03-03-2015, 06:22 AM   #19
polyph
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Rep: Reputation: 3
Quote:
there is some problem during installation some persian dictionary.
Sorry, my mistake. Cancel ".BGL" and just leave "*" character on line 91 of slackbuild,

Code:
cp $CWD/dictionaries/* $PKG/usr/share/apps/goldendict/dictionaries
script will copy every file inside your "dictionaries" directory.
 
Old 03-03-2015, 11:43 PM   #20
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Sorry, my mistake. Cancel ".BGL" and just leave "*" character on line 91 of slackbuild,

Code:

cp $CWD/dictionaries/* $PKG/usr/share/apps/goldendict/dictionaries

script will copy every file inside your "dictionaries" directory.
thanks a lot my friend and sorry for taking your time. I will test it tonight. I had to install dictionaries manually via goldendict itself which causes program crash.

Last edited by travis82; 03-04-2015 at 01:27 AM.
 
Old 03-04-2015, 12:13 AM   #21
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Sorry, my mistake. Cancel ".BGL" and just leave "*" character on line 91 of slackbuild,

Code:

cp $CWD/dictionaries/* $PKG/usr/share/apps/goldendict/dictionaries

script will copy every file inside your "dictionaries" directory.
thanks a lot my friend and sorry for taking your time. I will test it tonight. I had to install dictionaries manually via goldendict itself which causes program crash.

Last edited by travis82; 03-04-2015 at 01:24 AM.
 
Old 03-05-2015, 02:50 AM   #22
travis82
Member
 
Registered: Feb 2014
Distribution: Bedrock
Posts: 437

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by polyph View Post
Sorry, my mistake. Cancel ".BGL" and just leave "*" character on line 91 of slackbuild,

Code:
cp $CWD/dictionaries/* $PKG/usr/share/apps/goldendict/dictionaries
script will copy every file inside your "dictionaries" directory.
nope
the SlackBuild copies all of my dictionaries to /usr/share/app/goldendict/dictionaries but after launching goldendict none of them loaded by default and I must install them manually which lead to an unresponsive situation and I have to kill it via task manager
 
Old 03-05-2015, 12:45 PM   #23
polyph
LQ Newbie
 
Registered: Apr 2012
Posts: 10

Rep: Reputation: 3
I think dictonaries have to be installed manually. Sorry I can't help you about the "unresponsive situation" problem, you could delete ".goldendict" directory in your home and reinstall again dictionaries running program in console maybe output helps
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Goldendict dictionary fails "make install" neymac Slackware 2 06-17-2013 01:04 PM
Ubuntu 11.10 GoldenDict 1. won't read archives 2. not working online Nityanandi Ubuntu 1 01-01-2012 07:09 PM
LXer: GoldenDict: A Dictionary Nugget LXer Syndicated Linux News 0 07-02-2009 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration