Ubuntu :: Can't Run Compiled Code

Jan 12, 2010

I am running Ubuntu 9.10. If I compile a 'hello world' C file using the terminal, something like:

gcc hello.c -o hello

the compile seems to work fine, and the executable file 'hello' appears in the directory.

However, when I try to run 'hello' from the terminal, I get something like the following:

No command 'hello' found, did you mean: .......

If I run dir, though, I can see 'hello' is there. I also can't run code I compiled when I was running 9.04. The OS again can't seem to find the executable file.

Everything worked fine with version 9.04. I could compile and run without any problems. Is there some setting I have to change to allow the OS to run my code?

View 3 Replies


ADVERTISEMENT

Ubuntu :: Can't Run Compiled Code - Permission Denied

Feb 7, 2010

I'm trying to run my compiled code and it's giving me this:

bash: ./main: Permission denied

View 6 Replies View Related

Fedora :: Uninstall Self-compiled Tcl / Tk Code?

Jun 18, 2010

I am running fedora 12. I had could nor locate the Tcl/Tk on the system, so I had to download, compile and intstall the raw the raw tar balls. That is now causing some problems and I want to revert to the Fedora Tcl/Tk and reinstall it using yum as the self compiled code may not be well integrated with fedora. The make file gives no room for an un-install. I appreciate any ideas on how to go about the un-installation. Secondly the fedora system is running gnome, how may I switch to KDE instead?

View 13 Replies View Related

Debian :: Compiled Source Code And Aptitude?

Jul 11, 2011

I have installed two softwares manually, from the source code downloaded from their official websites: Stellarium, and the Linux Kernel. The version of these is not the same as the one found in the official repos. My question is: does aptitude have knowledge of the existance of these softwares? Can it do any damage to them, in case, for example, I run automatic aptitude tasks, such as autoclean and dist-upgrade?

View 2 Replies View Related

Software :: Link Gfortran Compiled Code With Lapack And Arpack Libraries?

Jun 27, 2009

In mandriva 2008 platform I have installed gcc-g77, liblapack, liblapack-devel, libblas, libblas-devel, arpack, arpack-devel and arpack-static packages. When I link *.f code and these libraries, using g77 compiler with -llapack -lblas -larpack options, everything work. Then when I replaced g77 by gfortran compiler, to be able to work with double precision complex arithmetic, I have got a number of undefined references errors:

[code].....

It looks as if I need to install f95 lapack and arpack libraries. Does anybody know if such rpm packages exist? I cannot find them in the net. If they exist, where is it possible to download them?

View 1 Replies View Related

Programming :: Selenium Java Code Into Equivalent Php Code?

Mar 30, 2011

I need to rewrite the selenium java code into its equivalent php code.

View 5 Replies View Related

Ubuntu :: How To Get RT2570 Drivers Compiled

May 12, 2010

how to get the RT2570 drivers compiled and set up in 10.04 so the my F5D7050 will work? These are some vague instructions elsewhere on the internet but nothing I do seems to work. Everything suggested throws error messages.I just need a link to download the right sources and the relevant commands to get it compiles and set up.

View 5 Replies View Related

Ubuntu :: How To Remove Compiled Kernel

Jan 17, 2011

I compiled the kernel 2.6.36.I want to remove it.How sholud i proceed?

View 1 Replies View Related

Security :: Reset Facebook Password,facebook Send A Code To E-mail,this Code Can Be Sniffed By Sniff Software?

Jul 18, 2010

for reset Facebook password,facebook send a code to e-mail,this code can be sniffed by sniff software?

View 2 Replies View Related

Programming :: Compiled, But Can't Run (fpc)/

Apr 25, 2010

How come the program is compiled without errors but I can't run it?After writing

Code:
./program
blank line appears only.

View 5 Replies View Related

Ubuntu :: Security Patches For Compiled Programs

Apr 27, 2010

I recently installed mplayer I compiled from svn, and now Ubuntu's package manager is showing security patches. If I install these patches, will it mess up the version I compiled and installed?

View 5 Replies View Related

Ubuntu :: Load A Compiled Driver On Boot?

May 8, 2010

I wanted to know if there is any way of adding a driver that i compiled during boot apart from adding it in

Code:
/lib/modules/<kernel version>/kernel/drivers

It works fine till i update to a newer kernel...then i have to add it in the new kernel file....so is there a permanent method?

View 3 Replies View Related

