Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


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

Posts: 5
Joined: Apr 2009
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #12
RE: Let's compile Penumbra [Linux, CMake, 64bit]
Looks like you are missing the devel or headers package.

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
05-15-2010 08:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Setlec Offline
Junior Member

Posts: 25
Joined: May 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
buba Offline
Junior Member

Posts: 3
Joined: May 2010
Reputation: 0
Post: #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 File(s)
.gz  polski.tar.gz (Size: 62.5 KB / Downloads: 8)
05-17-2010 12:35 PM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #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
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
05-17-2010 02:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
buba Offline
Junior Member

Posts: 3
Joined: May 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
wally Offline
Junior Member

Posts: 28
Joined: Mar 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
hicham Offline
Junior Member

Posts: 23
Joined: Aug 2010
Reputation: 0
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)