Programming :: Cc1 Not Found In Ubuntu 11.04
Jul 26, 2011
I have upgraded my ubuntu machine from 10.10 to 11.04, but unfortunately i do not see cc1 { compiler } part of gcc compiler driver. Do i need to install specific debian package for it ?
View 2 Replies
ADVERTISEMENT
May 14, 2010
Does somebody know some way how to recognize if sed has nothing found?
View 14 Replies
View Related
Jan 16, 2010
I writed my home.html page in /var/www with following form:
Quote:
<form action="/cgi-bin/login.cgi" method="get" class="form-font">
<label>Already you registered?</label><br/><hr/><br/>
<fieldset><br/>
<legend>Insert your account</legend>
Email: <input type="text" name="email"/><br/><br/>
[Code].....
View 2 Replies
View Related
Jan 28, 2010
I get this error when I run the program that i created using eclipse.How to fix this?
View 3 Replies
View Related
Oct 19, 2010
I'm running gdb across a network using gdb server. I've got it up and running. However I can't see any source or variables for my code (in ddd /gdb). At start up gdb says (no debugging symbols found). I've got a g in my make file,
CPFLAGS = -Wall -Os -g -pedantic
I've tried loading symbols in using "symbol-file testarm", this sort of works in that I can view symbols but not names, e.g. if I ask dd to show x y and z, rather than
x = 10
y = 20
x = 30
It says:
display
10/20/30
Also ddd does not show anything in the source window, is there a way I can get it to show this? I think it's because I've started ddd with ddd arm-linux-gdb, as I'm calling a crosscompiler gdb. So can I tell ddd to point to the correct folders? What commands I need to set in gdb/ddd to view variable names (it's hard to keep track when it bunches them all together) and how to view my source code.
View 2 Replies
View Related
May 7, 2010
I have the following function, and it appears to set the var correctly, but then tries and executes the line as a command. Anyone know how to keep it from doing that?
PHP Code: SMALL_FILE_PERCENTAGE=88
MEDIUM_FILE_PERCENTAGE=10
LARGE_FILE_PERCENTAGE=2
[code]....
View 1 Replies
View Related
Jun 25, 2010
I have a file in which contains one line with a lot floating points.In the very first place and some times in the downstream, there are a few integers, surrounded by blank spaces.1 1.02-4 1.03-5 544 1.04-1 65 2.98-1 5.78-10 3.45-2 etc etc.I aim to split the file in more files each of them containing an integer and the following floatings until the next integer.
View 1 Replies
View Related
Feb 25, 2011
I want to edit the environment with a bash script, a part of my script is showed in the post. Its not everything, but the rest is working fine. At the begin of my script I've the follow line Code: #!/bin/bash
set -e First I tried with this solution. Code: sudo chmod 777 /etc
sudo rm /etc/environment
echo 'PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ruby/bin"' > */etc/environment
sudo chmod 755 /etc
source /etc/environment Error, source not found
The second solution was this:
Code: sudo chmod 777 /etc
sudo rm /etc/environment
echo 'PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/ruby/bin"' > */etc/environment
sudo chmod 755 /etc
. /etc/environment
This one didn't give an error, but if I try this:
Code: ruby -v got an error
so the environment didn't worked.
If I use both commands
Code: source /etc/environment
Code: . /etc/environment
In the terminal, without a bash script, it works, so if I do
Code: ruby -v
It works and showed the right version.
View 6 Replies
View Related
Sep 9, 2010
I have a file, and I have to display all the lines from the beginning of the file till a matching string is found.
I know grep with "-a", "-b" as option does exist, but it needs the number of lines to be printed in advance. eg grep -b 10 "search_string" file so it will print 10 lines before a match is found.
View 3 Replies
View Related
Apr 8, 2011
i need to add this line nameserver 208.67.122.221 from ISP before the first nameserver already exists in resolv.conf in all workstations i know
Code:
sed '/nameserver/ i
ameserver 208.67.122.221'
but that insert it on every line after nameserver not only before the first one
Code:
# blah blah
# blah blah
domain mydom.com
[code]....
View 3 Replies
View Related
Apr 6, 2010
I'm trying to do a svnsync of this public repo: http://svn.runuo.com/repos/runuo/devel/ so I can access the repo when my machine is offline. I get this error at revision 419 svnsync: File not found: transaction '419-bn', path '/devel/Scripts/Engines/Doom/Lamp Room/LampController.cs'
I am using svnsync, version 1.6.5 (r38866)
View 6 Replies
View Related
Jun 20, 2010
I have been googling around for Java VIDEO tutorial on Linux environment running command lines (on Editor NOT IDE). However most of them found are on Windows environment running IDE. I only found 1 or 2 on Linux environment but the screen/pictures are not clear.
View 2 Replies
View Related
Dec 13, 2010
I am working on an expect script to login into a server and copy few wars across the folders. But when i execute it I am getting the following error:
[exec] loginServer.sh: spawn: not found.
[exec] loginServer.sh: expect: 0403-006 Execute permission denied.
[exec] send: -- unknown
The first line is : #!/usr/bin/expect -f.Is this anything to do with server setting or configuration that doesn't allow spawn??
View 3 Replies
View Related
Mar 25, 2011
Using zstyle, I can create a custom warning for messages and such, but looking into the man pages and all, I do not see anything for customizing actual error messages in ZSH, as such:
Code:
casper@ltp01[/home/casper][19:14] - asdfsdafasdfjsdf
zsh: command not found: asdfsdafasdfjsdf
View 3 Replies
View Related
Jul 11, 2010
I installed Eclipse from the repositories and found it is very slow. It takes about 5 minutes to start up. Is that normal?
View 5 Replies
View Related
May 25, 2011
Quote:
Explain the error?
View 2 Replies
View Related
Jan 6, 2011
I wasn't sure where to put this so if I need to move it just let me know.I have a strange problem that I cannot figure out. When I use gdb to debug our rpm-installed program, it says (no debugging symbols found) when it loads. Thing is, when I use nm on the program it can print the symbols, and even stranger is if I use gdb on the program before it is packed up by rpmbuild it loads the debug symbols just fine.Our program is built via the standard make using:GS=-g -Wall-pedantic and as I mentioned I can debug the resulting program. After the build, I package it up using:
cmd="rpmbuild -v -bb ptsnmp.spec --define "ver ${cmvc_release}" --define "rel ${cmvc_level}" --define "_topdir $rpmdir""When this package is installed via rpm, the binary on the machine shows all the debug info via nm, file shows it is not stripped:pt_snmp: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not strippedyet when I try to debug it I get the no debugging symbols found.This is really taxing my brain and I am sure I am just missing something
View 4 Replies
View Related
Jan 2, 2011
i was wondering if there is away to avoid application from closing if a specific library not found? for example: if my application uses libPng and it wasn't found on the system running my app (binary and not source), is there anyway to just disable the part that uses png from my application?
View 14 Replies
View Related
May 18, 2011
How to manage the find command to return true or false if a file was found/or not? I tried to man find but didn't found anything.
View 12 Replies
View Related
Feb 21, 2010
i was installing php5.3 on my system nd i followed d procedure
./install after processing man lines it said checking for xml2-config path... configure: error: xml2-config not found. Please check your libxml2 installation.
[Code]...
View 2 Replies
View Related
Feb 23, 2011
I am trying to install wxsqlite3-2.0.2 on my Debian machine. I have installed wxGTK-2.8.11 in the folder: /home/mrj2/wxGTK-2.8.11
When I run the wxsqlite3-2.0.2 configure script, a problem arises due to the fact that wxGTK is expected to be in a specific directory. The wx-config file cannot be found. However, there are copies of these files for each type of build in the folders:
/home/mrj2/wxGTK-2.8.11/GCCBuildDebugGTK2
/home/mrj2/wxGTK-2.8.11/GCCBuildDebugGTK2Unicode
/home/mrj2/wxGTK-2.8.11/GCCBuildReleaseGTK2
/home/mrj2/wxGTK-2.8.11/GCCBuildReleaseGTK2Unicode
/home/mrj2/wxGTK-2.8.11/GCCBuildReleaseMacUnicode
There is not a problem with my wxGTK installation as I use it in DialogBlocks and it works fine.
View 2 Replies
View Related
Jul 22, 2011
I have written the following script in my linux server to add users for LDAP database.But i can't able to run this.
The script is as following
#!/bin/bash
echo "Mention the username which you want to convert LDIF format"
read username
if ["$username" -e "/ldiffile/passwd"]; then
echo "Username already exists"
else
cat /etc/passwd | grep -i "$username" >> /ldiffile/passwd
fi
The output which i got :
. ldapadd.sh
Mention the username which you want to convert LDIF format
yal2361
-bash: [yal2361: command not found
please let me know where need to change and what
View 5 Replies
View Related
Jul 4, 2011
I'm trying to write a script that will either tail or watch /var/log/messages for the words
PHP Code:
signal Gone into alarm state
From this line below.
I would then like the script execute:
And have run at start up.
I'm stuck with grep-ping only one word
PHP Code:
View 14 Replies
View Related
Apr 21, 2010
I have the following working script. It checks the directory for txt files, if files are there, it copies to another directory or gives error. I would like to exclude "file not found" errors and send them to /dev/null. All other errors should go to the email address as usual.
Code:
#!/bin/bash
function err
{
if [[ $? -ne 0 ]]
[Code]....
View 7 Replies
View Related
Sep 13, 2010
I wonder if there is anyway to make a user-defined bash shell function global, meaning the function can be use in any bash shell scripts, interactively or not. This is what I attempted:
Code:
$ tail -n 3 /etc/bashrc
echotm () {
echo "[`date`] $@"
}
[code]....
View 11 Replies
View Related
Mar 29, 2010
I have been trying to get this web cam working for a long time. lsusb:
Code:
Bus 004 Device 003: ID 06a2:0003 Topro Technology, Inc.
dmesg
Code:
[ 1990.570050] usb 4-1: new full speed USB device using uhci_hcd and address 3
[ 1990.751460] usb 4-1: configuration #1 chosen from 1 choice
Kernel patch: [URL]
Driver project: [URL]
Cheese simply says no camera found. Skryba says no devices found. Since this kernel patch was 2009-04-07 which is nearly a year ago it should be in latest kernel?
[Code]...
View 3 Replies
View Related
Jan 24, 2010
During install of 9.10 server, both ethernet adapters were found. One is built-in to the motherboard, the second is on a PCIe slot. Selected the on-board adapter for eth0 during install, set fixed IP on the web, connected, updated, etc. w/ no problems. The second adapter is for the LAN.BUT, on first and subsequent reboots after installation complete the second adapter is not detected at all, as if it were not even plugged into the PCI or the driver not loaded. This happens on either of two slots, with two different adapters, Intel or Netgear, both pretty recent, and both of which are detected and work in a different box. 'Ethtool eth1' says device not found.This is a fairly recent motherboard 3N78EM).Since the adapter was found during installation I'm assuming that the problem is not with not the board. I've built several server systems with two or three ethernet adapters and have never run into this situation.
View 3 Replies
View Related
Feb 24, 2010
I want to search a file for a particular pattern and if pattern found replace the line with new text. i am using awk 'match($0,"pattern") != 0 {print $0} ' filename to check if the pattern exists.how do i get the line number of the pattern and delete that line and replace the line with my new text?
View 1 Replies
View Related
Apr 8, 2010
While trying to compile one of the software application I am giving "cmake ." command but getting the below error :
I have downloaded "libpqxx-3.0.2" and have installed it.
libpqxx.a and libpqxx.la have got installed under /usr/local/lib.
Why am I still getting this error?
View 2 Replies
View Related
Feb 16, 2011
I am now working with full installation instead of liveCD and I am having a very strange problem with lpadmin command.
When I type man lpadmin I get the normal text explaining how to use it. However, when I run the command "lpadmin -p <printer name> -v lpd://<server>/<queue>" I get "bash: lpadmin: command not found". It doesnt even work when I use sudo -E before command.
View 3 Replies
View Related