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?
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?
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?
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?
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.
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?
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.
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
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:
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.
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.
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?
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:
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?
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
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.
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'.
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.
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.
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: