Ubuntu :: Difference Between /usr/local/include And /usr/include?
Jul 11, 2010
What is the difference between /usr/local/include and /usr/include? When I compile my program, is both /usr/local/include and /usr/include avaliable? Can I copy a file from /usr/local/include to /usr/include?
I just downloaded the SDL source code. i did compile and make of this code.then i did make install. but i didnt see the files of SDL.h and lib.SDL.*** in /usr/include/ but later i found out that these files are placed in /usr/local/include and /usr/local/lib. how can i specifically install libraries on /usr/include and /usr/lib
We are doing our project on face recognition. We are done with our project.We want to use this as a method to login into the system by detecting the face at login screen.
I am completing an argumentative essay for my college English class. The essay is arguing the benefits of FOSS over commercial/proprietary software, mainly Microsoft. I need to include opposing viewpoints in the essay as well. I had no problem finding supporters of FOSS, but I am having trouble finding PROFESSIONAL opposing viewpoints in industry journals or from experts in the field.I am not asking for help in completing the assignment, just assistance in finding opposing viewpoints -- people against FOSS.
I just did a fresh install of Lucid Lynx 10.4, but now whenever I boot up, at the boot loader, Windows 7 is no longer on the list. I want to now how to properly edit grub.cfg in /boot/grub so that I can boot into Windows 7 from the boot loader. The Windows partition is found in /dev/sda2. The folder name is 2EB2621EB261EB33. If anyone could tell me how write the entry in grub.cfg for Windows 7 to boot that would be awesome!
I'm trying to use K9copy in Ubuntu 10:10 to shrink some videos from a straight iso copy down to a 800MB avi file. The video seems to copy fine and the picture looks fine but when I try play it in VLC theres no sound.
Is there something I'm missing? And yes I played the ISO in VLC and had it play with sound fine.
After what seems like a Long time trying off-shoots of Debian, I installed--and am still installing-- packages from the DEbian distribution. Is there an entry for the sources.list that would give me things that are Asus EEE-specific? Stuff like the evolution mailer and the touchpad controller? (I need to turn the touchpad off, e.g.).
Tried one-click install of GNS3 0.7.1 on OpenSuse 11.3. Could not get to work. Seems dynamips and qemu components are missing. Tried installing qemuwrapper.py from source but still no go. Installing dynamips from source did work.
I am trying to set the default printer on a machine running xubuntu from the command line. It looks like I need: lpoptions -d "printer_name" but I do not know the name of the printer. How can I find this information?
I am working on a Linux embedded C++ project. When I do an install, all of the header files are copied into the target at /usr/include/.My question is, why would the target ever need the C++ header files? It seems to me all the target needs is the executables and the library *.so files.I want to remove the installation of header files into the target but I'm afraid I'm missing something.
I'm learning GTK , and would like to use Codeblocks, and/or KDEvelop, and compile my c files using that, but always get an error about gtk/gtk.h not found, but can't figure out how to add the commands... I normally type gcc -o Program1 main.c `pkg-config --libs --cflags gtk+-2.0` That's a lot to type every time to compile.. Isn't there an easier way, in KDevelop, Monodevelop, and/or Codeblocks to make this step quicker, by adding some sort of I-/usr/include commands, or something?? thanks in advance, =). I looked online for some results, but didn't come across anything handy..
When I installed a new copy of my distro on another partition, in order to preserve all the settings from my old my user account, I made a user account with the same name on the new installation, and then copied my old user account's files (in their entirety) to the new user account, overwriting it. I did the copying from the root account (where else? I assume the new user account can't overwrite itself while it's open), and root became the owner of everything I copied, making it impossible to open the new user account. So I then chowned the new user account's folder to myself. I still can't get in, because apparently, chown only chowned the top folder, leaving all subdirectories owned by root. How do I make chown include all subdirectories? I scanned the man page, but didn't see a parameter.
I am facing the following error while running SplitOff.exe in machine 172.24.130.245 : Error : ld.so.1: SplitOff.exe: fatal: libstdc++.so.2.10.0: open failed: No such file or directory.This file is avilabe in ap/local/lib path. how to include the path of exe in the ld library path [only System admin has permission]
I was trying to install usb-modeswitch edora-14 (64 bitt saidCode:usb_modeswitch.c:56:17: fatal errr: usb.h: No such file or directoryWhen I tried to install libusb, it said that it is already installed and is the latest version. But, it still doesn't show usb.h in /usr/include directory.What shall I do to make usb-modeswitch?
i have written a simple program in gtk. #include<gtk/gtk.h> //header file main program.. on compiling it is showing fatal error:32 /usr/include/gtk/gtk.h is not found. i have checked the location but file is there.
I'm trying to copy files from my local directory to a remote site using rsync.I want to include in the copy all the java files and exclude all the .svn directories, but I can't do it.
Does RHEL6 include smp kernel? When I run uname -arn it does #SMP but I want to confirm if a seperate RPM like kernel-smp-* is included in default installation.
Basically I have a dir that contains my makefile and another directory inside this called source this holds main source files. External to these I have a couple of dirs common and drives.
In my make file I use
To include the protoypes from the headers in the folders common and drivers used by source, this works fine. However in common and drivers I use a few variables that are set in the source dir. I set these with externs inside the common and driver files. However I'm sure I should be able to set the directory path for source inside my makefile. So say I have inside source hardware.h with prototypes, I set DINCDIR = -I/Source -I../Drivers -I../CommonFiles
Then from a c file inside my common folder I say #include "hardware.h" the file should be able to see hardware.h and it's protoypes. However I get:
Is there some way I can get the extern dirs to see the source dir?
What's the best way to include variables in a string using C,i.e if i want to do the following query in C, how would i do that.How do i build the string variable up in C?
Yum answers that it does not contain lighttpd or lua in the repositories (base,updates,addons,extra). Where can I find a repository containing these packages or should I revert to building myself ?
I have done a completely fresh install of Ubuntu 10.04. As soon as I installed it and checked for updates there were a few, but I got an error for the package linux-libc-dev.
I should make it known that since I got this error about 2 days ago, there have been several more updates issued for other packages, but I still get the same error for this package. Everything else installs fine and currently linux-libc-dev is the only package in my list. When I try to install it via the update manager I get a popup window with the following error message:
Quote:
E: /var/cache/apt/archives/linux-libc-dev_2.6.32-22.33_i386.deb: unable to stat `./usr/include/asm-generic/mman.h' (which I was about to install)
To get more information I also ran it from the terminal:
sudo apt-get update sudo apt-get upgrade
Quote:
(Reading database ... 147293 files and directories currently installed.) Preparing to replace linux-libc-dev 2.6.32-21.32 (using .../linux-libc-dev_2.6.32-22.33_i386.deb) ... Unpacking replacement linux-libc-dev ...
[code]....
This package provides headers from the Linux kernel.These headers are used by the installed headers for GNU glibc and other system libraries. They are NOT meant to be used to build third-party modules for your kernel. Use linux-headers-* packages for that.
Code: include virtual="test.txt" I have tried following the advice in this thread http://ubuntuforums.org/showthread.php?t=1510098 but it makes no difference. The file is there, but the line is delivered to the browser as-is. Using Lucid and a new install of apache 2.2 from the repository.