Author Topic: How's the PS Linux Source Package coming along?  (Read 1510 times)

Sharaz

  • Hydlaa Resident
  • *
  • Posts: 81
    • View Profile
(No subject)
« Reply #15 on: May 01, 2003, 07:09:48 pm »
Ok, this is what goes wrong:

Flex plugins/aws/skinlex.cpp
flex: fatal internal error, bad line in skeleton file

    flex -S./mk/support/flex.skl -t  plugins/aws/skinlex.ll > plugins/aws/skinlex.cpp
 
...failed Flex plugins/aws/skinlex.cpp ...
...removing plugins/aws/skinlex.cpp
...skipped skinlex.o for lack of skinlex.cpp...
Bison plugins/aws/skinpars.cpp
plugins/aws/skinpars.yy:61.8-12: type redeclaration for window_item

    bison -d -p aws -o plugins/aws/skinpars.cpp plugins/aws/skinpars.yy
 
...failed Bison plugins/aws/skinpars.cpp ...
...skipped skinpars.o for lack of skinpars.cpp...
...skipped aws.so for lack of skinlex.o...
...failed updating 2 target(s)...
...skipped 3 target(s)...

Hope you can give me some tips. I\'ll come by in IRC as well if I have the chance.
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  <---

Fextina

  • Traveller
  • *
  • Posts: 27
    • View Profile
(No subject)
« Reply #16 on: May 02, 2003, 02:21:47 pm »
Ok, I had the same problems as Sharaz

What I did was to edit skinpars.yy and remove the extra item

it should become

%type      skin_item window_item component_item connection_item


(window_item) was repeated twice there.

After that, I recompiled and I got PS to work for the first time in quite a while!

I also did somehting else but don\'e exactly remember it, it was related to skinpars.cpp required (but only skinpars.hpp was available) I guess.

Sharaz

  • Hydlaa Resident
  • *
  • Posts: 81
    • View Profile
(No subject)
« Reply #17 on: May 02, 2003, 02:25:18 pm »
I fixed the first part with the help of Atanor last night. But if you could remember what you did to fix the second problem I\'d be very grateful. That\'s the one that\'s stopping me from playing PS.
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  <---

Fextina

  • Traveller
  • *
  • Posts: 27
    • View Profile
(No subject)
« Reply #18 on: May 03, 2003, 06:40:36 am »
Well, why didn\'t you ask Atanor to solve the 2nd problem then? :)

I\'ll try to rebuild it again and see what I did.

montypythonite

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #19 on: June 24, 2003, 10:22:25 am »
This problem is apparently caused by missing a file (CS/plugins/aws/skinlex.cpp).  I was able to fix the problem by downloading the missing file from CrystalSpace\'s CVS.
Here is a link to the missing file on the SourceForge Web frontend:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/crystal/CS/plugins/aws/skinlex.cpp

Click \"(download)\" and save the link to disk in the appropriate directory.  As of today, the newest version on the CVS is the same  version that should have been included in the tarball from PS.

It still isn\'t working for me, but the buck has been passed (I think it may just be a question of libraries installed/header files, but it may be impossible to get it to work on my install due to some dependency issues with sarge that have been around for over a month now but no one seems to care)
« Last Edit: June 24, 2003, 10:22:51 am by montypythonite »

Sharaz

  • Hydlaa Resident
  • *
  • Posts: 81
    • View Profile
(No subject)
« Reply #20 on: June 24, 2003, 01:02:10 pm »
I\'ve finally managed to get PS to work under Debian SID, here\'s what I did:
I followed acraig\'s guide to building PS from CVS for Linux, with the following extra\'s:

1) Use flex-old and bison 1.35 (as entioned in the guide)
2) Compile using gcc/g++ 3.2, you can do this by adding CC=gcc-3.2 CXX=g++-3.2 CPP=cpp-3.2 to each configure you have to do.

That works for me, hope it works for you 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  <---

angmar

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #21 on: July 06, 2003, 04:54:45 am »
I have a Debian Sid box and a did all the step of the site:

http://www16.brinkster.com/acraig/planeshift/buildmb.html

The CS and cel compiled very nice.

But, when I compile the planeshift package from CVS I got:

...failed updating 56 target(s)...
...skipped 11 target(s)...

and

ldd psclient-bin
./psclient-bin: /lib/libpthread.so.0: version `GLIBC_2.3.2\' not found (required by ./psclient-bin)
 libdl.so.2 => /lib/libdl.so.2 (0x40024000)
  libnsl.so.1 => /lib/libnsl.so.1 (0x40027000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x4003a000)
    libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40089000)
  libm.so.6 => /lib/libm.so.6 (0x40135000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40156000)
    libc.so.6 => /lib/libc.so.6 (0x4015e000)
    /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)