Ubuntu Servers :: Mixing Apt And Compiled Packages?

Jul 21, 2010

I don't want to screw up my system, but I need newer versions of packages then the ones in the apt repos. What is the community consensus on the best way to mix apt package management with building bleeding edge packages from source?

Should I build the source into a package and install it with apt? Should I avoid make install?

I would also like to be able to use multiple versions of the same package, and have some sort of sym link or something to determine which version gets executed.

View 7 Replies View Related

Ubuntu :: Uninstall A Compiled Version Of Gimp?

Oct 2, 2010

I compiled the latest stable version of gimp, but I want to go back to the one in the repositories, how do I uninstall the compiled version?

View 6 Replies View Related

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 View Related

Ubuntu Installation :: Way To Delete Kernel That Compiled?

Feb 19, 2011

what is the correct way to delete the kernel that is compiled by me?

View 1 Replies View Related

Ubuntu :: Can't Launch Compiled Gnome Shell

Jul 1, 2011

After many failures, I succesfully compiled Gnome Shell from GIT. I already did about two months ago on the same machine and everything went ace. This time, when trying to finally launch it with ./gnome-shell --replace, the windows briefly disappear, the screen flashes for a few seconds but the Unity or the Classic Ubuntu desktop are restored normally. This is the output in the terminal:

