Ubuntu Installation :: Compileing The Source Code In The Terminal - Cannot Open: No Such File Or Directory
Apr 13, 2011
I've tried a couple times to install from a tar.gz file and when i try to compile the source code in the terminal I get this error "tar: bash-4.2.tar.gz: Cannot open: No such file or directory" what am I doing wrong? Now when I download the files, I leave themin the down loads folder, do i need to make a new directory? If so how do I do that and how do i call it up when I compile the sopurce?
View 1 Replies
ADVERTISEMENT
Jun 10, 2011
How to open a file using command line in terminal and edit the code within it ?code...
View 6 Replies
View Related
Sep 12, 2010
I want to see the source code of smplayer software.from where i can see source code of open source softwares?
View 9 Replies
View Related
Jan 27, 2011
I am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.
View 2 Replies
View Related
Feb 9, 2010
I want to modify the source of cd (the 'change directory' command) to do a little extra for me, but I can't seem to find the source code anywhere.. maybe I didn't look for it well enough, and googling "source code cd" and variants of that doesn't exactly help... I was wondering if anyone knew where I could find the src?
View 14 Replies
View Related
Feb 22, 2010
I have a problem in programing pseudo terminal. In the book APUE (advanced programing in the unix environment) in chapter 15.4: coprocess gives an example of using pipe to operate another program, that provide its input and read its output: Figure 15.18. Figure 15.19 is filter to add two numbers using standard IO. The author said that you must flush the IO buffer in the program which are operated through pipe by another program, however, we cannot add fflush to the source code and re-compile the whole program if we need to use it in another process. It said that pseudo terminal can solve this problem, but I have tried in fedora12 with forkpty call and fail. Source code as follows:
The main process:
Code:
#include "common.h"
#define LINESIZE 256
int main()
{
int fd[2];
pid_t pid;
if( socketpair(AF_UNIX, SOCK_STREAM, 0, fd)<0 ) {
perror("create socket error");
exit(1);
}
int master;
struct termios tm;
if( tcgetattr(STDIN_FILENO, &tm)<0 ) {
perror("tcgetattr error");
exit(3);
}
struct winsize size;
if( ioctl(STDIN_FILENO, TIOCGWINSZ, (char*)&size)<0 ) {
perror("ioctl error");
exit(4);
}
setbuf(stdout, NULL);
pid=forkpty(&master, NULL, &tm, &size);
if( pid<0 ) {
perror("create process error");
exit(2);
}
else if(pid>0) {//parent
close(fd[1]);
char line[LINESIZE];
memset(line, 0, LINESIZE);
while( fgets(line, LINESIZE, stdin)!=NULL ) {
write(fd[0], line, strlen(line));
memset(line, 0, LINESIZE);
int n=read(fd[0], line, LINESIZE);
if(n>=0) line[n]=0;
printf("%s", line);
memset(line, 0, LINESIZE);
}
} else {//child
close(fd[0]);
if( fd[1]!=STDIN_FILENO ) {
if(dup2(fd[1], STDIN_FILENO)!=STDIN_FILENO) {
perror("dup2 error");
exit(1);
}
}
if( fd[1]!=STDOUT_FILENO) {
if(dup2(fd[1], STDOUT_FILENO)!=STDOUT_FILENO) {
perror("dup2 error");
exit(2);
}
}
close(fd[1]);
if(execl("./add", "add", (char*)0)<0) {
perror("exec error");
exit(3);
}
exit(0);
}
//parent
wait(NULL);
return 0;
}
The add program reads a line and get two numbers and return the sum of them.
Code:
#include "common.h"
int main() { int n1, n2;
char line[256];
memset(line, 0, 256);
while( fgets(line, 256, stdin)!=NULL) {
sscanf(line, "%d%d", &n1, &n2);
printf("%d", n1+n2);
fflush(NULL); /*the program does not work without this sentence why?*/
memset(line, 0, 256); } return 0; }
View 5 Replies
View Related
Aug 29, 2010
I have installed a Virtual machine.I use Virtual Box for the same. My host OS is Windows XP SP3. I have assigned it 500mb of Ram and it works fine. But my problem is that my Keyboard does not work in Ubuntu terminal whilst writing a source code.
When I use the arrow keys it gives me alphabets A B C D. And also when i press a . it acts as a backspace.I have a cordless Logitech Keyboard.I don't know why my keyboard isn't functioning inside the Terminal (& that to only whilst typing in source codes) I have tried changing the Character Encoding but thats not helping.
View 2 Replies
View Related
Mar 5, 2009
I am a little optimistic now after my problem of wifi was solved by stoat that presisted for about a year, now i am trying to install my vpn client. he asks me to write the path of kernel source code directory : and i answer by:/lib/modules/2.6.26.8-57.fc8/build/
But he answers no such directory or file and i dont know why
The build is covered by a red box when displayed by a terminal so can any body tells me where i can find my kernel source directory or i should install them, how
View 3 Replies
View Related
Mar 31, 2011
c source code for scanning a shared directory of a host ?
View 3 Replies
View Related
Feb 15, 2010
there are number of threads floating on installation of ns2..however i am unable to get it on my 64 bit system ns: error while loading shared libraries: libotcl.so: cannot open shared object file: No such file or directory
View 1 Replies
View Related
Aug 8, 2010
I was looking to download "America's Army" and was doing alright until I hit a slight snag, It had an error while loading libgtk1.2, so I scoured the Internet for a way to fix this and the find command I found just told me it couldn't find the package, this is the first error I got when I tried to uncompress the "America's Army" version I downloaded:
/home/zac/.setup3597: error while loading shared libraries: libgtk-1.2.so.0: can not open shared object file: No such file or directory.
View 1 Replies
View Related
Oct 31, 2010
After upgrading from 10.4 to 10.10, the Ubuntu Software Center refused to start, and I got an icon in the notification area saying that "a problem occurred when checking for the updates." When I run software-center in the terminal, I get this error message:
Code:
Traceback (most recent call last):
File "/usr/bin/software-center", line 88, in <module>
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/software-center/softwarecenter/app.py", line 32, in <module>
[code]...
I've tried re-installing apt and all related packages, even dpkg, and even downloaded the apt package directly from the ubuntu web site, but no matter what I do, I can't run these things. Aptitude and apt-get seem to work fine.
View 7 Replies
View Related
Oct 1, 2010
i trying to install firefox with the terminal but i Having Problem with the installation [URL]... libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
View 9 Replies
View Related
Mar 11, 2011
How to Reset File enigma_active.so to Source Code Is in the compressed file Makefile
View 7 Replies
View Related
Nov 21, 2008
Does anyone know where is the source code for file command?
View 2 Replies
View Related
Apr 9, 2011
Which one is the best open source Directory server ?
View 1 Replies
View Related
Sep 1, 2010
I listen to a radio show that broadcasts online a lot named ChatterBox Video Game Radio, and when i e-mailed one of the hosts about retrieving archived shows since the site didn't have any archiving of old shows or a link to it. Alon was nice enough to send me one of their old web pages with a HUGE list of archives but it's only the xml source code of the page. since the page isn't live of course, and because of the how he had to send me the code for the page and not a hyperlink to the page, i have the source code. now going through the source code of the page he emailed to me, i can find links to .mp3 files and i can open them and listen to the shows in web browsers, but i was hoping to save them to my computer forfuturelistening.URL]ww.chatterbox'ssite.com/whatever/anotherfolder/showiwanttosave.mp3 in firefox quicktime comes in and lets me listen (as long as my internet connection is active) but wont enable me to save because i dont have the pro version of quicktime. quicktime is good, but i dont use it enough to actually buy the product, and i'm not going to buy the product for just a one time use. is there another way to where i can save this file using the address from the source code (and the ChatterBox allows listeners to save their shows to computer for free, so it not some work around to rob them of money. i fully support them) without having to buy quicktime 7 pro(a product i never really use)?
View 4 Replies
View Related
Oct 15, 2010
Hi,
Can you help me to install OpenCS PKCS on Ubuntu 10.10 with Firefox 3.6.
I have smard card reader Gemplus
Here is error:
HTML Code:
dejansoftware@ubuntu:~$ pkcs11-tool --show-info
Error: can't open /var/run/openct/status: No such file or directory
Error: can't open /var/run/openct/status: No such file or directory
Error: can't open /var/run/openct/status: No such file or directory
[code]....
View 1 Replies
View Related
Jun 1, 2010
I'm investigating how to copy a file located in my file system into another device. I googled to find a solution for my case but I didn't find anything. My original problem was to find a way to permit my code to move a file into a USB device. I wonder If is there a way to implement the cp command or some mechanism that permits my code to interact with between the file system on my computer and the second one on USB external driver (FAT32) ?
View 3 Replies
View Related
Jun 30, 2011
I had made some modifications in the source code of a software called "HomeBank". I'm not able to make a setup file using "Inno setup".how to create an .EXE file for the source code to execute.
View 2 Replies
View Related
Jan 4, 2010
i am trying to generate a linux executable data (bin data) from my java source code.
View 4 Replies
View Related
Jun 1, 2010
I want to find a simple and quick way to permit my application to bring a file located in my file system and write it into an external USB device. I have to use Bulk Transfer Only mode that means to use stream of characters only. I looked through the LibUsb library using it in my IDE I can transmit a string. To transfer a whole file I suppose I've to dodge the file system building a char sequence that permits to recognise a file in the file system and to put it into the usb device.
View 1 Replies
View Related
Jan 15, 2010
how to install libxcb-xlib.so.0?When I start one software and it complains that
"error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory"
I have lastest libxcb1 installed and searched in my system but didnot find a relevant result.
View 3 Replies
View Related
May 9, 2011
Attempt to upgrade 10.10 to 11.04 server installation (more or less plain vanilla) gives:
[Code]...
Tried reinstalling the obvious packages related to this, no change. Aptitude updates to 10.10 function without problems.
View 2 Replies
View Related
Feb 15, 2011
I vaguely remember that there is a way to store instructions for vim in my file (like tabstop width etc). I'm not speaking of settings in vimrc but of storing those settings with in the file to be edited. That way the tabstop has always the right width even if I transfer this file to another computer. However, I can't remember what the magic word is so that vim picks up those settings when loading the file.
View 1 Replies
View Related
Jan 15, 2010
I was attempting the pear installation as per the instructions given here:url
I think i got the installation correct.
Then i tried this program
<?php
require_once 'System/Folders.php';
$sf = new System_Folders();
$home = $sf->getHome();
echo "$home
";
?>
and compiled it as follows:-
php spear.php
to get the results as
Warning: require_once(System/Folders.php): failed to open stream: No such file or directory in /var/www/spear.php on line 3
Fatal error: require_once(): Failed opening required 'System/Folders.php' (include_path='.:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear') in /var/www/spear.php on line 3
how should i correctly set the path in /etc/php5/apache2/php.ini
or how correct is my path statement
include_path = ".:/opt/ZendFramework/current/library:/usr/share/php5:/usr/share/pear"
in /etc/php5/apache2/php.ini
View 1 Replies
View Related
Apr 28, 2011
I am trying to install NachOS on fedora, i make a nachos directory and download the nachos source code and cross compiler, then i extract the zip files and patch the make files and everything is okay till now. but when it comes to compiling nachos, i followed these steps.
* ~/nachos> cd NachOS-4.0
* ~/nachos/NachOS-4.0> cd code/build.linux
* ~/nachos/NachOS-4.0/code/build.linux> make depend
[code]....
View 10 Replies
View Related
May 11, 2010
I had Ubuntu for awhile, now I installed Fedora12, I'm trying to follow directions to install a program from source code (tar.gz file) I have the February 2010 issue of Linux Format, and am trying to follow it step by step. I copied gnurobbo off their disk to my desk top, which copied it. Then I did the cd command, then I did the ls command and it didn't show me anything but a line saying desktop and a few other things like pictures movies etc. so I did cd gnurobbo-0.64 and it says no such file. I have been trying this for a few times and I think I'm going crazy.
View 3 Replies
View Related
Feb 21, 2011
want the source code for open office, "spell check" where i can find those?
View 2 Replies
View Related
Oct 10, 2010
So for example, I go to PLACES -> DOWNLOADS and somehow open up a terminal for that rather than opening up a terminal to type "cd ~/Downloads" I know its simple to do that but when your dealing with some crazy directory like:
/media/2TB-DATA/BackUps/Regular/Downloads/Pictures/Family/Me/HiDef/ or something, and ur already browsing through it using the file browser, it would be nice to be able to open up a terminal for that directory.
View 6 Replies
View Related