Author Topic: DEBIAN quick tips  (Read 573 times)

samu

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
DEBIAN quick tips
« on: July 07, 2003, 02:52:51 pm »
hi,
for the ones who use debian there\'s this quick HOWTO:

- DON\'T USE crystalspace from debian, it\'s the stable one and it\'s not working to compile you need first apt some packages:

 - install all this packages using the power of apt :
apt-get install gcc-2.95 g++-2.95 cpp-2.95 jam
libmysqlclient10 libmysqlclient10-dev cvs &&  apt-get build-dep crystalspace
(all in one line)

- append ALWAYS to ./configure command the following line  CC=gcc-2.95 CXX=g++-2.95  CPP=cpp-2.95 to enable the old gcc
  so it looks like ./configure CC=gcc-2.95 CXX=g++-2.95 CPP=cpp-2.95

  You have to do that because of that shitty gcc-3.x version which is slower, buggy and it has a lot of new features that don\'t allow to compile older version of C++ files ( f**k )

- use CVS version of crystalspace, cel and planeshift.
- update always the three cvs with   cvs -z3 update (if you have already do
the cvs -d:pserver.... login stuff)

- link arial.ttf from planetshift to crystalspace dir
e.g. ln -s /pathtoPlaneShiftdir/data/ttf/arial.ttf /pathtoCSdir/data/ttf/arial.ttf

set all the env as suggested in docs/Compiling.txt on planeshift dir .

i hope to had help someone ..
i tested it on a debian sid updated (the deb packages and the CVS apps) today  ( 07 Jul 2003 )  and it worked .



tangerine

  • Hydlaa Resident
  • *
  • Posts: 192
    • View Profile
(No subject)
« Reply #1 on: July 07, 2003, 08:58:21 pm »
Hmm, in my case it did not compile with gcc-2.95 but it did with gcc-3.2

Sharaz

  • Hydlaa Resident
  • *
  • Posts: 81
    • View Profile
(No subject)
« Reply #2 on: July 07, 2003, 10:17:34 pm »
jep, 3.2 worked best for me too.
The two most common things in the Universe are hydrogen and stupidity. Just look at the number of Windoze users ;)
     -- Harlan Ellison (Edited by me)

--->  Join the BISM  <---