GithubHelp home page GithubHelp logo

Unable to compile about compcache HOT 4 CLOSED

kowr avatar kowr commented on August 15, 2024
Unable to compile

from compcache.

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
> licata@HAL9000:~/compcache-0.5.3$ make
> make -C /lib/modules/2.6.27-8-eeepc/build \
>       M=/home/licata/compcache-0.5.3/sub-projects/allocators/xvmalloc-kmod modules
> make: *** /lib/modules/2.6.27-8-eeepc/build: No such file or directory.  Stop.
> make: *** [all] Error 2

Kernel headers needed to build compcache are missing on your system. On Fedora 
these
are provided by kernel-devel and kernel-headers package. Not sure about names 
for
equivalent packages on Ubuntu - I think its linux-headers.


> I have never installed or compiled compcache before, but after removing the
> swap partition from my HD I found that some swap were still on the system.
> Using the command cat/proc/swaps    I get this informations:

> licata@HAL9000:~/compcache-0.5.3$ cat /proc/swaps
> Filename              Type        Size    Used    Priority
> /dev/ramzswap0                          partition 516108  0   100

Looks like your version of Ubuntu comes with compcache built into the kernel by
default.  Not sure which version of compcache they included.

Since your kernel has compcache 'built-in' (as opposed to compiled as separate
module), I don't think you can override it with any other version of compcache. 
You
will have to stay with version included in your kernel.

Original comment by [email protected] on 11 Apr 2009 at 7:06

from compcache.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
Ok, since compcache is "built in" is there a way to configure it?
How can I change the size of the ramzswap or enable/disable it?
Where can I find the commands to do such operations?

Thanks very much for the quick and accurate support

Original comment by [email protected] on 11 Apr 2009 at 7:17

from compcache.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
sudo nano /etc/initramfs-tools/initramfs.conf

comment out the compcache section.

optionally change update_initramfs=yes to update_initramfs=all in
/etc/initramfs-tools/update-initramfs.conf to have it apply to every kernel and 
not
just the currently running one.

sudo update-initramfs -u

that should do it. if not, you are starting it with a script in /etc/init.d/ so 
just
delete that and do a sudo update-rc.d compcache remove. 

Original comment by [email protected] on 11 Apr 2009 at 8:42

from compcache.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
I hope sarvatt's reply answers your question. Thanks sarvatt.

Original comment by [email protected] on 22 Apr 2009 at 9:02

  • Changed state: Done

from compcache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.