Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem making "scons install" #183

Open
leillo1975 opened this issue Mar 8, 2021 · 6 comments
Open

Problem making "scons install" #183

leillo1975 opened this issue Mar 8, 2021 · 6 comments

Comments

@leillo1975
Copy link

Hello. I see you are making some changes on code. I tried to install the game after compilling with:

scons install prefix=/media/DATOS/VDRIFT

but when i exectute this command I have the following error:
Captura de pantalla de 2021-03-08 17-30-32

@logzero
Copy link
Member

logzero commented Mar 8, 2021

Something going on with the mo builder (gettext, msgfmt). I haven't looked into it. Help is appreciated.

@leillo1975
Copy link
Author

This error seems to be fixed, but now I found another one:
#184

@Snake266
Copy link

I have the same issue. Data is taken from https://svn.code.sf.net/p/vdrift/code/vdrift-data/,

mo_builder(["data/locale/hu_HU/LC_MESSAGES/vdrift.mo"], ["data/locale/hu_HU.po"])
scons: *** [data/locale/hu_HU/LC_MESSAGES/vdrift.mo] Error 127
scons: building terminated because of errors.

Do I need to generate locales to remove errors? If I delete Hungarian locale I will get error with next locale and so on.

@leillo1975
Copy link
Author

leillo1975 commented Mar 6, 2023

Today I tried to build again with scons and have the same error:

Install file: "data/tracks/zandvoort/objects/windc.bmp.png" as "/media/DATOS/VDRIFT/share/games/vdrift/data/tracks/zandvoort/objects/windc.bmp.png"
Install file: "data/tracks/zandvoort/objects/windtw.bmp.png" as "/media/DATOS/VDRIFT/share/games/vdrift/data/tracks/zandvoort/objects/windtw.bmp.png"
Install file: "data/tracks/zandvoort/objects/xrw1a.bmp.png" as "/media/DATOS/VDRIFT/share/games/vdrift/data/tracks/zandvoort/objects/xrw1a.bmp.png"
Install file: "data/tracks/zandvoort/objects/xrw1b.bmp.png" as "/media/DATOS/VDRIFT/share/games/vdrift/data/tracks/zandvoort/objects/xrw1b.bmp.png"
Install file: "data/tracks/zandvoort/roads.trk" as "/media/DATOS/VDRIFT/share/games/vdrift/data/tracks/zandvoort/roads.trk"
Install file: "data/tracks/zandvoort/surfaces.txt" as "/media/DATOS/VDRIFT/share/games/vdrift/data/tracks/zandvoort/surfaces.txt"
Install file: "data/tracks/zandvoort/track.txt" as "/media/DATOS/VDRIFT/share/games/vdrift/data/tracks/zandvoort/track.txt"
Install file: "data/tracks/zandvoort/trackshot.png" as "/media/DATOS/VDRIFT/share/games/vdrift/data/tracks/zandvoort/trackshot.png"
mo_builder(["data/locale/pl/LC_MESSAGES/vdrift.mo"], ["data/locale/pl.po"])
scons: *** [data/locale/pl/LC_MESSAGES/vdrift.mo] Error 127
scons: building terminated because of errors.

Is there another way to build Vdrift in Ubuntu without using scons?

@leillo1975
Copy link
Author

After a few months away, I tried to build the game again today and I still have the same problem. I use these commands to build:
scons arch=a64 release=1 extbullet=1 prefix=[route/of/installation]
scons install prefix=[route/of/installation]

@ChuckStarchaser
Copy link

ChuckStarchaser commented May 9, 2024

I'm having different problems with scons; first it wants every print statement to have parenthesis. After adding parenthesis to dozens of print's, another error occurs ... about a missing method ...

.......
$ scons arch=a64 release=1 extbullet=1 prefix=/usr/local
scons: Reading SConscript files ...
File "/home/danw58/Downloads/zip/vdrift/vdrift/SConstruct", line 235

print 'running ', cmd, ' ... '

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

$ scons arch=a64 release=1 extbullet=1 prefix=/usr/local
scons: Reading SConscript files ...
File "/home/danw58/Downloads/zip/vdrift/vdrift/SConstruct", line 365

print 'You do not have the %s headers installed. Exiting.' % header

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

$ scons arch=a64 release=1 extbullet=1 prefix=/usr/local
scons: Reading SConscript files ...
File "/home/danw58/Downloads/zip/vdrift/vdrift/SConstruct", line 369

print lib[3]

^^^^^^^^^^^^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

$ scons arch=a64 release=1 extbullet=1 prefix=/usr/local
scons: Reading SConscript files ...
AttributeError: '_Environ' object has no attribute 'has_key':
File "/home/danw58/Downloads/zip/vdrift/vdrift/SConstruct", line 144:
if os.environ.has_key('CXX'):
$ 

How does anybody manage to compile this? Or ... Does anybody?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants