LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2017, 01:30 PM   #1
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Rep: Reputation: Disabled
Trying to install some software (for godssake)


Hi everyone.

I am trying to install this software: Lingua

In order to do so, I see that I need to install:
  • OpenJDK ≥6u10
  • Ant
  • Antlr3
  • JOptSimple≥4.5.3
  • Java-Gnome (libjava-gnome-java & libjava-gnome-jni) ≥ 4.1.2

And indeed, trying the commands that would install Lingua, I get an error about Ant. So, I downloaded Ant from here, copy it in the home directory, extract it, and then I find these installation instructions.

Something is telling me that it's going to be a long long road to install that damn Lingua. Most probably I will give up before the end, but for the time being I keep trying.

Now, I need to figure out how to set all these environment variables.

Before that a simple question. After installation, is the program going to be used from this directory, where it got extracted? Because now it's in my /home and I don't like to see it there. I don't want my /home to get full of directories from extracted stuff like that.

What is customary? where do we put a program we extract in order to install it?
 
Old 12-09-2017, 04:15 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
well if we do not know your operating system then all we can tell you is to build all and every prerequisite and all the prerequisite of the prerequisite from source

a pain in the rear end


use your PACKAGE MANAGER to install software

for debian use "apt-get"
for a redhat based os use yum or dnf ( fedora only)
 
Old 12-09-2017, 05:38 PM   #3
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Original Poster
Rep: Reputation: Disabled
Hi John. I use Linux Mint 18.3 "Sylvia" - Cinnamon (64-bit).

For all I know Lingua is not available through the Software Manager but you were right. Ant, Antlr3 and openjdk-9 were there and I installed them.

JOptSimple and Java-Gnome didn't show up when I searched for them.

So I tried once again to make that Lingua but got errors:
Code:
compile:
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/build.xml:29: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 81 source files to /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/build
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:40: error: package joptsimple does not exist
    [javac] import joptsimple.OptionException;
    [javac]                  ^
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:41: error: package joptsimple does not exist
    [javac] import joptsimple.OptionParser;
    [javac]                  ^
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:42: error: package joptsimple does not exist
    [javac] import joptsimple.OptionSet;
    [javac]                  ^
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:43: error: package joptsimple does not exist
    [javac] import joptsimple.OptionSpec;
    [javac]                  ^
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:64: error: cannot find symbol
    [javac]         OptionParser parser = new OptionParser("hVif:");
    [javac]         ^
    [javac]   symbol:   class OptionParser
    [javac]   location: class Main
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:64: error: cannot find symbol
    [javac]         OptionParser parser = new OptionParser("hVif:");
    [javac]                                   ^
    [javac]   symbol:   class OptionParser
    [javac]   location: class Main
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:65: error: cannot find symbol
    [javac]         OptionSpec<String> remainingArgs = parser.nonOptions().ofType( String.class );
    [javac]         ^
    [javac]   symbol:   class OptionSpec
    [javac]   location: class Main
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:68: error: cannot find symbol
    [javac]             OptionSet options = parser.parse(arguments);
    [javac]             ^
    [javac]   symbol:   class OptionSet
    [javac]   location: class Main
    [javac] /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/Main.java:101: error: cannot find symbol
    [javac]         } catch (OptionException uoe) {
    [javac]                  ^
    [javac]   symbol:   class OptionException
    [javac]   location: class Main
    [javac] Note: /home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/src/glossa/external/ExternalSubprograms.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 9 errors

BUILD FAILED
/home/myUserName/Προγράμματα/glossa-interpreter-1.0.8/build.xml:29: Compile failed; see the compiler error output for details.

Total time: 3 seconds
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 1
 
Old 12-09-2017, 05:58 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
this link explains your errors

https://github.com/cyberpython/gloss...reter/releases
the last update was 2014
https://github.com/cyberpython/glossa-interpreter

that error looked like a too NEW version of the compiler is being used on OLD software
-- and it is --

install a older version of gcc and Python
and have fun ( as in, a pain in the rear end fun. )

but USE caution

you have to install the older gcc and python in a "side by side" install

a question

Is this a MUST USE program ?
it is 4 years out of date and UNSUPPORTED
 
Old 12-10-2017, 01:15 AM   #5
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Original Poster
Rep: Reputation: Disabled
Well, it would be just great to have it but this is where I stop.

Do you think I should de-install all the extra sofware I installed to make this one work?

Thanks
 
Old 12-10-2017, 03:54 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
what does Lingua do?

maybe alternatives exist?
 
Old 12-10-2017, 04:10 AM   #7
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Original Poster
Rep: Reputation: Disabled
It's a very specific educational pseudocode environment. There is one alternative for windows that can run under wine. I might go for that one. I don't see that I can avoid wine eventually.
 
Old 12-10-2017, 10:46 AM   #8
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Mint seems to be one of the harder Linux os to build software from source. I prefer something a little less bloated such as salix, arch, puppy,etc.

Remember where there is a will there is a way. I'd set up another install of Linux(either virtual box or dual boot) with the right compiler etc.

If you actually do get this software built, let us know in case someone else has that problem too.

Have Fun!
 
Old 12-10-2017, 10:57 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i also tend to forget that i have been building from source for most of the software is use since 2005

it can be intimidating at first


i like to use Gimp as a example for new and new'ish users

it is SO WELL documented and there are so many guides for the parts that it needs
and using a "custom" install location and a "config.site", a short text file pointing autotools to that custom install location .


it might be a bit hard at first but within a few months of building even SMALL programs and games it really dose get easier

-- MOSTLY , even for experts there are a few things that are a ROYAL pain in the rear end
 
Old 12-10-2017, 11:35 AM   #10
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Surely the problem is that you didn't install JOptSimple and Java-Gnome. As shown in your original post, Java-Gnome is equivalent tp libjava-gnome-java and libjava-gnome-jni: did you try to install those two from Mint? JOptSimple seems to be missing even from Debian, but you can get it here
http://sourceforge.net/projects/jopt-simple/
 
Old 12-10-2017, 05:28 PM   #11
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Original Poster
Rep: Reputation: Disabled
@John VV, I wouldn't like to downgrade Python etc. because I'm sure, next thing I know will be that some other program. Especially when it seems like all this is going to be a tough task (but then, isn't just everything in the Linux world?)

@DavidMcCann, is it obvious that Java-Gnome is equivalent to libjava-gnome-java and libjava-gnome-jni? I feel stupid already. I searched for the two (libjava-gnome-java and libjava-gnome-jni) with the manager but nothing comes up. Then I downloaded JOptSimple from the link you provided. And then what?

Anyway, forget about it. Thanks for trying to help. I really appreciate it but I'm already way too frustrated to get on with this impossible task. I think it might prove undoable to actually get all the programs I need, on my laptop.

I will have to learn how to use Wine. See if I have more luck there.

Last edited by mazerunner; 12-10-2017 at 05:31 PM.
 
Old 12-10-2017, 05:45 PM   #12
mazerunner
Member
 
Registered: Nov 2017
Posts: 57

Original Poster
Rep: Reputation: Disabled
Indeed, I installed that other Windows program under wine-el, which I understand is a wine variant that seeks to solve some problem wine has with greek characters. It seems to work, eventhought the look and feel is kind of ugly.

Now, I will have to study about wine a little.
 
Old 12-10-2017, 07:00 PM   #13
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by mazerunner View Post
I wouldn't like to downgrade Python etc. because I'm sure, next thing I know will be that some other program. Especially when it seems like all this is going to be a tough task (but then, isn't just everything in the Linux world?)


Anyway, forget about it. Thanks for trying to help. I really appreciate it but I'm already way too frustrated to get on with this impossible task. .
I have two versions of python running on my LFS. And no not everything is tough on Linux(have you ever compiled something on Windows?) and no this is not impossible. but do as you wish that is the best thing about Linux.
 
  


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] Is it better to install software from the Ubuntu Software Center or Synaptic Package Manager? Gregg Bell Linux - Software 21 06-01-2016 03:04 AM
LXer: How to Install Third Party Software in Ubuntu Software Center LXer Syndicated Linux News 0 09-03-2013 11:50 PM
while install software i got error as software Linux Installer cannot be run as root mgbreddy Linux - Software 2 05-21-2010 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:20 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