Ubuntu :: Executing A File In WINE That Was A C++ And Was Compiled Into A .exe?

Dec 15, 2010

when I try executing a file in WINE that was a C++ and was compiled into a .exe I get:

Code:
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
err:module:import_dll Library MSVCP90.dll (which is needed by L"Z:\home\server\ms\MCServer.exe") not found

[code]...

View 5 Replies


ADVERTISEMENT

General :: Get A Windows Compiled Program To Work Through Wine?

May 28, 2010

I'm currently trying to get a windows compiled program to work through Wine to run on Linux and MacOSX.

When I run the program through wine, it prompts me to install Gecko which I do. Later on in the program, it attempts to use MSHTML to render HTML but I get these error messages on my console instead.

err:mshtml:init_xpcom NS_InitXPCOM2 failed: 80004005
err:mshtml:HTMLDocument_Create Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hres is 0x80040111

I'm using Wine 1.1.34 and a similar bug was supposedly fixed in 1.1.33 [URL]

View 3 Replies View Related

Ubuntu Security :: Executing A Virus With Wine?

Mar 1, 2011

if I executed a Windows Virus in the program "Wine" in Ubuntu.

View 9 Replies View Related

Ubuntu :: Allow Executing File As Program?

Apr 22, 2011

On the `Install Properties` Menu , I am not allowed to check the: Allow executing file as program...

View 2 Replies View Related

Ubuntu :: 'Allow Executing File' But It Keeps Unchecking

Apr 30, 2011

I installed wine in the new Ubuntu 11, but when i right click and go open with wine it says that its not marked as executable! then i went right click and properties and under the permissions i clicked "Allow executing file" but it keeps unchecking!

View 9 Replies View Related

Programming :: Make The Robot Obey Compiled .cc File?

Jun 20, 2011

Player-Stage uses .cc files. I know how to compile them. But how do I actually execute my code? There is an output file generated. There is nothing in the .cfg file or in the .world file that specifies what program to use to run the robot. Or is it not specified in the world or cfg files?

Then how to make the robot obey my compiled .cc file? If this question is silly or if I am asking stupid questions

View 5 Replies View Related

Ubuntu :: All .rtf Files Have "Allow Executing File As Program" Box Checked Under Their File Permissions

May 17, 2010

A bunch of my .rtf files suddenly (within the last few days, not sure when) have the "Allow Executing File as Program" box checked under their file Permissions. So whenever I try to open an rtf document, it asks if I want to run it. What's up with that?

View 3 Replies View Related

SUSE / Novell :: File Holds The Modules To Be Compiled With Mkinitrd

Jul 13, 2010

We are running SLES 10.3, I am running Novell's support advisor and it is reporting some old hardware that is failing on bootup, one being a QLogic card and another being flex net network adapter. I was looking around for where the file or directory is that holds the list of modules to be loaded when compiling the kernel but SLES does not seem to match other Linux distro's, at least from the other posts I read for where to find these.

View 3 Replies View Related

Ubuntu :: Reading Lines From File And Executing Scripts?

Jul 21, 2010

I am trying to create a script that reads a list of url's from a text file and then executes the same script for each line. This is what I am looking for:

