[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Need help compiling C files



T Elcor wrote:

> --- On Tue, 4/10/12, Kumar Appaiah <a.kumar@alumni.iitm.ac.in> wrote:
> 
>> It works for me.
>> 
>> Please try sudo apt-get install build-essential and then try
>> again; the
>> headers might not be present.
> 
> I'm on Wheezy, installing build-essential appears to be a bit problematic:
> 
> # aptitude install make gcc build-essential
> The following NEW packages will be installed:
>   build-essential bzip2{a} dpkg-dev{a} g++{a} g++-4.6{a} libc-dev-bin{a}
>   libc6-dev{a} libclass-isa-perl{a} libdpkg-perl{a}
>   libfile-fcntllock-perl{a} libstdc++6-4.6-dev{a} libswitch-perl{a}
>   libtimedate-perl{a} linux-libc-dev{a}
> The following packages will be upgraded:
>   perl perl-base perl-modules
> The following packages are RECOMMENDED but will NOT be installed:
>   fakeroot libalgorithm-merge-perl manpages-dev
> 3 packages upgraded, 14 newly installed, 0 to remove and 16 not upgraded.
> Need to get 23.8 MB of archives. After unpacking 35.2 MB will be used.
> The following packages have unmet dependencies:
>  libtext-charwidth-perl : Depends: perlapi-5.12.4 which is a virtual
>  package. libuuid-perl : Depends: perlapi-5.12.3 which is a virtual
>  package. libdbi-perl : Depends: perlapi-5.12.3 which is a virtual
>  package. liblocale-gettext-perl : PreDepends: perlapi-5.12.4 which is a
>  virtual package. libdbd-mysql-perl : Depends: perlapi-5.12.4 which is a
>  virtual package. libperl5.12 : Depends: perl-base (= 5.12.4-6) but
>  5.14.2-9 is to be installed. libtext-iconv-perl : Depends: perlapi-5.12.4
>  which is a virtual package.
> The following actions will resolve these dependencies:
> 
>  Remove the following packages: <list of 144 packages>

Do an "apt-get update" and then try the "apt-get install make gcc build-
essential" command?

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


Reply to: