|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
trying to compile vlc with gcchi.
i have been trying to compile vlc but my OS (CentOS) doesn't recognize it through konsole. i have d/l it extracted it to /home/jQKuDGtE/gcc-4.3.2 and modified my .bashrc file to export PATH=$PATH:"/home/jQKuDGtE/gcc-4.3.2/":$PATH but i still get an error message (below) [jQKuDGtE@nx gcc-4.3.2]$ ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. any help is appreciated thanks |
|
|
RE: trying to compile vlc with gccSome user wrote:
> i have d/l it extracted it to /home/jQKuDGtE/gcc-4.3.2 and modified > my .bashrc file to export PATH=$PATH:"/home/jQKuDGtE/gcc-4.3.2/":$PATH What have you downloaded - the source .tar.bz2 or a binary RPM? If it's the source you can't build that without already having a compiler binary. If it's a binary RPM you should probably stick to the GCC version provided by CentOS since that's what your system's libraries will be built with - try "yum install gcc gcc-c++" instead. You'll probably need many -devel packages too to provide whichever libraries vlc needs to build. I would recommend you start with a vlc SRPM from Fedora instead and use rpmbuild to help you identify and resolve dependencies except I can't see one in the Fedora 9 or Fedora development distros. Rup. |
|
|
RE: trying to compile vlc with gcci d/l the .tar.bz2 and i cant install RPM or use the yum command since i dont have root access. is there still a way to install gcc
|
|
|
RE: trying to compile vlc with gccSome 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. |
|
|
RE: trying to compile vlc with gccok. i have compiled vlc on another machine with the same o/s but im having problem with the shared libraries on the o/s which i copied the files to.the error i get is below:
/home/jQKuDGtE/vlc-0.9.6/bin/.libs/lt-vlc: error while loading shared libraries: libvlc.so.2: cannot open shared object file: No such file or directory is there a way to compile vlc by telling vlc not to create shared libraries?
|
| Free embeddable forum powered by Nabble | Forum Help |