Debian :: How To Code A Directory

Jun 29, 2010

How can i code a directory in ubununtu.

View 8 Replies


ADVERTISEMENT

General :: Compile A Code From A Different Directory?

Jul 14, 2010

I do a lot of programming and I have to compile the code quite often. It's not convenient to move to the directory that contains the source code every time I want to compile it. So is there a way to compile a code from the my current directory (say /home example) without moving to the directory that contains the source. I remember being able to do this but forgotten how.

EDIT: I'm using makefiles to compile. Lets say I'm in the home directory and when I type

make -f /code/make_file

this doesn't seem to work

View 4 Replies View Related

Programming :: Source Code For Cd - Change Directory

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

Fedora :: Zenity - Bash: [/code]: No Such File Or Directory

Apr 9, 2010

Awhile back, PabloTwo pointed me to zenity as a way to create bash scripts with changeable parameters. That thread is here, for anyone interested in reading about it: [URL] Anyway, my problem is that I'm trying to capture input that contains double-dashes ("--") but zenity (or maybe or it's bash???) complains with the following error message:

"This option is not available. for all possible usages.
bash: [/code]: No such file or directory"

Here's an example of what I'm doing:

Code:

# Select the time of day
Flytime=`zenity --list --text="Select the Time" --radiolist --height=300 --width=300 --hide-column=2 --column="Select" --column="Code" --column="Time of Day"
"" "--timeofday=real" "Local Time"

[code]....

What I want to accomplish is for the variable $Flytime to contain either "--timeofday=real" or "--timeofday=dawn" (without the quotes) depending upon which radio button is selected. I have tried escaping "--timeofday" (e.g. "--timeofday" and even "--timeofday") but that's not working.

View 3 Replies View Related

Fedora Networking :: VPN Client Asking For Kernel Source Code Directory

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

Networking :: C Source Code For Scanning A Shared Directory Of A Host

Mar 31, 2011

c source code for scanning a shared directory of a host ?

View 3 Replies View Related

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

Ubuntu :: Fatal Error: Iostream.h: No Such File Or Directory Compilation Terminated While Compiling C++ Code

Dec 9, 2010

whenever i am trying to compile a c++ program i am getting the following error sample.cpp:1: fatal error: iostream.h: No such file or directory compilation terminated

View 1 Replies View Related

Debian Configuration :: Dropbox Install For Debian Squeeze From Source Code

Feb 19, 2011

how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.

View 7 Replies View Related

Fedora :: Make A Nachos Directory And Download The Nachos Source Code And Cross Compiler?

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

Debian Hardware :: Add Pin Code To Bluetooth

Mar 15, 2016

I have a raspberry running volumio which is based on debian jessie, I added it bluetooth support with pulseauadio which works fine.

Now I'd like automating the process a bit because having to connect to the pi to manage the connexion with bluetoothctl is not really convenient.

I would like to add a pin code to the pi to manage the connexion, It was possible with bluetooth-agent but the command seems to have disappeared on jessie and I didn't find any indication about pin code in bluetooth config files.

View 0 Replies View Related

Debian :: Unreadable Code - How To Change Into UTF 8

Mar 19, 2010

I am from Chinese, when I finished the install of the latest version of debian and use the default browser to access google, I put some Chinese into the google search, the horrible thing is it displayed in unreadable code. I know maybe the default language of debian is not UTF-8, how and where to change it into UTF-8.

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

Debian :: Dpkg Returned Error Code (1)

Jul 25, 2015

When trying to install php5 I got the following result. Tried to apt-get clean, autoclean, remove --purge then reinstall the mentioned packages without any success.

dpkg --configure -a didn't get any better result.

Code: Select allsudo apt-get install php5
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
  libapache2-mod-php5 php5-cli php5-common

[Code] .....

View 5 Replies View Related

Debian :: How To View Pyuno Source Code

Jun 9, 2010

After# apt-get -d source python-uno I get 550MB worth of files, it looks like source code for the entire openoffice package:# dir -alt
total 539412

drwxr-xr-x 2 nick nick      4096 2010-06-08 20:21 .
drwxrwxrwx 9 root root      4096 2010-06-08 20:21 ..
-rw-r--r-- 1 nick nick 105004167 2010-06-06 01:17 openoffice.org_3.2.0-11~bpo50+1.diff.gz
-rw-r--r-- 1 nick nick     10999 2010-06-06 01:17 openoffice.org_3.2.0-11~bpo50+1.dsc
-rw-r--r-- 1 nick nick 446777138 2010-03-25 10:47 openoffice.org_3.2.0.orig.tar.gz

# which unpack into a folder called openoffice.org-3.2.0 Maybe I have been horribly misled by this obsolete documentation and the following statement therein:To download a source package, you would use the following command:

$ apt-get source packagename

This will download three files: a .orig.tar.gz, a .dsc and a .diff.gz. In the case of packages made specifically for Debian, the last of these is not downloaded and the first usually won't have "orig" in the name. The .dsc file is used by dpkg-source for unpacking the source package into the directory packagename-version.

View 3 Replies View Related

Debian :: Obtaining The Source Code Of A Package?

Sep 3, 2010

I want to compile geki2 from source. I tried apt-get source geki2but I getReading package lists... Done
Building dependency tree Reading state information... Done E: Unable to find a source package for geki2I assume that /etc/apt/sources.list needs some additional entry. I run lenny.

Apart from that could someone explain to me what is the importance of files *.dsc , *.tar.gz and *.diff.gz in every package ? I assume *.tar.gz is the source. Is this independent from Debian ? I assume also that *.diff.gz is some patch you have to apply after you expand *.tar.gz in order to get a Debian specific version but how do you apply the patch ?

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

Debian Programming :: Returning Different Values For Same Code?

Sep 11, 2014

I am developing a script to automate some database setup, but I have an issue I cannot figure out. I prompt for some input with whiptail and select a default if nothing is entered. However, if you do not enter anything, it normally returns 0, but this time it is returning an empty value.

Code: Select all  # This one does work!

  # Set the source path
  TMPPATH=$(whiptail --backtitle "Linux Build Configuration"
    --title "Source-Code Path"
    --inputbox "Default: $SRCPATH" 0 60
    3>&2 2>&1 1>&3)

[Code] ....

So what is wrong with the second code?

View 1 Replies View Related

Debian :: Install Fail - Code Based Interfaces ?

Mar 23, 2011

I installed my new debain.(6.0) but its all code. (i looked it up, i need a a win X or GNOME). but since i dont know code based interfaces, how do i install it on the computer. (once Ive got my visual interface im generally fine till i hit advanced)

View 10 Replies View Related

Debian Configuration :: SSL - Can't Input Information Such Country Code?

Aug 28, 2011

i followed a Tutorial about configuring apache to have HTTPS Protocole , but since i ask for a certificate , i can't input information such country code etc , i'm runing this configuration on Webmin , i'm using Debian of course so how can i input the code ?

View 1 Replies View Related

Debian Hardware :: USB Stick Mount Exited With Code 1

Aug 20, 2011

Today I was trying to make a LiveUSB for Fedora 15 with UNetbootin and when I inserted my USB stick, it blinked and then this error appeared:
Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

View 1 Replies View Related

Debian :: Python-pkg-resources Returns Error Code

Apr 9, 2010

The system is Debian Squeeze/Sid with apt.conf set to Squeeze as the default. Most packages are from Squeeze.

I ran apt-get upgrade and it returned an error-code.

It might be it is this bug: Bug#574153: python-pkg-resources: Missing file leaves it unconfigured

I tried aptitude install -f, to hold it and to remove the package python-pkg-resources, but i am getting told the package would be in a very bad stage, and i should re-install it. That doesn't work.

View 1 Replies View Related

General :: Install Debian On A AMD K6-2 - Dpkg Error Code 1

Aug 16, 2010

I was triyng to install Debian on a AMD K6-2. I use debootstrap, and installed Lenny, with a kernel linux-image-2.6.26-2-486.

After that apt-get update and apt-get upgrade and I get:

The following packages will be upgraded:

Since release 150, udev requires that support for the CONFIG_SYSFS_DEPRECATED feature is disabled in the running kernel.

Please upgrade your kernel before or while upgrading udev.

AT YOUR OWN RISK, you can force the installation of this version of udev WHICH DOES NOT WORK WITH YOUR RUNNING KERNEL AND WILL BREAK YOUR SYSTEM AT THE NEXT REBOOT by creating the /etc/udev/kernel-upgrade file. There is always a safer way to upgrade, do not try this unless you 0understand what you are doing!

And similar messages appears trying to install xfce4...

View 1 Replies View Related

Debian :: Recompiling Changed Code When Building Kernel Debs

Jan 15, 2016

How do I force recompilation of the kernel .deb packages. After a small change I make to the sources without having to clean the sources and recompile the whole kernel again?

Code: Select all$ fakeroot make -f debian/rules.gen setup_i386_none_686
$ fakeroot make -f debian/rules.gen binary-arch_i386_none_686 binary-indep

Calling the second command again does not recompile the modified code, just recreates the .deb packages.

If I use:

Code: Select all$ make -f debian/rules clean before the build command, then it will recompile everything which takes ages.

How can I force recompilation of the files/objects I changed (and dependencies)?

I use this guide: [URL] .... ('Building only a single kernel variant' section)

View 2 Replies View Related

Debian Configuration :: 200+ Lines Of Code That Make Miraculous Difference

Nov 16, 2010

A tiny Linux kernel patch that makes the desktop incredibly more responsive: [URL]...

View 14 Replies View Related

Debian Programming :: How To Get HTML Code For Live Chat Software

Dec 5, 2013

What is the complete process of integrating live chat software.

View 2 Replies View Related

Debian Programming :: How To Do Code Bash Script To Run Su And Enter Password

Sep 15, 2014

Whats the bash script for like, how synaptic package manager runs ..

When you run synaptic it ask for root password ..

How do I do this in bash script?

View 5 Replies View Related

Debian :: Setuped Apache2 With SSL On Etch - Error Code - Ssl_error_rx_record_too_long

Apr 14, 2010

I've setuped apache2 with SSL on Debian Etch, but I'm getting this Error message in the browser:

Code:

This site does not exist!

View 2 Replies View Related

Software :: Code A Host Application To Talk To A HID Device In Debian?

Dec 11, 2009

I got a trouble about communicating between host application and HID device (with a button) in a embedded Debian Linux OS. The both of them are working fine on ubuntu. When I insert my HID device on my embedded debian linux Unit, following message show up:

# usb 1-1: new low speed USB device using ehci_marvell and address 3
usb 1-1: configuration #1 chosen from 1 choice
HID device not claimed by input or hiddev

and in /dev folder some usbdev files are generated:

usbdev1.3
usbdev1.3_ep00
usbdev1.3_ep02
usbdev1.3_ep81
usbdev1.3_ep83

When I run my host app, and press the button, no any data transferring happened (check with CATc captured data). I know the host app run fine on uBuntu, because I know how to open /dev/usb/hiddev0 in my code. I don't know how to open this kind of file in debian linux. I tried use each files above, the button still doesn't work. Can anyone help me to point out if it is HID driver issue or coding issue.

View 1 Replies View Related

Debian :: (warning) Fsck Died With Exit Status 4 Failed (code 4)

Feb 19, 2013

My system has stopped to boot at all...

Code: Select alldone.
Setting parameters of disc: (none).
Setting preliminary keymap...done.
Activating swap...done.
Checking root file system...fsck from util-linux-ng 2.17.2

[Code] ....

An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. ... failed!

The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press CONTROL-D to terminate the maintenance shell and restart the system. ... (warning).

Give root password for maintenance
(or type Control-D to continue): _

For now, I just don't know what I should to do next to my system has started to work again...

View 14 Replies View Related







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