Ubuntu install tutorial

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Ubuntu install tutorial

Postby marty1982 » Tue Mar 09, 2021 6:00 am

Hi all !
I want to be a Model 3 part of the family and i need a good Ubuntu 2020 tutorial so i can install model 3.

Is there any good guide?.

Thanks a lot to this great community!.
marty1982
 
Posts: 1
Joined: Tue Mar 09, 2021 5:42 am

Re: Ubuntu install tutorial

Postby rokfpoewrkcpoqwkcp » Mon Mar 15, 2021 3:09 pm

Read down from here,
http://www.supermodel3.com/Forum/viewtopic.php?f=7&t=311#p17244

You'll want these too if not already installed,

sudo apt install build-essential
sudo apt install make
rokfpoewrkcpoqwkcp
 
Posts: 119
Joined: Mon Nov 18, 2019 3:40 pm

Re: Ubuntu install tutorial

Postby new_holmes » Sat Mar 27, 2021 5:10 am

I tried the described procedure on my system (Kubuntu 20.10 64bits) and got this:

dominique@HP-Pavilion-15:~/model3emu-code$ make
Generating dependencies: Src/CPU/PowerPC/PPCDisasm.cpp -> obj/PPCDisasm.d
Compiling : Src/CPU/PowerPC/PPCDisasm.cpp -> obj/PPCDisasm.o
cc1plus: internal compiler error: Erreur de segmentation
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make: *** [Makefiles/Rules.inc:278 : obj/PPCDisasm.o] Erreur 1



Any idea?
new_holmes
 
Posts: 13
Joined: Fri Jul 24, 2020 12:59 am

Re: Ubuntu install tutorial

Postby TheOldDragon » Sat Mar 27, 2021 6:57 am

new_holmes wrote:I tried the described procedure on my system (Kubuntu 20.10 64bits) and got this:

<snip>

Any idea?


I'm guessing it's an issue with your complier installation..

I just tried [SVN r858] on a brand new Ubuntu 20.10 installation* - same instructions as linked above - and had no issues [just did a quick trial with Scud Race]...
[*I installed Ubuntu, did the usual apt update / upgrade steps, then installed build-essentials and the other dependencies listed].

What do you get when you run:
cc --version
c++ --version
g++ --version

For all, I get
cc [or /c++/g++] (Ubuntu 10.2.0-13ubuntu1) 10.2.0
TheOldDragon
 
Posts: 62
Joined: Sat May 30, 2020 5:39 am

Re: Ubuntu install tutorial

Postby new_holmes » Sat Mar 27, 2021 7:20 am

There is indeed most certainly a problem with the compilers installation. I tried on another Linux computer and everything went smoothly.
On the problematic computer, the results of your tests are:

dominique@HP-Pavilion-15:~/model3emu-code$ cc --version
cc (Ubuntu 10.2.0-13ubuntu1) 10.2.0
c++ (Ubuntu 10.2.0-13ubuntu1) 10.2.0
g++--version : commande introuvable


I made a reinstall of the build-essential package. Now g++ is OK:
g++ --version
g++ (Ubuntu 10.2.0-13ubuntu1) 10.2.0

However I still get the segmentation fault. This computer got a RAM error a few months ago. I had to remove one of the memory module. I did not reinstall the system.
Could something be corrupted? Could it be there is not enough memory now (4 Gb now)?
new_holmes
 
Posts: 13
Joined: Fri Jul 24, 2020 12:59 am

Re: Ubuntu install tutorial

Postby rokfpoewrkcpoqwkcp » Sat Mar 27, 2021 9:58 am

did you do
Code: Select all
make clean

before a new
Code: Select all
make
rokfpoewrkcpoqwkcp
 
Posts: 119
Joined: Mon Nov 18, 2019 3:40 pm

Re: Ubuntu install tutorial

Postby new_holmes » Sat Mar 27, 2021 10:05 am

No, but I just tried.
Same result.
new_holmes
 
Posts: 13
Joined: Fri Jul 24, 2020 12:59 am

Re: Ubuntu install tutorial

Postby rokfpoewrkcpoqwkcp » Sat Mar 27, 2021 4:07 pm

You're missing this part ?

Kubuntu.png
Kubuntu.png (64.67 KiB) Viewed 352 times


It's not creating the output directories ?
rokfpoewrkcpoqwkcp
 
Posts: 119
Joined: Mon Nov 18, 2019 3:40 pm

Re: Ubuntu install tutorial

Postby Bart » Sat Mar 27, 2021 9:37 pm

I haven't tried building under Linux in years but I think you should specify the UNIX Makefile explicitly:

Code: Select all
make -f Makefiles/Makefile.UNIX
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Ubuntu install tutorial

Postby new_holmes » Sun Mar 28, 2021 12:27 am

I removed the whole directory and retried.
Yes, output directories are created:

dominique@HP-Pavilion-15:~/model3emu-code$ make -f Makefiles/Makefile.UNIX
Creating directory : bin
Creating directory : obj
Generating dependencies: Src/CPU/PowerPC/PPCDisasm.cpp -> obj/PPCDisasm.d
Compiling : Src/CPU/PowerPC/PPCDisasm.cpp -> obj/PPCDisasm.o
cc1plus: internal compiler error: Erreur de segmentation
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
make: *** [Makefiles/Rules.inc:278 : obj/PPCDisasm.o] Erreur 1
new_holmes
 
Posts: 13
Joined: Fri Jul 24, 2020 12:59 am

Next

Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 0 guests