Installing a compiler from a remote computer
For some reason my ISP doesn't have a compiler on my server and I am trying to install a gcc compiler on the server I am renting from my them. Any suggestions on how I can accomplish this via SSH and FTP? I guess I have to use a binary version of gcc-3.2.1?
Thanks Rob |
Yes you will need a binary of GCC. If you post what distro is on the server + version etc. then we might be able to help more.
Flibble |
do u have root permissions on that server?
it is not a big problem to shift a gcc binary via ftp to one of your directories if u have some 6mb space. but i doubt u'll be able to run it if u just rented some webspace and if u're not the boss. the only executable programs on rented webservers reside in the cgi-bin and are cgi-programs.but if u want to try switch your ftp client to binary... cheers, jens |
Thank you guys for replying to my minute problem. I have root permissions as the service is a reseller server. So I have multiple domains in 2gb of space, so there is plenty of room. I have been searching for a good Binary version of gcc, but with no prevail. The server is using Apache/1.3.19 on a Red Hat operating system. I have contacted my ISP to get them to install the gcc RPM's, but they are slow in response. I don't understand how they could build apache on thier server without having a c compiler? Perhaps they have one on thier system but not available via the folders I am trying to compile my software.
I just want Image/Perl Magick and Postgres, is that too much to ask! Thanks guys, Robert |
that's the way u could do it:
download binaries for gcc, postgresql download ImageMagick-version rpm at rpmfind.net download Perl::Magick module from cpan.org get yourself a ftp client like kbear shift all the programs to /usr/local directory on the remote box take a ssh client like kssh + connect if the files have an tar.gz or tgz extension extract them cd /usr/local tar -xzvf progrm.tar.gz if .rpm rpm -i progrm.rpm cd to the PerlMagick-module directory and follow INSTALL you're done cheers, jens |
Thanks guys, I will do all that. Now I have a working gcc compiler so I am off and running. I still have a problem trying to install ImageMagick and PerlMagick. When I choose to ./configure the ImageMagick, it comes up with the report that these two aren't installed:
OPTION || Configure option || Configure value JPEG v1 || --with-jpeg=yes || no JPEG v2 || --with-jp2=yes || no I did install jpegsrc-v6b.tar.gz though, is that not what I need or should I install the libjpeg RPM? Thanks, Robert |
All times are GMT -5. The time now is 02:33 PM. |