Greetings all, Please don't flame me too much if this has been asked already :-) I am moving all of our stuff from an older internal webserver running 7.3 to a spanking new server running 8.2 but I have hit a snag... g++ 3.3 we have a lot of cgi's written using cgic from Thomas Boutell (http://boutell.com/cgic) and they won't compile with g++ 3.3. So my questions are thus: Is it possible to get the source to g++ 2.95 and compile them somewhere nonstandard on my system? Will this cause any problems? Has anyone done this already and can offer me some tips? Rob
On Tue, 17 Jun 2003 15:15:09 -0500
"Rob Sell"
I am moving all of our stuff from an older internal webserver running 7.3 to a spanking new server running 8.2 but I have hit a snag... g++ 3.3 we have a lot of cgi's written using cgic from Thomas Boutell (http://boutell.com/cgic) and they won't compile with g++ 3.3.
So my questions are thus: Is it possible to get the source to g++ 2.95 and compile them somewhere nonstandard on my system? Will this cause any problems? Has anyone done this already and can offer me some tips?
You can install as many versions of the c compiler as you want, and put them wherever you want. You could install 2.95 into a users home directory if you wanted, and just let that user run it. It would go into /home/user/usr/local/bin and /home/user/usr/local/lib SuSE's compiler and libs go into /usr/bin and /usr/lib by default. If you get the 2.95 sources and compile them yourself, they will default into /usr/local/bin and /usr/local/lib. These will usually be found first in your $PATH. The respective compilers "know" where to find their own libs, by the configure options, so just specify your chosen location when you configure and compile. (As a last resort)....... Another option is just to bring the older compiled binaries to the new server, and see what libraries they complain about when you run them, then copy in the libs from the old machine too. -- use Perl; #powerful programmable prestidigitation
"Rob Sell"
we have a lot of cgi's written using cgic from Thomas Boutell (http://boutell.com/cgic) and they won't compile with g++ 3.3.
Please show an example of the error messages so that I might be able to help you. Philipp -- Philipp Thomas work: pthomas@suse.de SuSE Linux AG private: philipp.thomas@t-link.de
On Tue, 17 Jun 2003 15:15:09 -0500
"Rob Sell"
I am moving all of our stuff from an older internal webserver running 7.3 to a spanking new server running 8.2 but I have hit a snag... g++ 3.3 we have a lot of cgi's written using cgic from Thomas Boutell (http://boutell.com/cgic) and they won't compile with g++ 3.3.
So my questions are thus: Is it possible to get the source to g++ 2.95 and compile them somewhere nonstandard on my system? Will this cause any problems? Has anyone done this already and can offer me some tips? It is a bag of worms. Yes, you can put g++ 2.95 on, but remember, g++ is more than just a compiler. It includes libraries and header files. it is not what you really want to do unless you are a masochist. -- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
participants (4)
-
Jerry Feldman
-
Philipp Thomas
-
Rob Sell
-
zentara