Author Topic: rh9 build planeshift  (Read 520 times)

BillyAnachronism

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
rh9 build planeshift
« on: August 18, 2003, 10:22:16 am »
How do I check if the planeshift/src/client/ directory is compiled and how do I compile it
I ran the buildplaneshift.sh script and it created no errors, except at the end about MySql database. But when I run run.sh it says

./psclient: line 52: src/client/psclient: No such file or directory

Which is true, because it isnt there.. and in the directory /src/client/planeshift there are a whole lot of cpp\'s and headers..

admin              cmdusers.h   modehandler.cpp   psengine.cpp
authentclient.cpp  cmdutil.cpp  modehandler.h     psengine.h
authentclient.h    cmdutil.h    paws              psnetmanager.cpp
aws                cvs          pscelclient.cpp   psnetmanager.h
cmdadmin.cpp       gui          pscelclient.h     psversion.h
cmdadmin.h         iclient      psclientchar.cpp  rpgrules
cmdguilds.cpp      Jamfile      psclientchar.h    sound
cmdguilds.h        Makefile.am  psclientdr.cpp    zonehandler.cpp
cmdusers.cpp       Makefile.in  psclientdr.h      zonehandler.h

So does it mean that the directory has not been compiled? Is there a log of the process that I can check maybe?

Lukas

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Even worse with Suse linux
« Reply #1 on: August 18, 2003, 10:02:34 pm »
Even worse with Suse linux. Downloaded latest CVS, done step by step from Compilation.txt and during compilation of CS got this:

In file included from include/csutil/archive.h:24,
                 from libs/csutil/archive.cpp:29:
include/csutil/zip.h:28:18: zlib.h: No such file or directory
libs/csutil/archive.cpp: In member function `char* csArchive::ReadEntry(FILE*,
   csArchive::ArchiveEntry*)\':
libs/csutil/archive.cpp:334: `z_stream\' undeclared (first use this function)
libs/csutil/archive.cpp:334: (Each undeclared identifier is reported only once
   for each function it appears in.)
libs/csutil/archive.cpp:334: parse error before `;\' token
libs/csutil/archive.cpp:337: `zs\' undeclared (first use this function)
libs/csutil/archive.cpp:337: `z_Byte\' undeclared (first use this function)
libs/csutil/archive.cpp:337: parse error before `)\' token
libs/csutil/archive.cpp:339: `alloc_func\' undeclared (first use this function)
libs/csutil/archive.cpp:339: parse error before numeric constant
libs/csutil/archive.cpp:340: `free_func\' undeclared (first use this function)
libs/csutil/archive.cpp:340: parse error before numeric constant
libs/csutil/archive.cpp:343: `inflateInit2\' undeclared (first use this
   function)
libs/csutil/archive.cpp:344: `Z_OK\' undeclared (first use this function)
libs/csutil/archive.cpp:353: parse error before `)\' token
libs/csutil/archive.cpp:360: `Z_PARTIAL_FLUSH\' undeclared (first use this
   function)
libs/csutil/archive.cpp:360: `Z_FINISH\' undeclared (first use this function)
libs/csutil/archive.cpp:360: `inflate\' undeclared (first use this function)
libs/csutil/archive.cpp:363: `inflateEnd\' undeclared (first use this function)
libs/csutil/archive.cpp:368: `Z_STREAM_END\' undeclared (first use this
   function)
libs/csutil/archive.cpp:369: `Z_BUF_ERROR\' undeclared (first use this function)
libs/csutil/archive.cpp: In member function `bool
   csArchive::ArchiveEntry::WriteFile(FILE*)\':
libs/csutil/archive.cpp:962: parse error before `)\' token
libs/csutil/archive.cpp:983: parse error before `;\' token
libs/csutil/archive.cpp:985: parse error before numeric constant
libs/csutil/archive.cpp:986: parse error before numeric constant
libs/csutil/archive.cpp:987: parse error before `)\' token
libs/csutil/archive.cpp:989: `Z_DEFAULT_COMPRESSION\' undeclared (first use this
   function)
libs/csutil/archive.cpp:989: `deflateInit\' undeclared (first use this function)
libs/csutil/archive.cpp:999: parse error before `)\' token
libs/csutil/archive.cpp:1002: `deflate\' undeclared (first use this function)
libs/csutil/archive.cpp:1009: `deflateEnd\' undeclared (first use this function)
make[1]: *** [out/UNIX/X86/debug/archive.o] Error 1
make[1]: Target `bindoc\' not remade because of errors.
make: *** [bindoc] Error 2

Any chance of help ?

Lukas

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #2 on: August 18, 2003, 11:41:06 pm »
BillyAnachronism:
Hmm, can you try running jam again and see if it reports any build errors?
Specifically for the psclient. I\'ve built it many times on redhat9 but I really need to see some sort of error message to give any advice.


Lukas:
Seems like you are missing the zlib stuff for zipfile.  Not sure why though. Most of that is usually included by default in most linux distros.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"