Code:
giulio@giulio-902:~$ ~/gnome-shell/source/gnome-shell/src/gnome-shell --replace
Gtk-Message: Failed to load module "canberra-gtk-module"
Window manager warning: Log level 8: gtk_style_context_add_provider: assertion `GTK_IS_STYLE_PROVIDER (provider)' failed

[Code]....

View 2 Replies View Related

Ubuntu :: Unable To Boot With Compiled Kerne?

Feb 26, 2011

I compiled a kernel 2.6.37.1 and after compilation i am not able to boot with new kernel. i am getting following errors

Gave up waiting for root device
common problems
-Root args
check root delay
check root
missing modules(cat /proc/modules ls /dev)

Alert : /dev/disk/by-uuid / 975f57c9-c735-47do-93bf-0779fce652b7 does not exist dropping by shell how to correct this

View 1 Replies View Related

Ubuntu :: Running Newly Compiled Kernel - 2.6.39 ?

Jun 9, 2011

I have been trying to build linux from source code and run it from my machine (intel platform).

Here's what I did:

Code:

I am using Grub2. When I rebooted the new kernel was in the grub list all right. But booting from that kernel fails with no errors or warning. The screen just goes blank. The disk usage indicator LED also doesn't glow which I guess means that the kernel isn't being read from the disk. I rebooted using my older kernel and it booted properly. Then, when I listed my /boot directory, I noticed that there was no initrd.img for 2.6.39. kernel in there, which I think is the problem.

View 9 Replies View Related

Ubuntu Servers :: Compiled Mysql Start On Boot?

Mar 24, 2010

I just compiled mysql apache and php from source and I have apache to start up from boot but I don't exactly know how to get mysql to do the same.

Edit: Also how do I add mysql to path? Should I just symlink it to somewhere thats in the path or what? And if that is the case wheres the best place to symlink it too.

View 3 Replies View Related

Ubuntu Installation :: Coexisting Packages And Compiled-from-source?

May 20, 2010

I have recently installed a dev branch of Postfix on my box (jaunty), in order to access some new features. This requires that I do not use any of the postfix-related packages in the repos, I have to set this all up manually.

What is the best method for me to manage this system moving forward? Do I need to prevent the repo's postfix package (or anything depending on it, like postfix-mysql, postfix-dovecot etc.) from ever being installed accidentally? Is there anything else I need to worry about? How do you folks generally manage having compiled, customized versions of software that exists in the repos on your systems?

View 1 Replies View Related

Ubuntu :: RP-PPPoE Plugin Version 3.8p Compiled Against Pppd 2.4.5

May 28, 2010

I have ubuntu 9.04,when i configure my internet connection using pppoeconf i had got this result

RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5

I cant access internet through linux,plz help any reply will be appreciated

View 2 Replies View Related

Ubuntu :: Package Dependencies From Manual Compiled Packages

Jun 29, 2010

I have compiled FFMPEG (and also mplayer and x264) from scratch to always run the latest version. I install ffmpeg using "checkinstall". When compiling FFMPEG manual and installing with checkinstall ffmpeg provides the following libraries: libavutil49, libavcodec52, libavdevice52, libavformat52, libavfilter0, libpostproc51, libswscale0

These can NOT be installed via apt-get (or similar) or the checkinstall will fail. So I have not installed them. The problem now is when I need to install a package (.dep or from Synaptic) that requires one of these a prerequisite. Then it is not "registered" by Synaptic that these are already provided through the FFMPEG build. I have tried to use the --provides flag on checkinstall and I can also see in Synaptic that on the ffmpeg package I installed with checkinstall that it says it provides said packages. I even have tried to modify the checkinstall script and add:

Replaces: libavutil49, libavcodec52, libavdevice52, libavformat52, libavfilter0, libpostproc51, libswscale0

This also triggers Synaptic to list that ffmpeg replaces the packages. But still when I try to install anything that needs these packages it is not recongnized that they are provided by FFMPEG and when I install one of them (e.g. apt-get install libavformat52) then it replaces the FFMPEG library and FFMPEG stops working. So what is going wrong? Is this a bug in Synaptic? How is it possible under ubuntu to install manual compiled packages and have them "act" as correct dependencies for others?

View 2 Replies View Related

Ubuntu Installation :: New Compiled Kernel Not In Grub-menu?

Sep 25, 2010

After having patched the kernel with an ABI-patch I cannot find it in the grub2-Menu OS: Ubuntu 10.04 LTS in /boot I can see: the original and the new config-file

Quote:

config-2.6.30.1ABI-2.6.29.1_4
config-2.6.32-21-generic

The original and new vmlinuz-file

Quote:

vmlinuz-2.6.32-21-generic
vmlinuz-2.6.30.1ABI-2.6.29.1_4

[Code]....

View 1 Replies View Related

Fedora :: C++ Programs In Does Not Get Compiled?

Mar 13, 2010

i wrote many programs in c++ in fedora.....but no one gets compiled ...error is shown as libraries in not included....where to save programs and how to compile.

View 5 Replies View Related

OpenSUSE :: Can't The Module Be Compiled?

Feb 21, 2011

I installed the kernel source on Linux 11.3 with Yast2/pattern/kernel development. The tutorial gaves the command:

$ make -C /usr/src/kernel-source-2.6.8 M=pwd modules

But that command does not work. Linux complaints: no such file.

I check the path and find they like:
/usr/src/linux/
/usr/src/linux-2.6.34.7-0.7/
/usr/src/linux-2.6.34.7-0.7-obj/

[Code]...

View 9 Replies View Related

Red Hat :: Error: Cannot Run C Compiled Programs?

Apr 5, 2010

I am compiling gcc 3.4.6 from source in RHEL 5 (this has gcc 4.1.2 )I downloed all dependencies and started ./configure.It went fine.When I do make I get following error that cannot run C compiled programs.

checking for C compiler default output file name... b.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.

[code]...

View 2 Replies View Related

Slackware :: 13.1 RC1 Still Compiled For 486 Support?

May 16, 2010

I read this on Patrick's twitter: Considering compiling future 32-bit x86 Slackware packages for i686 and finally leaving i486 and i586 support behind. Would the devs mind sharing why the change hasn't been made? I'm guessing there must be a lot of Slackware users with 15-20 year old computers that want to run the latest software.

View 14 Replies View Related

Ubuntu :: Using 8.10, Compiled Firefox 3.6 & Lost Java/flash Plugins?

Mar 16, 2010

I'm using 8.10, but wanted to upgrade firefox to the latest version, so I downloaded the tarball from their website and compiled that. FF 3.6 works fine, but I havn't been able to get my flash or java plugins to work since.

View 5 Replies View Related

Ubuntu Multimedia :: Copying Cross-compiled Ffmpeg To Windows?

Jun 20, 2011

I installed Ubuntu in Virtualbox in a Windows XP platform, primarily to be able to cross compile ffmpeg and use it in Windows.It's not been obvious, but I have a preliminary build in my Ubuntu system, that provides the following information, from the Ubuntu terminal:

Code:

FFmpeg version 0.6.2-4:0.6.21ubuntu1, Copyright (c)2000-2010 the Libav developers built on Mar 22 2011 15:55:04 with gcc 4.5.2
configuration:

--extra-version=4:0.6.2-1ubuntu1
--prefix=/usr
--enable-avfilter
--enable-avfilter-lavf

[code]....

Is it possible that when I compile ffmpeg under Ubuntu, the version I see in Windows looks that different?

View 2 Replies View Related







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