Author Topic: Compiling MB in Cygwin  (Read 708 times)

Nielkie

  • Traveller
  • *
  • Posts: 21
    • View Profile
Compiling MB in Cygwin
« on: September 21, 2004, 03:02:11 am »
Dose anybody know how to compile the MB Source in Cygwin? any different commands I have to use?

Also I\'m on 56k so I would appreciate it if you can tell me what packages I should download so it will save me alot of time.

Thank\'s in advance

Nielkie
« Last Edit: September 21, 2004, 03:10:13 am by Nielkie »

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #1 on: September 22, 2004, 12:41:48 am »
Why you want to do this I don\'t know but its your choice.  In my limited experience with Cygwin, I would say just follow the instructions for installing it on linux and then report back on any errors you can\'t understand or fix although a lot of these will be dependency issues.

-Zorium
I reserve the right to be wrong.

Nielkie

  • Traveller
  • *
  • Posts: 21
    • View Profile
(No subject)
« Reply #2 on: September 22, 2004, 02:07:19 am »
I don\'t really know why I am doing it, I probably just want something to do.... or download :-P


ok, I will now be downloading all the packages.
« Last Edit: September 22, 2004, 02:12:04 am by Nielkie »

Nielkie

  • Traveller
  • *
  • Posts: 21
    • View Profile
(No subject)
« Reply #3 on: September 22, 2004, 06:06:01 am »
I have gotton the compilers and it needs some program so it will reconise the jam command. I realised I needed

libogg
libcurl
automake
libtool
jam-2.5rc1

I have got jam but i cant seam to compile it from cygwin, any help?
« Last Edit: September 22, 2004, 07:01:12 am by Nielkie »

Zorium

  • Hydlaa Citizen
  • *
  • Posts: 224
    • View Profile
(No subject)
« Reply #4 on: September 22, 2004, 12:03:34 pm »
Make sure that the Jam you downloaded is the proper Jam.  I remeber a while ago that some people managed to download a different Jam and this one doesn\'t do what is needed to install PS.  So try and find out which Jam you have.

-Zorium
I reserve the right to be wrong.

Nielkie

  • Traveller
  • *
  • Posts: 21
    • View Profile
(No subject)
« Reply #5 on: September 22, 2004, 01:32:08 pm »
I got the one that was linked from http://www16.brinkster.com/acraig/planeshift/buildmb.html

it tells you to compile it with the make command but that dose not work in cygwin. Do I have to download any specific package for that to work?
« Last Edit: September 22, 2004, 02:00:22 pm by Nielkie »

Nielkie

  • Traveller
  • *
  • Posts: 21
    • View Profile
(No subject)
« Reply #6 on: September 23, 2004, 03:42:19 am »
I have gotton make to work by downloading the \"make\" utility but when I try to compile libogg or jam with it, it dose not work.

I have tryed to compile CS with make but it gets heaps of errors.

And idear how to get jam working?
« Last Edit: September 23, 2004, 03:50:33 am by Nielkie »

josephoenix

  • IRC Op
  • Hydlaa Notable
  • **
  • Posts: 706
    • View Profile
(No subject)
« Reply #7 on: September 24, 2004, 01:31:28 am »
make should be a package, and when in doubt just install evertything in the development section of the cygwin installer.

CS does not like make, btw

you should use make to make jam then copy jam (or jam.exe, not sure what it\'s called) from a folder that will be called something like bin.unknownx86 (or maybe bin.. I haven\'t used cygwin in a while for building jam) to your CS folder

make sure you run ./configure-jam while building CS

libogg I think might be in the package repository somewheres.

josePhoenix
Sir John Falstaff: "Let the skie raine Potatoes: let it thunder, to the tune of Greenesleeues"

Nielkie

  • Traveller
  • *
  • Posts: 21
    • View Profile
(No subject)
« Reply #8 on: September 24, 2004, 02:08:43 am »
Make was a package that was in the cygwin installer thingy (to be specific it was make-3.80-1.tar.bz2). Libogg is not in the package thing anywhere.

I cant seam to compile jam. Do I run the com file or do the make thingy? (btw the com thing don\'t work) I\'ll try the make tingy now and show you what happens.



Ill see now what happens if I download everything in the development section.
« Last Edit: September 24, 2004, 02:09:54 am by Nielkie »

CadRipper

  • Hydlaa Citizen
  • *
  • Posts: 487
  • merry troublemaker
    • View Profile
(No subject)
« Reply #9 on: September 24, 2004, 05:54:48 pm »
Wow, compiling PS in Cygwin, now that is an interesting challenge!  ;)

First, I\'d advise you not to get the sources from CVS, they are not up to date. You will have problems with the /spawn command, and get strange messages on the console. Instead, download the sources from the Planeshift main site: http://www.planeshift.it/download_source.html

Yacc is a parser generator, it creates the .c sources from a grammatical description (.y files usually). You should install it from the Cygwin setup, category \"Devel\", \"bison\" (there is also a \"byacc\", you could try this one if the other doesn\'t work).

Please tell me if you succeed, it would be interesting to know.

Nielkie

  • Traveller
  • *
  • Posts: 21
    • View Profile
(No subject)
« Reply #10 on: September 25, 2004, 04:01:13 am »
I did get it from the link you said.  It was planeshift-0.2.010FullSourceAndArt.tar.gz that  got.

I sucsesfully compiled jam and put the stuff in the bin directory (I think thats is what I was ment to do)

I tryed compiling it with the build.sh file but it gets up to where it checks for jam, it passes that then it says no such file or directory to
data/jamfile
plugins/cddaver/jamfile
apps/jamfile

. then there is a load of errors.

the same thing happens when I try to compile only CS.

Any help, I think I have to put jam\'s files in diffrent directorys. Ill also try to get some more libs and stuff