Serebriakov / pink-pony

Automatically exported from code.google.com/p/pink-pony
0 stars 0 forks source link

Compilation failed on Linux #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download from http://aur.archlinux.org/packages.php?ID=28350
2. Launch the compilation.
3. Compilation failed.

What is the expected output? What do you see instead?
Compilation failed due to some syntax error in files

What version of the product are you using? On what operating system?
pink-pony 1.1 on Archlinux with the second script release (1.1-2)

Please provide any additional information below.

$ pink-pony
GLSL/heightmap.vert: Compilation failed.
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"
(0) : error C0501: type name expected at token "<null atom>"

GLSL/heightmap.frag: Compilation failed.
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"
(0) : error C0501: type name expected at token "<null atom>"

Linking failed.
Vertex info
-----------
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"
(0) : error C0501: type name expected at token "<null atom>"

Fragment info
-------------
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"
(0) : error C0501: type name expected at token "<null atom>"

GLSL/water.vert: Compilation failed.
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"
(0) : error C0501: type name expected at token "<null atom>"

GLSL/water.frag: Compilation failed.
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"
(0) : error C0501: type name expected at token "<null atom>"

Linking failed.
Vertex info
-----------
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"
(0) : error C0501: type name expected at token "<null atom>"

Fragment info
-------------
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"
(0) : error C0501: type name expected at token "<null atom>"

Loading file "levels/ring.png" Failed - Done: 1x1 pixels.
Loading file "textures/sand.png" Failed - Done: 1x1 pixels.
Loading file "textures/grass.png" Failed - Done: 1x1 pixels.
Loading file "textures/noise.png" Failed - Done: 1x1 pixels.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
/usr/bin/pink-pony: line 14: 31479 Avbrutt (SIGABRT) ./Pony
~/.config/pony.options

Original issue reported on code.google.com by darkbab...@gmail.com on 22 Jul 2009 at 4:03

GoogleCodeExporter commented 9 years ago
This looks like the game does not find the needed resource files.

Could you post your output of 'pacman -Ql pink-pony'?

Original comment by gin...@gmail.com on 22 Jul 2009 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by gin...@gmail.com on 22 Jul 2009 at 4:57

GoogleCodeExporter commented 9 years ago
Okay, I just checked your PKGBUILD.

'pacman -Ql pink-pony' gives the following output.

pink-pony /usr/
pink-pony /usr/bin/
pink-pony /usr/bin/pink-pony
pink-pony /usr/share/
pink-pony /usr/share/applications/
pink-pony /usr/share/applications/pink-pony.desktop
pink-pony /usr/share/pink-pony/
pink-pony /usr/share/pink-pony/Pony
pink-pony /usr/share/pink-pony/README
pink-pony /usr/share/pink-pony/pony.options
pink-pony /usr/share/pixmaps/
pink-pony /usr/share/pixmaps/pink-pony.png

Seems like the games' resource files are missing.

When building the package I found the following error messages:

install: omitting directory `levels'
install: omitting directory `models'
install: omitting directory `music'
install: omitting directory `textures'
install: omitting directory `GLSL'

This is probably the offending line in the PKGBUILD:

install -D -m 644 levels README models music textures GLSL 
$pkgdir/usr/share/$pkgname

Seems like install can't copy directories by default. I don't have much 
experience
with the install tool, but shouldn't directories need the eXecute flag set to be
accessible?
I would keep using cp -R for copying the resource files.

Original comment by gin...@gmail.com on 22 Jul 2009 at 6:29

GoogleCodeExporter commented 9 years ago
I fix the PKGBUILD by replacing install -D by cp -R
Thank you for your response.

Original comment by darkbab...@gmail.com on 22 Jul 2009 at 11:33