You are not logged in.

#1 2014-02-15 20:15:23

exitee
Member
Registered: 2014-01-18
Posts: 16

[SOLVED] Visual novels and renpy

Hi, i have an issue:
i can't start visual novels, except katawa shoujo (downloaded from the website and from the AUR, both work).
For example, if i download "junipersknot" from the aur, or if i download it from the official website, i can't start it in any way.
During the installation from the aur of junipersknot, renpy had me some errors, so i downloaded "renpy-allinone", can this had influenced something?

Last edited by exitee (2014-02-23 14:50:02)

Offline

#2 2014-02-15 20:24:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Visual novels and renpy

Post the errors you're getting, renpy errors etc.
Tell us how are you trying to run junipersknot.

Post in the comments on https://aur.archlinux.org/packages/junipersknot/ , maybe some other junipersknot user will be able to help you.

Offline

#3 2014-02-15 20:34:43

exitee
Member
Registered: 2014-01-18
Posts: 16

Re: [SOLVED] Visual novels and renpy

http://i.imgur.com/NRZaPU5.png the error

If you don't understand pizza- ehm, italian it means:
"ERROR: An error occurred in build().
The operation is going to be stopped...
ERROR: Makepkg couldn't compile python-renpy."

I'll post something in the comments, thanks!

Offline

#4 2014-02-15 20:35:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Visual novels and renpy

You can run

LC_ALL=C <command>

to get the output in English.

Offline

#5 2014-02-15 20:40:00

exitee
Member
Registered: 2014-01-18
Posts: 16

Re: [SOLVED] Visual novels and renpy

Offline

#6 2014-02-15 20:53:55

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Visual novels and renpy

I'm guessing that you need to install the base-devel group.

Offline

#7 2014-02-15 20:55:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Visual novels and renpy

Make sure you have base-devel group installed https://wiki.archlinux.org/index.php/AUR#Prerequisites

Offline

#8 2014-02-15 21:02:13

exitee
Member
Registered: 2014-01-18
Posts: 16

Re: [SOLVED] Visual novels and renpy

Yes, base-devel is installed, this is not the first time i download from the AUR.
Anyway i'm trying to download the tarballs and install everything manually, can something change?

Offline

#9 2014-02-15 21:04:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Visual novels and renpy

$ pkgfile glib.h
core/glib2
extra/glib

I assumed these packages belong to base-devel group, but they don't. Maybe try installing them.

Offline

#10 2014-02-15 21:10:44

exitee
Member
Registered: 2014-01-18
Posts: 16

Re: [SOLVED] Visual novels and renpy

I've just installed glib2 and glib, but i'm still having the same error. Any idea?

Offline

#11 2014-02-15 21:13:47

progandy
Member
Registered: 2012-05-17
Posts: 5,306

Re: [SOLVED] Visual novels and renpy


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#12 2014-02-15 21:38:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Visual novels and renpy

Even with the suggested workaround I can't build python-renpy:

building 'renpy.text.ftfont' extension
gcc -pthread -DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -fPIC -I. -I/usr/include -I/usr/include/SDL -I/usr/include/python2.7 -c gen/renpy.text.ftfont.c -o build/temp.linux-i686-2.7/gen/renpy.text.ftfont.o -Wno-unused-function
In file included from gen/renpy.text.ftfont.c:237:0:
./pyfreetype.h:1:22: fatal error: ft2build.h: No such file or directory
 #include <ft2build.h>
                      ^
compilation terminated.
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().
    Aborting...
$ ls /usr/include/freetype2/ft2build.h
/usr/include/freetype2/ft2build.h

Offline

#13 2014-02-15 21:50:48

progandy
Member
Registered: 2012-05-17
Posts: 5,306

Re: [SOLVED] Visual novels and renpy

There is already a modification of CFLAGS in place. just extend it.

export CFLAGS="$CFLAGS -Os -I/usr/include/freetype2 $(pkg-config --cflags fribidi)"

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#14 2014-02-15 22:02:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Visual novels and renpy

Thanks, that worked. I somehow missed that CFLAGS modification and added another export that overwrote the one for freetype2.

Offline

#15 2014-02-15 22:32:20

exitee
Member
Registered: 2014-01-18
Posts: 16

Re: [SOLVED] Visual novels and renpy

Excuse me for my stupidity, but what should i do? I mean, which commands, exactly? Thanks

Offline

#16 2014-02-15 22:34:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Visual novels and renpy

Edit python-renpy PKGBUKILD and change the line that starts with 'export CFLAGS' to

export CFLAGS="$CFLAGS -Os -I/usr/include/freetype2 $(pkg-config --cflags fribidi)"

Offline

#17 2014-02-15 22:57:11

exitee
Member
Registered: 2014-01-18
Posts: 16

Re: [SOLVED] Visual novels and renpy

Thanks! Now everything works well, thank you all.

Offline

#18 2014-02-16 00:48:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Visual novels and renpy

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#19 2014-02-16 01:03:32

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: [SOLVED] Visual novels and renpy

Related, please stop posting error output as screenshots. That is just awful. Use a paste-client like ix or sprunge to post the output if it is really long. Or, it if is fairly concise, post it directly here in code tags, like so:

I'm in a code block!

All the best,

-HG

Last edited by HalosGhost (2014-02-16 01:04:03)

Offline

Board footer

Powered by FluxBB