Poster | Thread |
xeron
| |
Compiling VICE on OS4 Posted on 31-Jan-2007 21:05:47
| | [ #1 ] |
|
|
|
Elite Member |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| Hi,
I'm trying to build VICE on OS4. VICE itself configures OK, but the resid part doesn't. The resid configure script bombs out with:
config.status: executing depfiles commands ./config.status[870]: cannot create ././.deps/envelope.Po: No such file or directory ./config.status[870]: cannot create ././.deps/extfilt.Po: No such file or directory ./config.status[870]: cannot create ././.deps/filter.Po: No such file or directory ./config.status[870]: cannot create ././.deps/pot.Po: No such file or directory ./config.status[870]: cannot create ././.deps/sid.Po: No such file or directory ./config.status[870]: cannot create ././.deps/version.Po: No such file or directory ./config.status[870]: cannot create ././.deps/voice.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave6581_PST.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave6581_PS_.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave6581_P_T.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave6581__ST.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave8580_PST.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave8580_PS_.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave8580_P_T.Po: No such file or directory ./config.status[870]: cannot create ././.deps/wave8580__ST.Po: No such file or directory
Now, i'm not too great at this automake/configure malarky so I have no idea where to start trying to fix this.
I basically took the source from viceteam.org, changed to the directory i unpacked it to, typed "sh", then "./configure".
I'm using the latest abc-shell, and core utils from os4depot.net.
Edit: The script managed to create the ".deps" directory, but theres nothing in it. Last edited by xeron on 31-Jan-2007 at 09:06 PM.
_________________ Playstation Network ID: xeron6 |
|
Status: Offline |
|
|
tonyw
| |
Re: Compiling VICE on OS4 Posted on 31-Jan-2007 22:13:17
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 8-Mar-2003 Posts: 3240
From: Sydney (of course) | | |
|
| @xeron
This is typical of the problems trying to port Loonix stuff. Did the configure recognise your system as "ppc-amigaos"?
It may help if you type "./ configure --build=ppc-amigaos".
Also, make sure that the "config.sub" file is up to date. The file should be the same for every Linux package (it's not tailored) and the version in your package might be out of date.
Shell (ABC-Shell) up to date? See OS4-Depot.
Other than that, you're reduced to getiing it to work line-by-line.
_________________ cheers tony
Hyperion Support Forum: http://forum.hyperion-entertainment.biz/index.php |
|
Status: Offline |
|
|
RacerX
| |
Re: Compiling VICE on OS4 Posted on 31-Jan-2007 22:20:47
| | [ #3 ] |
|
|
|
Super Member |
Joined: 21-Aug-2003 Posts: 1158
From: Parts Unknown, USA | | |
|
| Didn't someone else already get VICE running on OS4? _________________ 'unfixed' A1XE, 512mb RAM, plug-in USB card, Sil 0680 IDE card, Radeon 9250, built-in sound, OS4.1 update 5. |
|
Status: Offline |
|
|
Arnie
| |
Re: Compiling VICE on OS4 Posted on 31-Jan-2007 22:25:11
| | [ #4 ] |
|
|
|
Cult Member |
Joined: 19-Jun-2004 Posts: 824
From: Swindon, UK, Earth somewhere in the galaxy | | |
|
| @RacerX
Yes its available here |
|
Status: Offline |
|
|
spotUP
| |
Re: Compiling VICE on OS4 Posted on 31-Jan-2007 23:36:30
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 19-Aug-2003 Posts: 2896
From: Up Rough Demo Squad | | |
|
| @xeron
configure it with;
--disable-dependency-tracking
_________________ AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.
http://www.asciiarena.com http://www.uprough.net |
|
Status: Offline |
|
|
RacerX
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 1:09:31
| | [ #6 ] |
|
|
|
Super Member |
Joined: 21-Aug-2003 Posts: 1158
From: Parts Unknown, USA | | |
|
| @Arnie
Quote:
Arnie wrote: @RacerX
Yes its available here |
Yeah, that's it! Good 'ol AmiDog!
_________________ 'unfixed' A1XE, 512mb RAM, plug-in USB card, Sil 0680 IDE card, Radeon 9250, built-in sound, OS4.1 update 5. |
|
Status: Offline |
|
|
xeron
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 8:52:36
| | [ #7 ] |
|
|
|
Elite Member |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| @RacerX I'm aware there is already a port. I wish to improve it :)
@spotUP OK. I guess that means all the dependencies will be ignored, right? Mind you i'm not planning to improve reSID, so if I leave dependencies on for the rest of VICE it should be OK.
Thanks :)
@Arnie AmiDogs changes were merged into the official VICE codebase, so the latest version for AmigaOS is actually available from the VICE website.
Edit: I take that back, it seems AmiDog posted an update that I was unaware of :) Last edited by xeron on 01-Feb-2007 at 08:56 AM. Last edited by xeron on 01-Feb-2007 at 08:53 AM.
_________________ Playstation Network ID: xeron6 |
|
Status: Offline |
|
|
AmiDog
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 10:39:41
| | [ #8 ] |
|
|
|
Cult Member |
Joined: 1-Jun-2004 Posts: 917
From: Kumla, Sweden | | |
|
| @xeron
The version on the VICE website has a few GUI bugs, and since we didn't want to wait for the next official VICE version, the decision was made to make an update available from my website instead. (It's crosscompiled BTW.) |
|
Status: Offline |
|
|
xeron
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 11:23:46
| | [ #9 ] |
|
|
|
Elite Member |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| @AmiDog
Yeah, I noticed that. I'll grab your version. I guessed it was probably cross compiled, but if I'm going to work on VICE, i'd rather build it on AmigaOS. _________________ Playstation Network ID: xeron6 |
|
Status: Offline |
|
|
spotUP
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 11:55:31
| | [ #10 ] |
|
|
|
Elite Member |
Joined: 19-Aug-2003 Posts: 2896
From: Up Rough Demo Squad | | |
|
| @xeron
what are you planning to do? talk to blacky_stardust in #amigadev he knows every byte of vice, and he builds all amiga versions.
_________________ AOS4 Betatester, Peg2, G4@1ghz, Radeon 9250 256mb, 1gb RAM.
http://www.asciiarena.com http://www.uprough.net |
|
Status: Offline |
|
|
xeron
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 11:56:49
| | [ #11 ] |
|
|
|
Elite Member |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| @spotUP I'm not revealing that yet, since its quite ambitious and I don't want to get peoples hopes up. _________________ Playstation Network ID: xeron6 |
|
Status: Offline |
|
|
AmiDog
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 12:19:57
| | [ #12 ] |
|
|
|
Cult Member |
Joined: 1-Jun-2004 Posts: 917
From: Kumla, Sweden | | |
|
| @xeron
If you need som challenge, you might want to consider rewriting the inner core of VICE to allow emulation of the C128 2MHz mode or even the SuperCPU... |
|
Status: Offline |
|
|
xeron
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 12:23:12
| | [ #13 ] |
|
|
|
Elite Member |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| @AmiDog Well, I already have ideas for what I want to do. After that, we'll see. _________________ Playstation Network ID: xeron6 |
|
Status: Offline |
|
|
xeron
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 15:55:43
| | [ #14 ] |
|
|
|
Elite Member |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| OK, I got it to build on OS4. If anyone else wants to do the same, heres how:
1) Download and unarchive the latest sources from amidog.com 2) Download the following file vicestuff.lha. 3) Extract the above archive to a temporary place 4) Copy the "FixDeps" command somewhere you can call it easily 5) Check if "SDK:Include/Include_h/devices/timer.h" defines "TimeVal" or "timeval" (I don't know whats in the current public SDK), if its the former, copy the "VICE/src/arch/amigaos/#?" stuff from the "vicestuff.lha" into the same place in your VICE sources, otherwise, don't :) 5) Change to the VICE directory of the original download 6) Give yourself a lot of stack (i used 4000000), just to be sure 7) Type "sh" to start abc-shell 8) Type "./configure", and go and have a cup of tea. 9) When it bombs out because of resid, cd to "src/resid" 10) type "./configure --disable-dependency-tracking" 11) cd back to VICE/src 12) Type "make".
If you need to re-compile it at any point, go to "VICE/src" and run "FixDeps". GCC generates dependency files with Amiga style paths in, which don't work. FixDeps converts them to unix paths, and you can then build with dependency tracking on OS4 without problem.
Don't run "FixDeps" from "VICE", because there are some files that end in ".po" that are not dependency files, and fixdeps might break them. If you want to build in "VICE" rather than "VICE/src", do "fixdeps" in VICE/src, then cd to "VICE" and make. Doing a make in "VICE/src" does make all the "x#?" executables, though.
_________________ Playstation Network ID: xeron6 |
|
Status: Offline |
|
|
xeron
| |
Re: Compiling VICE on OS4 Posted on 1-Feb-2007 15:59:26
| | [ #15 ] |
|
|
|
Elite Member |
Joined: 22-Jun-2003 Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe | | |
|
| OK, now that I have it building, I have another question... where can I get automake for OS4?
I want to add another component to VICE which will require new makefiles and stuff, so I need to modify the configure script and create some "Makefile.am" files, then run automake and reconfigure it again. _________________ Playstation Network ID: xeron6 |
|
Status: Offline |
|
|
blackystardust
| |
Re: Compiling VICE on OS4 Posted on 4-Feb-2007 17:38:58
| | [ #16 ] |
|
|
|
Member |
Joined: 22-May-2006 Posts: 10
From: Unknown | | |
|
| @xeron
I don't have OS4 nor a machine that can run it, so I never realized there were problems building VICE on OS4.
With your permission I would like to make your fix part of the official VICE (giving you the credit for it naturally).
I'm always very interested in any improvements and/or new developments for VICE.
I'll be (and usually am) on #amigadev as Blacky_Stardust.
|
|
Status: Offline |
|
|