Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Let's compile Penumbra [Linux, CMake, 64bit]
qubodup Offline
Junior Member

Posts: 5
Threads: 2
Joined: Apr 2009
Reputation: 0
#11
RE: Let's compile Penumbra [Linux, CMake, 64bit]

/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
I do have lib32-gcc-libs 4.5.0 installed... in http://pastie.org/961839

/opt/ probably is the problem..

I'm on Arch Linux 64bit btw.
05-15-2010, 07:44 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#12
RE: Let's compile Penumbra [Linux, CMake, 64bit]

Looks like you are missing the devel or headers package.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
05-15-2010, 08:13 PM
Website Find
Setlec Offline
Junior Member

Posts: 25
Threads: 3
Joined: May 2010
Reputation: 0
#13
RE: Let's compile Penumbra [Linux, CMake, 64bit]

yeah, he is missing the devel package... he has only the library installed.
05-16-2010, 08:06 AM
Find
buba Offline
Junior Member

Posts: 3
Threads: 0
Joined: May 2010
Reputation: 0
#14
RE: Let's compile Penumbra [Linux, CMake, 64bit]

I'm not sure if it's right topic to post but I'll try. I compiled Penumbra Overture on my Debian Squeeze amd64 (testing) and I noticed weird crashes.
I copied polish language file (only one file!) from my box version to version bought in Wolfire Humble. After replacing that file, game crashes in the beginning of each level. I also tried to put linux binary file into box version of the game and it also causes crash. It all works fine when I change language to English.
Binary from Wolfire causes exactly the same crashes.
Log doesn't show anything (it's the same as in English version) but when I run it from console it prints:
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::resize
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal errorSegmentation fault
I've done some testing when I change diacritics to Latin letters game won't crashed.
So there's my question: how can I compile Penumbra with debug options to show more information about crash?
Sorry for my English. I hope you'll understand me.
// edit:
I found freeware Polish translation in the Internet which also causes to crash (it's in attachement). If you want to try this just copy into game directory, change language and try to play.


Attached Files
.gz   polski.tar.gz (Size: 62.5 KB / Downloads: 136)
05-17-2010, 12:35 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#15
RE: Let's compile Penumbra [Linux, CMake, 64bit]

There are several posts about that crash. And I believe I even added entries in the TODO files about those. It has to do with saving a file with emphasis characters in the name. Search the forums for that length_error.

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
05-17-2010, 02:08 PM
Website Find
buba Offline
Junior Member

Posts: 3
Threads: 0
Joined: May 2010
Reputation: 0
#16
RE: Let's compile Penumbra [Linux, CMake, 64bit]

(05-17-2010, 02:08 PM)Urkle Wrote: There are several posts about that crash. And I believe I even added entries in the TODO files about those. It has to do with saving a file with emphasis characters in the name. Search the forums for that length_error.

Omg. Thanks for reply. I wasn't aware of it is related to this bug. Thank you very much!

(this workaround works)
05-17-2010, 03:56 PM
Find
wally Offline
Junior Member

Posts: 28
Threads: 2
Joined: Mar 2010
Reputation: 0
#17
RE: Let's compile Penumbra [Linux, CMake, 64bit]

(05-15-2010, 07:44 PM)qubodup Wrote:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
I do have lib32-gcc-libs 4.5.0 installed... in http://pastie.org/961839

/opt/ probably is the problem..

I'm on Arch Linux 64bit btw.

I am in the same boat, I seemed to fix it by installing this package:
http://supradigital.org/lib32-glibc-mult...pkg.tar.gz
(Extracting it to /, anyway, which probably isn't the best solution, but whatever.)
05-18-2010, 06:27 PM
Find
hicham Offline
Junior Member

Posts: 23
Threads: 1
Joined: Aug 2010
Reputation: 0
#18
RE: Let's compile Penumbra [Linux, CMake, 64bit]

I guess this is not an issue since the newton2 port works, and newton2 provides both 32 and 64 libs.
08-19-2010, 02:47 AM
Find




Users browsing this thread: 1 Guest(s)