General :: GCC File Not Found?
Jul 14, 2010ust installed Ubuntu and bought my first programming book.I installed Emacs and gcc, then I make the following steps:
Open a terminal
go to Emacs
write basic code (Hello World)
[code]....
ust installed Ubuntu and bought my first programming book.I installed Emacs and gcc, then I make the following steps:
Open a terminal
go to Emacs
write basic code (Hello World)
[code]....
when i wget aro2220.com it displays
--2011-03-02 16:35:58-- url... 127.0.1.1
Connecting to aro2220.com|127.0.1.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 177 [text/html]
Saving to: 'index.html'
100%
2011-03-02 16:35:58 (12.4 MB/s) - 'index.html' saved [177/177]
However, when I look into the file it is actually blank saying something like "It works! This is the default web page for this server" which can't be correct since that is not what Aro2220.com actually displays.
Furthermore, when I try to wget files I've put on the server for myself it returns a 404, file not found.
I downloaded and burned to CD LegacyOS. How do I now install it? It says no install file found!It was burned to CD as an iso.
View 6 Replies View RelatedI am having issues booting my LFS system on my hp nc8230 notebook running LFS SVN. Grub was built and installed per the book. My file system is almost as simple as it gets:
/dev/sda1 is swap
/dev/sda2 is my LFS partition /
The LFS live cd still uses the now deprecated drivers for HDD's thus as far as the livecd is concerned my block devices is (hd0) and /dev/hda2 for the root respectively. However the kernel to be booted runs on the newer drivers thus on boot my block device should be referenced as /dev/sda2 for the root. Grub is in fact installed on the MBR what happens is right when my system boots I get a file not found error the grub CFG is pointing to the correct block device and root partition from what can be seen by looking at the grub.
i can download but i cant run anything because there is no ar file path for ark. please dont tell me to download something to get the ar file path because if i download it i can't open it
View 1 Replies View RelatedI found this on another site, And it is the same problem I am having: Quote: When I start the game "fillets: I got: /libexec/ld-elf.so.1: Shared object "liblua.so" not found, required by "fillets" I have lua installed but there are no liblua.so. Recompiling the fillets ports is likely to fix this. Let us know if it doesn't.
View 4 Replies View RelatedI am trying to install rails 3.0.1 on ubuntu 10.10. I am getting this error towards the end when i execute this command sudo gem install rails --version 3.0.1.
View 1 Replies View RelatedI have a problem when I try to service nagios start, error is the following; No lock file found in /var/run/nagios.pid So when I verified the sample Nagios configuration files whit /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg, get: -bash: /usr/local/nagios/bin/nagios: No such file or directory
View 3 Replies View RelatedI am trying to delete these symbols "[ ]" from a file but it says string not found. I tried: %s/[//g while editing the file not working also tried sed -e '/[/d' and sed '/]/d' still no job.
View 3 Replies View RelatedI use find / -name myfile to search files. But it will print out a very long list such as follow:
Code:
...
find: /var/empty/sshd: Permission denied
find: /etc/audit: Permission denied
find: /etc/httpd/conf/ssl.crl: Permission denied
find: /etc/httpd/conf/ssl.crt: Permission denied
[code]....
I am using Ubuntu 10.10 dual booted with windows vista. My boot is in a separate partition (sda5). My computer told me that there was limited space on that partition so I tried to clean things up using apt-get by removing old kernels. Turns out I didn't do it correctly because I consistently get an 'ERROR 15' when I shut down and rebooted my computer. I have a live-CD USB-stick so I tried reinstalling grub, (grub-install) updating the menu.lst (update-grub), and manually going through menu.lst and changing to root=(hd0,4) and groot=/dev/sda6. But I still get this ERROR 15 when I reboot.
when I do
sudo grub
find /boot/grub/stage1
find /boot/stage1
Both give me an ERROR 15 message and I'm not sure how to proceed with a diagnosis. When I ran update-grub, occasionally it used to tell me that /etc/fstab may be incorrect. Here is /boot/grub (note that stage 1 does exist!) ( this is /dev/sda5)
Code:
root@ubuntu:/# ls /boot/grub/
default fat_stage1_5 jfs_stage1_5 minix_stage1_5 stage2
device.map grubenv menu.lst reiserfs_stage1_5 xfs_stage1_5
e2fs_stage1_5 installed-version menu.lst~ stage1
Here is my problem
Code:
grub> find /boot/grub/stage1
Error 15: File not found
grub> find /boot/stage1
Error 15: File not found
I guess my main question is, if stage1 can't be found, what does that mean? What should I do next?
I'm using a new Distro and after installing it and randomly searching for help on websites on how to install a .Deb file using dpkg at the konsole/terminal it says Bash : dpkg: Command not found . how is this possible ? Do I have to know about all the packages in the package manager to install this. slight difference for me ... knowing what I have and knowing if I need Apr93-323? (whatever) installed first or not ? The only thing I know is that I have the Iso image installed ... which is my linux distro . Where to go from here? because I usually go to a website site to find Software to install ...if I need it .back to the basics
View 14 Replies View RelatedI'm trying to install eCryptfs in my new Slackware system. ./configure runs pretty well, without errors, but when a try to run `make` i got this:
[...]
main.c:25:22: error: pk11func.h: No such file or directory
main.c: In function 'do_hash':
main.c:77: error: 'SECStatus' undeclared (first use in this function)
[code]....
But i do have 3 copies of pk11func.h under:
/usr/include/seamonkey-2.0.4/pk11func.h
/usr/include/seamonkey-2.0.4/nss/pk11func.h
/usr/include/nss/pk11func.h
What's going wrong?, why the compiler can't find the header if it's installed? I don't have too much experience compiling package, and it's the first time i try to it in Slackware.
find /var/spool/mqueue -group abc -exec rm -rf {} ;Using above command , I delete all the files belong to group abc.Now the problem i face is that the this command gives error that some files are missing . And this error occur because after creating list of files, it pass that list to rm -rf but till that time sendmail process queue and some of files disapper from /var/spool/mqueue.
View 5 Replies View RelatedI had edited the bashsr file wrongly in my ubuntu while trying to put a "export" command in bashsr for javac. Next when i am writing sudo , its saying :
Command 'sudo' is available in '/usr/bin/sudo'
The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found
When I try execute a variety of basic commands (including ps, ls, ifconfig, locate), I receive the error 'no such file or directory'.
Here are some suggestions that I've found online, that I have tried without success: I did a 'whereis ps' and found the file in the /bin/, and have checked that '/bin' appears when I do 'echo $PATH' I did a filesystem check which showed my hard drive as being clean I tried doing a 'sudo chmod 777 ps' but was told that I dont have permission. I don't think permissions for these files would have changed though (and I can't check as I can't run the 'ls' command).
I installed ubuntu maverick a couple days ago, total newbie. After trying to install some software I no longer can access any of the Places folder and get an error - file not found.
I can open Computer, partitions and devices, just not the first 7 folders which i think are bookmarks.
Thanks for helping, U.
Ok, I eventually solved it. Appears I had inadvertently selected another program as default folder openenr. Just opening any folder with right click - open with - folder openenr reassigned nautilus and opens Places folders ok.
I am using ubuntu 8.04. I played an mp3 in totem & meanwhile moved that file to another location. Still I can move slider in totem to rewind or forward the song. Only after the song has been played completely I get message 'location not found'. Does that mean totem copies song into RAM so that it does not have to trouble hard disk for access during entire duration ?
View 2 Replies View Related-the command to copy the file Practice.txt to a new name of Myfile.txt while in the home directory-found
-command to create a directory in the home directory-found
-say i just created a new directory called "test". whats the command to delete the test directory.-found
-command to create a blank, text file without using an editor.
-the exact syntax in Linux you would need to rename the file to a new name-found
I am trying to run a script called install.sh as follows: I get a jar file, and extract it using the command: unzip filename.jar -D path/to/files then I navigate to that directory where I extracted the files, and run the command: sh install.sh (where install.sh is one of the files that has been extracted in that directory using the above unzip command.) running this command gives me an error:'nstall.sh: command not found.' among other errors in the script ( from that portion of the script that should not even be executed, which is really weird). However, instead of unzipping the jar file, if I just copied the same install.sh file to that folder, and ran the 'sh install.sh' command, the script runs fine.
View 6 Replies View Relatedi am using red hat linux 5.0 when i start my computer it shows me the message ofINIT:No inittab file foundEnter run level:i dont what to enter here if anybody know then
View 7 Replies View RelatedI have requirement to delete some log files from a directory if a string"deletethisfile" is found.Then restart the application servers.1. Search for the string ?deletethisfile? in server.log file under a directory, If found 2. Stop that particular server.3. Delete the log file 4. Restart the server.
View 2 Replies View RelatedI am trying to compile meep (http://ab-initio.mit.edu/wiki/index.php/Meep) with MPI (openmpi) on a RHEL machine. I was able to build the binaries, but when I try to execute it, this error message comes up. I don't know which file libguile is missing. It was installed from the official rpm repository cdrom.
ERROR: In procedure dynamic-link:
ERROR: file: "libguilereadline-v-17", message: "file not found"
The last lines of the strace massage says:
access("/usr/lib/libguilereadline-v-17.so", R_OK) = 0
open("/usr/lib/libguilereadline-v-17.so", O_RDONLY) = 16
read(16, "177ELF111331`21004"..., 832) = 832
[code].....
I have a script: `cd $FILEPATH && patch -i $TMPFILEA2$FILETMPPATH` Variable $FILESPATH is = /tmp/ardiff.AvUUGfOKa2/a/hello/ and Variable $TMPFILEA2$FILETMPPATH is = /tmp/ardiff.AvUUGfOKa2/b/hello/hello.c.patch. I don't know, why is it no working from script file, it write me message to terminal: ./ardiff.sh: line 242: patching: command not found.
But I have no PATCHING command there!!!! The paradox is, when I want to patch it from terminal (I write it to terminal by keyboard, it works).
I have just compiled a linux build of tests in my VirtualBox VM. When I run it, I get:
bash: ./tests: No such file or directory
I did some research, and found it could permissions, missing libraries or different architecture. So I checked those:
ls -al tests:
-rwxr-xr-x 1 me me 9948598 2011-02-21 01:54 tests
file tests
tests: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
uname -a
Linux DevBox 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
ldd tests:
linux-vdso.so.1 => (0x00007fff7db90000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f10ef14c000)
[Code].....
I am having a problem installing SLES11 on a new server. It goes fine through the setup until it gets to GRUB, it gets me the following error message: Error occurred while installing GRUB
[code]...
I cant continue the installation without this
Ubuntu 9.10 was set up to handle the booting selection - previously I thought it was xp but Ubuntu 9.10 "did" it. The system started out as a xp / ubuntu 9.10 dual boot on a 400gb drive. xp has 210gb, ub has 80 and their is a 100gb shared storage. Xp was installed first and then I followed a guide over at linuxconfig.org to get ub installed so that I could select which OS was wanted at boot. Ubuntu manages the boot up menu (Went back to look at my notes from the original setup) The owner tried to update to ub 11.04 and afterall was said and done the machine now boots to the message
error file not found grub rescue I can't say if 11.04 was properly installed or not. Ask whatever you like and I'll give the best answer I can. I think the xp install is okay but I can't say for certain as I don't know how to boot it outside the bootmanager at startup. Data has been saved so if I have to blow it all away and start over I can but I'm hoping I won't have to.
i getting error when installing dns rpm package in redhat el5, error was"file not found by glob"
View 1 Replies View RelatedA colleague gave me a shell script ("dti_motion") which needs to be run from the directory containing all the files it works on. I want to run the same script for several different directories. But I don't want to have to cd into each directory, run the script, wait for it to finish, and then cd to the next directory (there are 52 to do altogether).
So I wanted to write a very simple script that will cd to each directory and perform the script there, before going on to the next one. My colleague's script ("dti_motion") is stored in my home/bin/ and is executable. My home/bin/ is in my path, as verified by echo $path. When run from a directory containing the necessary information, the dti_motion script works perfectly well. I wrote an extremely inelegant script called "dti_motion_do_all" which is also stored in my home/bin/ and executable:
#!/bin/sh
#Get motion information for each subject, using Mark's script, called dti_motion
cd /imaging/cr01/PD_DTI/C_10/12x5
[code]....
I know there will be more elegant ways to write this script with loops, rather than simply using cd, but for the moment, I just want this to run, until I have learnt to use loops properly. how to correct either of those "command not found" or "no such file or directory" errors, given that both the original dti_motion and my dti_motion_do_all script are in my /home/bin/ (which is on my path) and both scripts are executable?
I am getting and error on my Fedora Core 12 desktop when I try to boot that says " Error 15: File not Found
Press any Key to continue."When I press any key, its take me to the Grub boot loader screen. When I choose a kernel to load, it then takes me back to the black screen that says "Error 15: File not Found Press any key to continue".The last time I had the desktop booted I was using the Gnome disk analyzer and the system froze so I had to perform a hard reboot. Thats when the error started occurring.