RE: trying to compile vlc with gcc

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

 



Some user wrote:

> i d/l the .tar.bz2 and i cant install RPM or use the yum command
> since i don’t have root access. is there still a way to install gcc

You need to start with a GCC binary. CentOS's gcc package isn't relocatable so you can't install that in your home directory. The Libre Adacore GNAT distribution is (or was) relocatable so you could try that (https://libre.adacore.com/) to get a C compiler in your home directory - it's a GCC build specifically to provide an Ada compiler but it does have a C compiler too.

But you really don't want to do that. You will also need other packages such as the glibc headers and headers for all the X libraries to build vlc. Sure, you could get those somehow and rebuild yourself the right version of GCC for your system to get a C++ compiler but it's going to be a real headache. Just talk to your system admin and ask them to install the compiler and development packages you need. If they won't, get your own install of the same CentOS version where you do have root (as a virtual machine, say) and build vlc there.

Rup.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux