LinuxQuestions.org
Visit Jeremy's Blog.
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 06-22-2016, 10:10 AM   #16
Certina58
LQ Newbie
 
Registered: Jun 2016
Location: Poland
Distribution: QB64_x64
Posts: 18

Original Poster
Rep: Reputation: Disabled

rknichols

When you try to open the flash drive displays the message:
"There was a problem running this software. You can not determine the location of the program.". Probably during compilation it is assigned the path to the compiler In relation compiled file. Surely this can not be solved. Interestingly, this program in Windows version 7/10 works correctly even with the stick.
 
Old 06-22-2016, 10:32 AM   #17
Certina58
LQ Newbie
 
Registered: Jun 2016
Location: Poland
Distribution: QB64_x64
Posts: 18

Original Poster
Rep: Reputation: Disabled
jamison20000e
Some place like e.g: Dropbox https://www.dropbox.com/ can help to share it unless you have a link where you got it (is it from QB64_x64?)

Enter your e-mail, send it along.
I have a website, but not proper to advertise.
 
Old 06-22-2016, 10:45 AM   #18
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,592

Rep: Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114
Quote:
Originally Posted by Certina58 View Post
rknichols

When you try to open the flash drive displays the message:
"There was a problem running this software. You can not determine the location of the program.".
Continuing with a somewhat more educated guess this time, the program may be trying to find a filesystem path to its location and fails if that directory is not in your search PATH variable. In Windows, PATH includes the current directory ("."). In Linux, it usually does not. You can try executing it with its full path, or temporarily include the directory where the program resides in your PATH.
 
Old 06-22-2016, 11:03 AM   #19
Certina58
LQ Newbie
 
Registered: Jun 2016
Location: Poland
Distribution: QB64_x64
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thank you
I am new to Linux. Terminology + translation language, it becomes difficult barrier to break through.
 
1 members found this post helpful.
Old 06-22-2016, 12:15 PM   #20
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
Continuing with a somewhat more educated guess this time, the program may be trying to find a filesystem path to its location and fails if that directory is not in your search PATH variable. In Windows, PATH includes the current directory ("."). In Linux, it usually does not. You can try executing it with its full path, or temporarily include the directory where the program resides in your PATH.
This smacks of the autorun.inf behavior inserting new media on the Windows world of OSs.

Last edited by Habitual; 06-22-2016 at 01:26 PM.
 
Old 06-22-2016, 01:34 PM   #21
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,592

Rep: Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114
Well, there's nothing "auto" about it, so I don't see the similarity. Some programs need access to a variety of resource files. For programs that are properly installed in the OS, the locations of those files (places like /var/lib/{progname}, /usr/share/{progname}, or /opt/{progname}) are compiled into the program. Programs that run without being installed often try to find those files in the directory where the executable resides. Finding that directory is not necessarily straightforward, and relies on clues like "$PATH" and "$0". If that search was coded assuming a Windows environment, it might fail in Linux when the executable is located in an unusual location like a mounted USB flash drive.

Anyway, at this point it's far from certain that this is what is happening here. My suggestions would help to pin that down.
 
1 members found this post helpful.
Old 06-22-2016, 02:31 PM   #22
Certina58
LQ Newbie
 
Registered: Jun 2016
Location: Poland
Distribution: QB64_x64
Posts: 18

Original Poster
Rep: Reputation: Disabled
The first time I use Dropbox.
Link to the file below. Maybe someone manages to open the program. Compiled in Ubuntu 16.04 LTS - compiler QB64_x64, 64-bit version


https://www.dropbox.com/s/3hwuoeo5estte87/DATA_64?dl=0
 
Old 06-22-2016, 04:15 PM   #23
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,508
Blog Entries: 3

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
Smile

Here I am "secure" to open it.
But, can't read it and see why "we" can't paste it to translate...

So that was http://www.linuxquestions.org/questi...6&d=1466359447
crated when you compiled QB64_x64?

I did find this: http://www.qb64.net/forum/index.php?topic=12797.0
and may help someone to figure more out (if so?)

Or, maybe recompiling it elsewhere and\or finding more about how this works: http://www.linuxquestions.org/questi...ml#post5564768
?

Last edited by jamison20000e; 06-22-2016 at 04:16 PM. Reason: added (if so )
 
Old 06-22-2016, 05:55 PM   #24
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,592

Rep: Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114Reputation: 2114
The only problem I see when running that file is that Ubuntu, like many other recent Linux distributions, does not permit execution from an automounted USB flash drive. It runs fine from anywhere else. I don't see the same message that you do, but my system isn't installed with Polish as its default language, and I might be using a file manager that is not the one you are using.

Forget about my above comment about the program needing to find itself. That does not seem to be the problem here. (I did say it was just a guess.)
 
1 members found this post helpful.
Old 06-23-2016, 09:44 AM   #25
Certina58
LQ Newbie
 
Registered: Jun 2016
Location: Poland
Distribution: QB64_x64
Posts: 18

Original Poster
Rep: Reputation: Disabled
jamison20000e

Do you already have on Your computer to run my program ?.
 
Old 06-23-2016, 10:14 AM   #26
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,508
Blog Entries: 3

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
Quote:
Originally Posted by Certina58 View Post
jamison20000e

Do you already have on Your computer to run my program ?.
I did but:
Quote:
Originally Posted by jamison20000e View Post
Here I am "secure" to open it.
But, can't read it and see why "we" can't paste it to translate...

So that was http://www.linuxquestions.org/questi...6&d=1466359447
crated when you compiled QB64_x64?

I did find this: http://www.qb64.net/forum/index.php?topic=12797.0
and may help someone to figure more out (if so?)

Or, maybe recompiling it elsewhere and\or finding more about how this works: http://www.linuxquestions.org/questi...ml#post5564768
?
 
Old 06-23-2016, 10:24 AM   #27
Certina58
LQ Newbie
 
Registered: Jun 2016
Location: Poland
Distribution: QB64_x64
Posts: 18

Original Poster
Rep: Reputation: Disabled
Instead of emoticons write yes or no.
 
Old 06-23-2016, 10:41 AM   #28
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,508
Blog Entries: 3

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
Quote:
Originally Posted by jamison20000e View Post
I did but:
Equals(==) yes (but,) in Poland too... instead of looking at read what you can ask if you can't!

Last edited by jamison20000e; 06-23-2016 at 10:42 AM.
 
Old 06-23-2016, 10:54 AM   #29
Certina58
LQ Newbie
 
Registered: Jun 2016
Location: Poland
Distribution: QB64_x64
Posts: 18

Original Poster
Rep: Reputation: Disabled
God bless you for the good word ...
-----------------------------------

To the Forum Administrator.
Subject to closing.
Resolved by -> jamison20000e

-------------------
Regards - Certina58
 
Old 06-23-2016, 11:00 AM   #30
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on freest; has been KDE, CLI, Novena but open... http://goo.gl/NqgqJx &c ;-)
Posts: 4,508
Blog Entries: 3

Rep: Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482Reputation: 1482
That one's a little tricky to find out as well but at the top of this page is "Thread Tools..." where you may...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
script to insert no. of lines in a file to the start of the file LarsB Linux - Newbie 3 09-17-2009 09:22 PM
Slackware Start-up file etc/rc.4 Reimerd Linux - Newbie 5 07-08-2008 04:00 PM
How can read from file.txt C++ where can save this file(file.txt) to start reading sam_22 Programming 1 01-11-2007 06:11 PM
Start a file eye7 Programming 3 08-09-2005 05:42 PM
Script that appends a file to start of other file amp2000 Programming 8 06-30-2002 10:56 AM

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

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