elinks -dump $(url's in file, one by one) | grep "reply" > jobs.txt

View 6 Replies View Related

Ubuntu :: Can't Mark Allow Executing File As Program / Resolve This?

Oct 23, 2010

Yesterday,I upgraded to ubuntu 10.10
then when i try to mark allow executing file as program it unmarks itself although i used it on ubuntu 10.4

View 9 Replies View Related

Ubuntu Servers :: Executing PHP File Via Command Line

Nov 16, 2010

I have a php file that I need to execute via a cronjob. This file should be run by the www-data user as its a file in my /var/www/project folder. When I run this file under root (php -f cron.php) everything works perfectly, but I want it to run under the www-data to be safe. Before I run it vai crontab I tried it via command line as the www-data user and I receive errors:

Fatal Error: Allowed memory size of 8388608 bytes expired (tried to allocate 232 bytes).

But when I run it as the root user I get no errors and everything works correctly. The file cron.php is used to process automated tasks in my CRM. So I don't really want to have the root user running a crontab every few minutes for this.

Must the www-data user be given more permissions? I am using Ubuntu 6.06LTS
PHP - 5.1.2
Apache - 2.0.55
MySQL - 5.0.22

View 4 Replies View Related

Fedora :: Allow Executing File As Program?

Apr 18, 2011

i have many text files in my directory and when i click on them to open them os treat it as a runnable file any says display or run or run in terminal ... i want to pick up recursively the tick of "Allow executing file as program" for all files.

View 2 Replies View Related

General :: Executing File Of Some Other Directory From PWD

Jan 14, 2010

My present working is
Code:
linux:/home/anisha/downloads/mapnik-0.6.1/demo/c++ #
Now I want to run "python scons/scons.py" located in
Code:
linux:/home/anisha/downloads/mapnik-0.6.1/ #

I tried
Code:
../../python scons/scons.py
From the above stated PWD but it resulted in the following:
Code:
bash: ../../python: No such file or directory
What is the way to execute a file of some other directory from the PWD!

View 14 Replies View Related

General :: Executing Awk Script Without File Name?

Jul 15, 2010

Code:

#!/usr/bin/awk -f
BEGIN{ FS=":"}
{
"groups "$1 | getline grps

[code]....

View 5 Replies View Related

Fedora :: Unable To Check "allow Executing File As Program" In File Properties - Permission Denied

Feb 27, 2011

Im trying to run a program but my system won't let me.i used to be able to run executable files without a problem but i can't anymore when i double click the file i get "there is no application installed for executable files" i am unable to check "allow executing file as program" in file properties there is a script file which runs the program but all i get from the terminal is "permission denied"

View 14 Replies View Related

General :: Executing And Killing A Process From Sh File?

Dec 21, 2010

i have recently started a bit of sh coding. i was trying out sm commands from an sh file.

#!/bin/bash
txt1="top > temp.txt"
eval $txt1

[code]....

View 14 Replies View Related

Programming :: Cuting/executing Text From A File?

Aug 25, 2010

I need a way to read and delete text found before a unique string, then delete the string. I would like to have the text stored in a variable--or better yet--executed it as a shell script directly.I intend to execute the stored text in bash. It does not matter much what language the program is it, however efficiency is desirable. This script is not going to be used on large files, but it may be executed many times sequentially so the faster the script works the better. Here is an example:

exclamation-"It worked!"
echo $exclamation
cd

[code]....

View 7 Replies View Related

Programming :: Script By Passing A FILE Without Executing It?

Mar 20, 2010

what i did is created a file called pro3types but the script starts & by pass the file. i added +x to file ran the process but still no luck. i was wondering what else i should change to get the menu to the sub-categories of product3 after users selecting it. all I need to get the pro3types runs after users selecting product3 from the previous menu. need more info please see the thread: "Adding New Selections to the existing Script"

[URL]

but here is code:

Code:

#!/bin/sh
echo SELECTTYPE
export -n selecttypechoice

[code]....

View 5 Replies View Related

Ubuntu :: Permission Denied Errors When Executing A File On A Different Hard Drive?

Sep 8, 2010

I installed Ubuntu 10.10 beta yesterday and most of it is working very well. However, I ran into a problem with permissions today.I have a HDD containing my home folder and a HDD containing my data folder. The HDD with the data folder is mounted on /media/data/data_1.

Code:
jensen@jensen-desktop:~$ ll /media/data/ | grep data_1
drwxrwxrwx 8 jensen jensen 4.0K 2010-09-07 23:10 data_1/[code]....

I made sure I had set a+x rights on the file, tried executing it as root but the permission error stayed.When I copy that same file to my Desktop folder I can perfectly execute it.When it's located on the other hard drive I can't. I tried several command line scripts and they all work when I execute them from my OS hard drive,but not from another hard drive.

View 2 Replies View Related

General :: Executing PHP File And Read Output To Program

Jun 29, 2011

I'm using Ubuntu and I'm programing with eclipse CDT. My goal is to execute a php file and read the output to my c++ program. To do so I thought I should use fork(), dup2() and execl. When in shell, the call "php myscript.php" worked just fine, but when in c++ I tried:
execl("usr/bin/php", "php", "home/geiger/workspace/SemiServer/server_content/myscript.php", NULL);
And it didn't work (the process wasn't terminated and I got no output). I tried different version of this call, like losing the "php" string and/or drop "home/geiger" from the path string, to no better result.

View 1 Replies View Related

General :: Read And Execute Permissions For Executing The File

Mar 2, 2010

Binary files need only execute permission to execute. No read permission is required. But all executable files must be read by the kernel into main memory before executing. Also script files need both read and execute permissions for executing the file.

View 5 Replies View Related

Server :: Stop Squid Before Executing Crontab File?

Mar 14, 2011

I am using squid 2.6 on my cent os 5 .I want to shutdown the system at 7:00 pm for that purpose I write in# crontab -e 0 19 * * * /sbin/shutdown -h nowThe thing which I want to clear that when the system will going to turn off it will also stop squid service? If not then how can I automatically stop squid service and then crontab file execute

View 6 Replies View Related

Fedora :: Cron Job (Play Media File At Certain Time) Not Executing

Nov 6, 2009

I wanted to use cron to play a media file at a certain time (i.e. use it as an alarm clock). However it seems to do nothing. The contents of my crontab is:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * command to be executed
5 11 * * * env DISPLAY=:0.0 /usr/bin/totem /path_to_file

View 2 Replies View Related

General :: Executing The Default Application Assigned To A File Type?

Dec 10, 2010

Using gnome terminal (Ubuntu 10.10), is there a way to execute the default application associated to a file type, only by typing its name, as it is possible with Windows ?

For example, say I create a mime type associated to every file with the pattern *.abc. Lets say I associate this file type to application 'my_app'.

If I have file 'my_file.abc' in current folder, what I want is that when I enter only 'my_file.abc' at the prompt, it executes 'my_app' feeding it with 'my_file.abc' as first argument. (assuming of course 'my_app' is in the path)

View 3 Replies View Related

Red Hat / Fedora :: Executing A File - Showing Error - Command Not Found

Aug 23, 2010

I m using Redhat Linux 5......I am trying to install Nero 4 DVD Writer s/w...It is an exe file ...

I have given permission like this:

Then i execute the file like this:

Its showing error like this:

View 9 Replies View Related

General :: Executing File Resulting In Permission Denied Error

Apr 21, 2010

I am wondering why running this file:

Code:
-rwxrwxrwx 1 root root 1247 2010-04-21 18:25 autorun.sh
by issueing this command:

Code:
./autorun.sh
results in this message:

Code:
-bash: ./autorun.sh: Permission denied

I'm logged in as root and prior to the above I did a chown root:root on the file.

View 3 Replies View Related

General :: Executing Binaries - Pass The Hostname As A Variable Or Read From A File?

May 2, 2010

I am looking for a clue in shell or ant script, where I excecute a binay file on linux. For example ./myfile.bin which ask me few questions.

./myfile.bin ...........................100%

I would like to automate this process where I want to pass the hostname as a variable or read from a file is it possible? If yes any sample`s on this. I can do if this was a shell script ($1) but not sure when its binary.

View 8 Replies View Related

Ubuntu Multimedia :: Convert Ogg To Mp3 - Sox My.ogg My.mp3: "sox FAIL Formats: Can't Open Output File `x.mp3': SoX Was Compiled Without MP3 Encoding Support"

Sep 17, 2010

I have a few ogg files that I want to put on my phone. My phone doesn't play oggs, so I need to convert. It's just an audiobook so I really don't care about quality. Oddly, nothing I try seems to be up to the task. Here's what I tried so far:

sox my.ogg my.mp3: "sox FAIL formats: can't open output file `x.mp3': SoX was compiled without MP3 encoding support" mencoder: wants video too?? Wha?? vlc (from GUI): "p, li { white-space: pre-wrapStreaming / Transcoding failed: It seems your FFMPEG (libavcodec) installation lacks the following encoder: MPEG Audio layer 1/2/3. If you don't know how to fix this, ask for support from your distribution.

This is not an error inside VLC media player. Do not contact the VideoLAN project about this issue." lame my.ogg my.mp3: "sorry, vorbis support in LAME is deprecated." audicity (via GUI): success..but I'm now going to have to somehow script it. This is very annoying. It makes me want to rip directly into mp3 from now on. Is there an easy way to convert an ogg file to an mp3 from the command-line?

View 9 Replies View Related

Ubuntu :: "No Such File Or Directory" Error On Executing Binaries?

Dec 10, 2010

I am actually running Linux Mint 10 64-bit, which should be essentially identical to Ubuntu 10.10.

When I attempt to execute a Linux binary file that I have downloaded from the internet, I get the error "No such file or directory." I have eliminated all sources of user error as explanations: I am in the correct directory; 'ls' displays the file in question as present. I am prefixing the command with './' The permissions on the files are correct and they are marked as executable

The specific cases where I have problems are with the Mathematica Player freeware program from Wolfram, the Foldit protein folding game, and the XPP-Aut dynamical system program. I have used the Foldit and XPP-Aut binaries previously on other Linux distros, including Ubuntu, so I don't believe there is any problem with the files themselves.

why Mint can't execute these binaries?

View 3 Replies View Related

Ubuntu :: Can't Get "allow Executing File As Program" To Work

Apr 14, 2011

ive got a second hard drive which is ntfs. it's got some windows programs that i'd like to run in wine. problem is i can't get "allow executing file as program" to work. when i click that, it doesn't stick.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved